Debian 10.7 Standard -Live
- First we’ll create the required directories:
mkdir -p /images/os/debian/10.7L
mkdir -p /tftpboot/debian/10.7L
# for FOG Server with Redhat based OS
mkdir -p /var/www/html/os/debian/10.7L
# for FOG Server with Debian based OS
mkdir -p /var/www/os/debian/10.7L
- Now we’ll mount the Debian live DVD over the loop directory. Then we’ll copy the contents of the DVD to the directory we built above.
I need to explain something here. The iso below is the "standard" version which is the debian console version. If you want to live boot into the debian XWindows interface you will need to download the ISO that contains your desired XWindows manager like Mate, XFCE, KDE, Gnome, etc The instructions are the same for all ISO, just the size if the initrd and squashfs will change
mount -o loop -t iso9660 /{full path where you have the iso stored}/debian-live-10.7.0-amd64-standard.iso /mnt/loop
cp -R /mnt/loop/* /images/os/debian/10.7L
umount /mnt/loop
- Finally we’ll copy the pxe boot kernel and intfs to the tftpboot directory.
cp /images/os/debian/10.7L/live/vmlinuz-4.19.0-13-amd64 /tftpboot/debian/10.7L/vmlinuz
cp /images/os/debian/10.7L/live/initrd.img-4.19.0-13-amd64 /tftpboot/debian/10.7L/initrd
# for FOG Server with RedHat based OS
cp /images/os/debian/10.7L/live/filesystem.squashfs /var/www/html/os/debian/10.7L
# for FOG Server with Debian based OS
cp /images/os/debian/10.7L/live/filesystem.squashfs /var/www/os/debian/10.7L
- The last bit of magic we need to do is setup a new FOG iPXE boot menu entry for this OS.
- In the fog WebGUI go to FOG Configuration->iPXE New Menu Entry
Set the following fields
Menu Item: os.Debian.10.7L
Description: Debian 10.7 Live
Parameters:
kernel tftp://${fog-ip}/debian/10.7L/vmlinuz
initrd tftp://${fog-ip}/debian/10.7L/initrd
imgargs vmlinuz initrd=initrd boot=live components fetch=http://${fog-ip}/os/debian/10.7L/filesystem.squashfs
boot || goto MENU
Menu Show with: All Hosts - That’s it, just pxe boot your target system and pick
Debian 10.7 Live
from the FOG iPXE boot menu.