putting ks.cfg into initrd.img

Shabazian, Chip chip.shabazian at bankofamerica.com
Wed Oct 28 15:30:34 UTC 2009


There are instructions on how to embed the ks.cfg in the Linuxworld
presentation I did a few years ago:
http://www.shabazian.com/lw2007.pdf

-----Original Message-----
From: kickstart-list-bounces at redhat.com
[mailto:kickstart-list-bounces at redhat.com] On Behalf Of Peter Scheie
Sent: Wednesday, October 28, 2009 7:40 AM
To: Discussion list about Kickstart
Subject: putting ks.cfg into initrd.img

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 at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list