Basic steps to create a basic custom
RedHat "Install CD" from an existing RedHat install:
1. Create a cdimage directory:
mkdir
/var/bootcd/cdimage
2. Mount and copy the RedHat CD1 contents into the CD image
directory.
3. Edit the /isolinux/isolinux.cfg file, add the bold changes below.
default ks
prompt 1
timeout 10
display boot.msg
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
F5 rescue.msg
F7 snake.msg
label linux
kernel vmlinuz
append initrd=initrd.img
label text
kernel vmlinuz
append initrd=initrd.img text
label expert
kernel vmlinuz
append expert initrd=initrd.img
label ks
kernel vmlinuz
append ks=nfs:<nfs server
IP>:<nfs path to...>/ks.cfg initrd=initrd.img
label lowres
kernel vmlinuz
append initrd=initrd.img lowres
The
label ks parameter supports http, nfs, floppy, cdrom and pretty much all /dev
devices. See RedHat kickstart docs for specifics.
Note: The kickstart location
must be good. By hardcoding it's location, this "Install CD" will
always look in the defined location.
4. Create an ISO using mkisofs, or other comparable iso creation
tool. (note the below is all 1 line)
mkisofs -o ../installcd.iso -V 'AppCD' -b isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -V -T
.
5. The "Install CD" iso is now ready to be burnt, mounted
or virtually used by a VM. When booted in the appliance, the loader will
initiate the ks.cfg install within 10 milliseconds.
-----Original Message-----
From:
kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Brian Zuromski
Sent: November 19, 2004 10:33 AM
To: kickstart-list@xxxxxxxxxx
Subject: kickstart
Hello,
Can someone layout the steps for creating a kickstart iso from scratch for
RHES3.
Thanks,