Re: how do I detect the HDD's on the system?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pablo Iranzo Gómez wrote:
	Rudi, 

El lun, 03-03-2008 a las 13:03 +0200, Rudi Ahlers escribió:
  
# Determine how many number/type/size of drives we have
set $(list-harddrives)
let numd=$#/2 # This will provide the total # of drives
d1=$1 # This is the device of disk 1
d2=$3 # This is the device of disk 2, etc.
d3=$5
d4=$7
d5=%9
    

Check this "%"


  
12:20:49 INFO    : Running kickstart %%pre script(s)
12:21:00 ERROR   : Error code 127 encountered running a kickstart %pre/%post script
12:21:00 INFO    : All kickstart %%pre script(s) have been run
    

Anaconda complains about an error running script, so check above comment


Regards
Pablo
  

_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list
oops :)

I fixed it, but still no luck. Here's the current output files.

-- 

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg
part pv.01 --size=1 --grow --fstype=ext3 --ondisk=hdb volgroup volgrp01 pv.01 
part pv.02 --size=1 --grow --fstype=ext3 --ondisk=sda volgroup volgrp02 pv.02 #HOWEVER_YOU_WANT_TO_PARTITION 
16:50:59 INFO    : 2051624 kB are available
16:50:59 INFO    : modules to insert cramfs fat vfat sunrpc lockd fscache nfs_acl nfs loop isofs floppy edd pcspkr squashfs
16:50:59 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:50:59 INFO    : loaded cramfs from /modules/modules.cgz
16:50:59 INFO    : loaded fat from /modules/modules.cgz
16:50:59 INFO    : loaded vfat from /modules/modules.cgz
16:50:59 INFO    : loaded sunrpc from /modules/modules.cgz
16:50:59 INFO    : loaded lockd from /modules/modules.cgz
16:50:59 INFO    : loaded fscache from /modules/modules.cgz
16:50:59 INFO    : loaded nfs_acl from /modules/modules.cgz
16:50:59 INFO    : loaded nfs from /modules/modules.cgz
16:50:59 INFO    : loaded loop from /modules/modules.cgz
16:50:59 INFO    : loaded floppy from /modules/modules.cgz
16:50:59 INFO    : loaded edd from /modules/modules.cgz
16:50:59 INFO    : loaded pcspkr from /modules/modules.cgz
16:50:59 INFO    : loaded squashfs from /modules/modules.cgz
16:50:59 DEBUG   : module(s) isofs not found
16:50:59 INFO    : inserted /tmp/cramfs.ko
16:50:59 INFO    : inserted /tmp/fat.ko
16:50:59 INFO    : inserted /tmp/vfat.ko
16:50:59 INFO    : inserted /tmp/sunrpc.ko
16:50:59 INFO    : inserted /tmp/lockd.ko
16:50:59 INFO    : inserted /tmp/fscache.ko
16:50:59 INFO    : inserted /tmp/nfs_acl.ko
16:50:59 INFO    : inserted /tmp/nfs.ko
16:50:59 INFO    : inserted /tmp/loop.ko
16:51:02 WARNING : failed to insert module (19)
16:51:02 ERROR   : failed to insert /tmp/floppy.ko
16:51:02 INFO    : inserted /tmp/edd.ko
16:51:02 INFO    : inserted /tmp/pcspkr.ko
16:51:02 INFO    : inserted /tmp/squashfs.ko
16:51:02 INFO    : load module set done
16:51:02 INFO    : modules to insert ipv6
16:51:02 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:02 INFO    : loaded ipv6 from /modules/modules.cgz
16:51:02 INFO    : inserted /tmp/ipv6.ko
16:51:02 INFO    : load module set done
16:51:02 INFO    : modules to insert cdrom ide-cd
16:51:02 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:02 INFO    : loaded cdrom from /modules/modules.cgz
16:51:02 INFO    : loaded ide-cd from /modules/modules.cgz
16:51:02 INFO    : inserted /tmp/cdrom.ko
16:51:02 INFO    : inserted /tmp/ide-cd.ko
16:51:02 INFO    : load module set done
16:51:02 INFO    : modules to insert scsi_mod sd_mod sr_mod
16:51:02 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:03 INFO    : loaded scsi_mod from /modules/modules.cgz
16:51:03 INFO    : loaded sd_mod from /modules/modules.cgz
16:51:03 INFO    : loaded sr_mod from /modules/modules.cgz
16:51:03 INFO    : inserted /tmp/scsi_mod.ko
16:51:03 INFO    : inserted /tmp/sd_mod.ko
16:51:03 INFO    : inserted /tmp/sr_mod.ko
16:51:03 INFO    : load module set done
16:51:03 INFO    : modules to insert scsi_transport_iscsi libiscsi iscsi_tcp
16:51:03 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:03 INFO    : loaded scsi_transport_iscsi from /modules/modules.cgz
16:51:03 INFO    : loaded libiscsi from /modules/modules.cgz
16:51:03 INFO    : loaded iscsi_tcp from /modules/modules.cgz
16:51:03 INFO    : inserted /tmp/scsi_transport_iscsi.ko
16:51:03 INFO    : inserted /tmp/libiscsi.ko
16:51:03 INFO    : inserted /tmp/iscsi_tcp.ko
16:51:03 INFO    : load module set done
16:51:03 INFO    : looking for usb controllers
16:51:03 INFO    : found USB controller ehci-hcd
16:51:03 INFO    : modules to insert ehci-hcd
16:51:03 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:03 INFO    : loaded ehci-hcd from /modules/modules.cgz
16:51:03 INFO    : inserted /tmp/ehci-hcd.ko
16:51:03 INFO    : load module set done
16:51:03 INFO    : found USB controller uhci-hcd
16:51:03 INFO    : modules to insert uhci-hcd
16:51:03 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:03 INFO    : loaded uhci-hcd from /modules/modules.cgz
16:51:04 INFO    : inserted /tmp/uhci-hcd.ko
16:51:04 INFO    : load module set done
16:51:04 INFO    : found USB controller uhci-hcd
16:51:04 INFO    : modules to insert
16:51:04 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:04 INFO    : load module set done
16:51:04 INFO    : found USB controller uhci-hcd
16:51:04 INFO    : modules to insert
16:51:04 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:04 INFO    : load module set done
16:51:04 INFO    : found USB controller uhci-hcd
16:51:04 INFO    : modules to insert
16:51:04 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:04 INFO    : load module set done
16:51:04 DEBUG   : waiting for usb to become stable...
16:51:08 DEBUG   : 4 seconds.
16:51:08 INFO    : modules to insert hid keybdev
16:51:08 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:08 DEBUG   : module(s) hid keybdev not found
16:51:08 INFO    : load module set done
16:51:09 INFO    : no firewire controller found
16:51:09 DEBUG   : no pcic controller found
16:51:09 DEBUG   : probing buses
16:51:09 DEBUG   : finished bus probing
16:51:09 DEBUG   : ignoring driverless device Intel Corporation Unknown device 27da
16:51:09 DEBUG   : ignoring driverless device Intel Corporation Unknown device 27b8
16:51:09 DEBUG   : ignoring driverless device Intel Corporation Unknown device 244e
16:51:09 DEBUG   : ignoring driverless device Intel Corporation Unknown device 2770
16:51:09 DEBUG   : ignoring driverless device Realtek Semiconductor Co., Ltd. Unknown device 8167
16:51:09 DEBUG   : ignoring driverless device Intel Corporation Unknown device 27d8
16:51:09 DEBUG   : ignoring driverless device Intel Corporation 82945G/GZ Integrated Graphics Controller
16:51:09 INFO    : modules to insert r8169 libata ata_piix
16:51:09 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:09 INFO    : loaded r8169 from /modules/modules.cgz
16:51:09 INFO    : loaded libata from /modules/modules.cgz
16:51:09 INFO    : loaded ata_piix from /modules/modules.cgz
16:51:09 INFO    : inserted /tmp/r8169.ko
16:51:09 INFO    : inserted /tmp/libata.ko
16:51:10 INFO    : inserted /tmp/ata_piix.ko
16:51:10 INFO    : load module set done
16:51:10 INFO    : getting kickstart file
16:51:10 INFO    : getting kickstart file from first CDROM
16:51:10 INFO    : getFileFromBlockDevice(hda, /ks.cfg)
16:51:11 INFO    : Searching for file on path /tmp/mnt//ks.cfg
16:51:11 INFO    : file copied to /tmp/ks.cfg
16:51:11 INFO    : setting up kickstart
16:51:11 INFO    : kickstartFromCD
16:51:27 DEBUG   : going to set language to en_US.UTF-8
16:51:27 INFO    : setting language to en_US.UTF-8
16:51:27 INFO    : starting to STEP_URL
16:51:27 INFO    : trying to mount CD device hda
16:51:27 INFO    : mntloop loop0 on /mnt/runtime as /mnt/source/images/stage2.img fd is 10
16:51:31 INFO    : got url cdrom://hda:/mnt/source
16:51:31 INFO    : Loading SELinux policy
16:51:45 INFO    : getting ready to spawn shell now
16:51:45 INFO    : modules to insert
16:51:45 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:45 INFO    : load module set done
16:51:45 INFO    : modules to insert
16:51:45 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:45 INFO    : load module set done
16:51:45 INFO    : modules to insert
16:51:45 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:45 INFO    : load module set done
16:51:45 DEBUG   : probing buses
16:51:46 DEBUG   : finished bus probing
16:51:46 DEBUG   : ignoring driverless device Intel Corporation 82801G (ICH7 Family) SMBus Controller
16:51:46 DEBUG   : ignoring driverless device Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge
16:51:46 DEBUG   : ignoring driverless device Intel Corporation 82801 PCI Bridge
16:51:46 DEBUG   : ignoring driverless device Intel Corporation 82945G/GZ/P/PL Memory Controller Hub
16:51:46 DEBUG   : ignoring driverless device Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet
16:51:46 DEBUG   : ignoring driverless device Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller
16:51:46 DEBUG   : ignoring driverless device Intel Corporation 82945G/GZ Integrated Graphics Controller
16:51:46 INFO    : modules to insert
16:51:46 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:46 INFO    : load module set done
16:51:46 INFO    : modules to insert md raid0 raid1 raid5 raid6 xor raid456 msdos jbd ext3 gfs2 lock_nolock reiserfs jfs xfs dm-mod dm-zero dm-mirror dm-snapshot dm-multipath dm-round-robin dm-emc
16:51:46 DEBUG   : getModuleLocation: 2.6.18-53.el5/x86_64
16:51:46 INFO    : loaded raid0 from /modules/modules.cgz
16:51:46 INFO    : loaded raid1 from /modules/modules.cgz
16:51:46 INFO    : loaded xor from /modules/modules.cgz
16:51:46 INFO    : loaded raid456 from /modules/modules.cgz
16:51:46 INFO    : loaded msdos from /modules/modules.cgz
16:51:46 INFO    : loaded jbd from /modules/modules.cgz
16:51:46 INFO    : loaded ext3 from /modules/modules.cgz
16:51:46 INFO    : loaded gfs2 from /modules/modules.cgz
16:51:46 INFO    : loaded lock_nolock from /modules/modules.cgz
16:51:46 INFO    : loaded dm-mod from /modules/modules.cgz
16:51:46 INFO    : loaded dm-zero from /modules/modules.cgz
16:51:46 INFO    : loaded dm-mirror from /modules/modules.cgz
16:51:46 INFO    : loaded dm-snapshot from /modules/modules.cgz
16:51:46 INFO    : loaded dm-multipath from /modules/modules.cgz
16:51:46 INFO    : loaded dm-round-robin from /modules/modules.cgz
16:51:46 INFO    : loaded dm-emc from /modules/modules.cgz
16:51:46 DEBUG   : module(s) md raid5 raid6 reiserfs jfs xfs not found
16:51:46 INFO    : inserted /tmp/raid0.ko
16:51:46 INFO    : inserted /tmp/raid1.ko
16:51:46 INFO    : inserted /tmp/xor.ko
16:51:46 INFO    : inserted /tmp/raid456.ko
16:51:46 INFO    : inserted /tmp/msdos.ko
16:51:46 INFO    : inserted /tmp/jbd.ko
16:51:46 INFO    : inserted /tmp/ext3.ko
16:51:46 INFO    : inserted /tmp/gfs2.ko
16:51:46 INFO    : inserted /tmp/lock_nolock.ko
16:51:46 INFO    : inserted /tmp/dm-mod.ko
16:51:46 INFO    : inserted /tmp/dm-zero.ko
16:51:46 INFO    : inserted /tmp/dm-mirror.ko
16:51:46 INFO    : inserted /tmp/dm-snapshot.ko
16:51:46 INFO    : inserted /tmp/dm-multipath.ko
16:51:46 INFO    : inserted /tmp/dm-round-robin.ko
16:51:46 INFO    : inserted /tmp/dm-emc.ko
16:51:46 INFO    : load module set done
16:51:46 INFO    : looking for USB mouse...
16:51:46 INFO    : Running anaconda script /usr/bin/anaconda
16:51:57 INFO    : using only installclass CentOS Linux
16:51:57 INFO    : using only installclass CentOS Linux
16:51:58 INFO    : Display mode = g
16:51:58 INFO    : Method = cdrom://hda:/mnt/source
16:52:06 WARNING : no floppy devices found but we'll try fd0 anyway
16:52:17 INFO    : Started mini-wm
16:52:17 INFO    : Starting graphical installation...
16:52:20 DEBUG   : starting mpaths
16:52:20 DEBUG   : self.driveList(): ['sdb', 'hdb', 'sda']
16:52:20 DEBUG   : DiskSet.skippedDisks: []
16:52:20 DEBUG   : DiskSet.skippedDisks: []
16:52:20 DEBUG   : done starting mpaths.  Drivelist: ['sdb', 'hdb', 'sda']
16:52:20 DEBUG   : starting dmraids
16:52:20 DEBUG   : self.driveList(): ['sdb', 'hdb', 'sda']
16:52:20 DEBUG   : DiskSet.skippedDisks: []
16:52:20 DEBUG   : DiskSet.skippedDisks: []
16:52:20 DEBUG   : starting all dmraids on drives ['sdb', 'hdb', 'sda']
16:52:20 DEBUG   : scanning for dmraid on drives ['sdb', 'hdb', 'sda']
16:52:20 DEBUG   : done starting dmraids.  Drivelist: ['sdb', 'hdb', 'sda']
16:52:20 INFO    : Running kickstart %%pre script(s)
16:52:32 INFO    : All kickstart %%pre script(s) have been run
16:52:32 WARNING : step installtype does not exist
16:52:32 WARNING : step complete does not exist
16:52:32 WARNING : step complete does not exist
16:52:32 WARNING : step complete does not exist
16:52:33 INFO    : moving (1) to step regkey
16:52:33 INFO    : moving (1) to step partitionobjinit
16:52:33 INFO    : no initiator set
16:52:33 INFO    : no /tmp/fcpconfig; not configuring zfcp
16:52:33 DEBUG   : adding drive sdb to disk list
16:52:33 DEBUG   : adding drive hdb to disk list
16:52:33 DEBUG   : adding drive sda to disk list
16:52:35 INFO    : moving (1) to step parttype
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux