export TFTP_FOLDER=/srv/tftp/bios
cd $TFTP_FOLDER
mkdir grml
cd grml
wget -O /tmp/grml.iso https://download.grml.org/grml64-small_2020.06.iso
# extract iso
mount -o loop /tmp/grml.iso /mnt
# extract files from the iso
cp /mnt/boot/grml64small/{vmlinuz,initrd.img} $TFTP_FOLDER/grml
cp /mnt/live/grml64-small/grml64-small.squashfs $TFTP_FOLDER/grml
Then, add the following text to pxelinux.cfg/default
:
label grml
menu label ^ Grml 2020.06
kernel grml/vmlinuz
append initrd=grml/initrd.img boot=live fetch=tftp://10.10.2.1/bios/grml/grml64-small.squashfs