Jimmy's weblog

4/22/2016

Booting Grml via iPXE

Filed under: — jimmy @ 12:39 am

iPXE is a network boot firmware that allows you to boot ISO images over http. It’s actually part of the Grml ISO and you can find it under Addons in the boot menu. Alternatively you can download it from the iPXE website. All you need is an ISO image and the memdisk binary stored on a webserver. The ISO image needs to support the memdiskfind approach, more details can be found on the syslinux website. Grml supported it for a while, unfortunately it was broken in the last stable release but it’s working in the daily built images again.
To boot over http you need to run iPXE and press Ctrl-B after an IP address was assigned. This will give you a shell where you need to type in the following commands:

initrd http://download.grml.org/devel/grml64-small_20160415_netboot_xyz.iso
chain http://download.grml.org/devel/memdisk iso

The first one will download the ISO and the next one will download memdisk and chainboot the ISO, which is the daily build of Grml-small on the 15th of April. There’s also another ISO if you prefer Grml-full:

initrd http://download.grml.org/devel/grml64-full_20160415_netboot_xyz.iso
chain http://download.grml.org/devel/memdisk iso

If you want to boot newer daily builds, just replace the first line with the correct URL.

There’s also an easier way using iPXE menus and it only requires one command instead of two:

chain http://download.grml.org/devel/menu.ipxe

This will present you a menu where you can choose which flavor to boot.
The file menu.ipxe contains:

#!ipxe
set menu-default small

:start
menu iPXE boot menu for Grml
item --key f full    Boot Grml Full
item --key s small   Boot Grml Small

choose --default ${menu-default} selected
goto ${selected}

:full
echo Booting Grml Full over http
initrd http://download.grml.org/devel/grml64-full_20160415_netboot_xyz.iso
chain http://download.grml.org/devel/memdisk iso

:small
echo Booting Grml Small over http
initrd http://download.grml.org/devel/grml64-small_20160415_netboot_xyz.iso
chain http://download.grml.org/devel/memdisk iso

If you want to test this on your own webserver just copy your choice of ISOs, the memdisk binary and the file menu.ipxe to the root directory.

3/15/2011

Grazer Linuxtage 2011

Filed under: — jimmy @ 5:28 pm

Hope to see you there :-)


Grazer Linuxtage 2011

4/23/2010

Linuxtage 2010

Filed under: — jimmy @ 8:18 am

Only one day left. I’ll be there at the grml-booth, which is a must see, again. See you there :-)


Grazer Linuxtage 2010