RE: putting ks.cfg into initrd.img

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

 



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@xxxxxxxxxx
[mailto:kickstart-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

_______________________________________________
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