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.
First make a directory to work in.
mkdir 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.
mkdir boot.mnt
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.
Bus 3, device 2, function 0:
This is the line I added to the pcitable.
0x8086 0x1013 "e1000" "Intel Corp.|CUSTOM Gigabit Ethernet Controller
(Copper)"Building a new CD iso image
cd bootcd
You should be able to find the files you need
here.
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 ..
Ethernet controller: PCI device 8086:1013 (Intel Corp.) (rev
0).
IRQ 29.
Master Capable. Latency=64. Min Gnt=255.
Non-prefetchable 32 bit memory at 0xfe8e0000 [0xfe8fffff].
I/O at 0xc800 [0xc83f].
Bus 3, device 1, function 0:
Ethernet controller: PCI device 8086:1013 (Intel Corp.) (rev
0).
IRQ 28.
Master Capable. Latency=64. Min Gnt=255.
Non-prefetchable 32 bit memory at 0xfe8c0000 [0xfe8dffff].
Non-prefetchable 32 bit memory at 0xfe8a0000 [0xfe8bffff].
I/O at 0xc400 [0xc43f].