Re: not quite happy with RH9 kickstart

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

 



Philip Rowlands wrote:
On Wed, 23 Apr 2003, Taylor, ForrestX wrote:


Read the RELEASE-NOTES on the CD.  You should just rebuild the boot.iso
to include your kickstart parameters and use a CD instead of a floppy.


That's not quite documented in RELEASE-NOTES :)

LOL, no no quite ;o)


The scripts to build boot.iso are contained in the anaconda-runtime
packages. I've never tried this, so I can't offer exact steps, but at a
guess:

- Install the kernel-BOOT and anaconda-runtime packages
- Edit mk-images.i386 to include your kickstart file on the CD, if
needed
- Edit mk-images.i386 to alter isolinux.cfg to include your exact
kickstart kernel parameters
- Run mk-images with the right arguments (Perhaps someone @redhat.com
could give an example)

The exact commands to create the boot.iso from mk-images.i386:

# now make a boot iso
mkdir -p $TOPDESTPATH/images/isopath
cp -rl $TOPDESTPATH/isolinux $TOPDESTPATH/images/isopath

mkisofs -o $TOPDESTPATH/images/boot.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -V -T $TOPDESTPATH/images/isopath

rm -rf $TOPDESTPATH/images/isopath

(The mkisofs command is all on one line)

So, just copy the isolinux directory somewhere, edit isolinux.cfg, and add your ks.cfg file:

cp -a /where/ever/isolinux /isolinux

Edit isolinux.cfg and change the ks line to something like this:

default ks

label ks
  kernel vmlinuz
  append ks=cdrom:/isolinux/ks.cfg initrd=initrd.img


Drop your ks.cfg file in /isolinux, and run mkisofs:

mkisofs -o /boot.iso -b isolinux/isolinux.bin -c isolinux/boot.cat\
 -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -V -T\
 /isolinux/

Voila!  You have a new boot.iso with kickstart.

Forrest
--





[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