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
mkdir -p /var/www/html/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.
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
cp /images/os/debian/10.7L/live/filesystem.squashfs /var/www/html/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 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.