putting ks.cfg into initrd.img

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

 



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

_______________________________________________
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