Include SystemRescueCD
rescue CD will boot from the fog pxe menu without too much trouble. This distro has forensic tools for disaster recovery and is small enough to boot quickly. System rescue CD is based on linux.
System Rescue CD Files
Download system rescue CD 3.3.0 from http://www.sysresccd.org/Download and loopback mounted it.
cd /tmp mkdir sysrescueCD mount -o loop -t iso9660 systemrescuecd-x86-3.3.0.iso /tmp/sysrescueCD
On the fog server I created /tftpboot/sysrescue and /images/sysrescue
mkdir /tftpboot/sysrescue mkdir /images/sysrescue
Copy the necessary kernel and ramdisk into place.
cp /tmp/sysrescueCD/isolinux/initram.igz /tftpboot/sysrescue cp /tmp/sysrescueCD/isolinux/rescue32 /tftpboot/sysrescue cp /tmp/sysrescueCD/isolinux/rescue64 /tftpboot/sysrescue
Next copy the sysrcd.dat and sysrcd.md5 files into place
cp /tmp/sysrescueCD/sysrcd.md5 /images/sysrescue cp /tmp/sysrescueCD/sysrcd.dat /images/sysrescue
Ensure that the new nfs directory will be exported by adding the following line to /etc/exports
/images/sysrescue *(ro,insecure)
And export it
exportfs -va
FOG Menu Items
The fog menu system can be adjusted manually by editing the file /tftpboot/pxelinux.cfg/default but changes to that file will not be respected when you update fog or if you change one of the PXE configuration settings in the FOG frontend. Instead we can use the frontend to make a persistent change.
-> Other Information -> PXE Boot Menu -> Advanced Settings Add any custom text... LABEL System Rescue CD "Live Image" LINUX sysrescue/rescue32 INITRD sysrescue/initram.igz APPEND scandelay=1 docache netboot=nfs://<IP ADDRESS OF YOUR FOG SERVER>:/images/sysrescue setkmap=us TEXT SystemRescueCD network boot image (recovery) ENDTEXT LABEL System Rescue CD "Live Image" 64 bit LINUX sysrescue/rescue64 INITRD sysrescue/initram.igz APPEND scandelay=1 docache netboot=nfs://<IP ADDRESS OF YOUR FOG SERVER>:/images/sysrescue setkmap=us TEXT SystemRescueCD network boot image (recovery) 64 bit ENDTEXT
When you boot the client you should now be able to see an entry for System Rescue CD "Live Image" which will boot SystemRescueCD with networking (and allow you to start X11 if you wish).
Remember to umount the loopback image from the fog server when you are done
sudo umount /tmp/sysrescue