Burning a CD and cloning
Building a new iso image

Burning a CD and cloning


Go the
Medusa CVS webpage and download the iso image for the server you want to clone. The image is called servername.iso and is in the top directory for the server.

cdrecord dev=0,0 speed=24 servername.iso

Boot the master off of the CD. After it is finished eject the CD and hit yes to reboot the server. One the first boot you sould answer yes to the setup and migrate networking.

After the master node boots run the postinstall (/root/post_install/postinstall.sh) and follow the instructions.

Building a new CD iso image


First make a directory to work in.

mkdir bootcd
cd bootcd

Copy all the needed files to bootcd directory. This would include e1000-rh9.o, isolinux-servername.cfg, stock_boot.iso, and pcitable.e1000-rh9.
You should be able to find the files you need
here.

mkdir boot.mnt
mkdir initrd.mnt
mount -o loop stock_boot.iso boot.mnt/
cp -a boot.mnt/ boot.rw
umount boot.mnt/
cp boot.rw/isolinux/initrd.img initrd.img.gz
gunzip initrd.img.gz
mount -o loop initrd.img initrd.mnt/
cp pcitable.e1000-rh9 initrd.mnt/modules/pcitable
zcat initrd.mnt/modules/modules.cgz | cpio -vid
cp e1000-rh9.o 2.4.20-8BOOT/e1000.o
find 2.4.20-8BOOT/ | cpio -o -H crc | gzip -9nc >initrd.mnt/modules/modules.cgz
dd if=/dev/zero of=initrd.mnt/fill
rm initrd.mnt/fill
umount initrd.mnt/
gzip -9 initrd.img
cp isolinux-servername.cfg boot.rw/isolinux/isolinux.cfg
cp initrd.img.gz boot.rw/isolinux/initrd.img
cd boot.rw
mkisofs -o ../servername.iso -V 'RH9 Install' -b isolinux/isolinux.bin \
-c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \
-R -J -V -T .
cd ..

The file servername.iso is the new CD image that you just created. Goto Burning a CD and cloning section to see what to do next.

Below I give some information on how the custom files were made.