Kickstart via ks=hd not working

Phil Oester kernel at linuxace.com
Wed Dec 17 18:40:41 UTC 2008


When using ks=hd: on the command line, I get an error that the ks.cfg
file can't be found, but if I hit enter on the same path, it works the
second time.  It seems to be due to the scsi drives not yet being ready
when kickstart first looks for the file.

>From the logs:

17:03:35 DEBUG   : probing buses
17:03:35 DEBUG   : waiting for hardware to initialize
17:03:37 INFO    : getting kickstart file
17:03:37 INFO    : getting kickstart file from harddrive
17:03:37 INFO    : Loading ks from device sda1 on path /ks/ks.cfg
17:03:37 INFO    : getFileFromBlockDevice(sda1, /ks/ks.cfg)
17:03:37 ERROR   : failed to mount /dev/sda1: No such file or directory
<hit enter here, then it succeeds>
17:05:56 INFO    : getting kickstart file from harddrive
17:05:56 INFO    : Loading ks from device sda1 on path /ks/ks.cfg
17:05:56 INFO    : getFileFromBlockDevice(sda1, /ks/ks.cfg)
17:05:56 INFO    : Searching for file on path /tmp/mnt//ks/ks.cfg
17:05:56 INFO    : file copied to /tmp/ks.cfg

Any ideas?  Some need for scsi_wait_scan here perhaps?

Phil




More information about the Kickstart-list mailing list