Creating boot disk and cloning
Building a new boot floppy image

Creating boot disk and cloning


Go the
Medusa CVS webpage and download the floppy image for the server you want to clone. The image is called bootnet-something.img and is in the top directory for the server.

dd if=bootnet.img of=/dev/fd0

Boot the master off of the floppy with eth0 on the external network.

You will have to select the correct network driver (e1000) if asked.

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

Building a new boot floppy image


mkdir bootdisk
cd bootdisk

Copy all the needed files to bootdisk directory. This would include bootnet.img syslinux.cfg, pcitable, module-info and modules.
You should be able to find the files you need
here.

mkdir bootnet
mkdir initrd
mount -o loop bootnet.img bootnet
cp syslinux.cfg bootnet/syslinux.cfg
cp bootnet/initrd.img initrd.img.gz
gunzip initrd.img.gz
mount -o loop initrd.img initrd
cd initrd/modules
zcat modules.cgz | cpio -vid
cd 2.4.18-3BOOT/

You may remove any unnessary modules at this point if space is needed then

rm 3c59x.o eepro100.o tulip.o 8139too.o
cp ../../../module.o .
cd ..
find ./2.4.18-3BOOT/ | cpio -o -H crc | gzip -9nc >modules.cgz
rm -rf 2.4.18-3BOOT/
cp ../../module-info .
cp ../../pcitable .
cd ../..
dd if=/dev/zero of=initrd/fill
rm initrd/fill
umount initrd/
gzip -9 initrd.img
ls -lh initrd.img.gz
cp initrd.img.gz bootnet/initrd.img
umount bootnet/

The file bootnet.img is the new floppy image that you just created. Goto Creating boot disk and cloning section to see what to do next.

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