Can multiple kickstart files be added to cdrom

Shabazian, Chip Chip.Shabazian at bankofamerica.com
Fri Feb 10 18:24:03 UTC 2006


I embed multiple ks files in the initrd then use ks=file:filename.cfg

This is a simple script I use to copy all of the files in my configs
folder into the initrd:

mv initrd.img initrd.img.gz
gunzip initrd.img.gz
mount -o loop initrd.img /mnt/init/
cp --reply=yes configs/* /mnt/init/
umount /mnt/init/
gzip initrd.img
mv initrd.img.gz initrd.img

I then make a new .iso image like thus:
mkisofs -o boot.iso -b isolinux.bin -c boot.cat -no-emul-boot
-boot-load-size 4 -boot-info-table -R -J -v -T isolinux/

and you are off and running.

In our environment, the files MUST be embedded in the initrd due to the
use of virtual media (.iso images mapped over the network), we can't
simply drop them onto the CD and access them.

Chip

-----Original Message-----
From: kickstart-list-bounces at redhat.com
[mailto:kickstart-list-bounces at redhat.com] On Behalf Of
dadembro at rockwellcollins.com
Sent: Friday, February 10, 2006 10:17 AM
To: kickstart-list at redhat.com
Subject: Can multiple kickstart files be added to cdrom

Can I install linux from cdrom and specify the file name to use.

I have been using something like the following boot command with an
external usb zip drive.

      linux ks=hd:sda4/my_ks.cfg

I know about the linux ks=cdrom command, but it does not look like I can
include a file name.
Some instructions I have been referring to indicate it has to be named
ks.cfg

Thanks,
---d.dembrow

_______________________________________________
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