I'm trying to create a SL303 install CD that will automatically do
something like "linux ks=http://noc/ks.cfg" at the initial "boot:"
prompt... here's my naive recipe...
# mount and clone the disc1...
mkdir /tmp/sl303.OLD /tmp/sl303.NEW
mount -o loop SL.303.093004.i386.disc1.iso /tmp/sl303.OLD
cd /tmp/sl303.OLD
tar -cf - . | (cd /tmp/sl303.NEW; tar -xpf -)
# change the isolinux.cfg...
vi /tmp/sl303.NEW/isolinux/isolinux.cfg
# ...add "ks=http://noc/ks.cfg" to the default (linux label) append line...
# make the iso...
VERSION=303.093004
BOOTIMG=isolinux/isolinux.bin
BOOTCAT=isolinux/boot.cat
BOOTOPTS="-no-emul-boot -boot-load-size 4 -boot-info-table"
DEST=UW-HEP.SL.$VERSION.i386.disc1.iso
mkisofs \
-A "$VERSION DISC1" -V "$VERSION" -R -l -v -J \
-x lost+found -c $BOOTCAT $BOOTOPTS \
-b $BOOTIMG -o $DEST sl303.NEW
...but the resulting CD does not boot! I'm executing mkisofs the
same was as the build script. [1] Where am I going wrong??
steve
- - -
systems & network guy
high energy physics
university of wisconsin
[1] ftp://ftp.scientificlinux.org/linux/scientific/303/i386/SL/build/scripts/buildisoimages/subscripts/mkisoimage.disc1.sh