putting ks.cfg into initrd.img

Peter Scheie peter.scheie at visionshareinc.com
Wed Oct 28 14:40:08 UTC 2009


I'm trying to put my kickstart file into the initrd.img file with the intent of 
putting 'ks=file:/ks.cfg' in my isolinux.cfg file, for custom centos 5 
installation.  I did this to get the kickstart into initrd.img:

gunzip < isolinux/initrd.img > initrd.raw
ls ks.cfg | cpio –oAO initrd.raw –H newc
gzip –c initrd.raw > initrd.img

Then I copied the new initrd.img file to my flash drive, replacing the one in 
the isolinux/ directory.  At the boot prompt, I set ks=file:/ks.cfg, but while 
it starts to boot, I get a dialog box saying the /ks.cfg file could not be 
found.  Any suggestions as to what I'm doing wrong?

Peter




More information about the Kickstart-list mailing list