Skip to content

Instantly share code, notes, and snippets.

@luclu7
Created March 26, 2021 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luclu7/f7e6f3d424766042ac7625f9d342b591 to your computer and use it in GitHub Desktop.
Save luclu7/f7e6f3d424766042ac7625f9d342b591 to your computer and use it in GitHub Desktop.

How to configure GRML for PXE without NFS

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment