I really miss the old simple pxelinux menu and the ability to easily boot livecds using memdisk iso raw. It was a really simple way to have a an easily managed menu of bootable utility cds that boot directly into the live environment through tftp. If I wanted to upgrade a live version, all I had to do was replace the iso file. It just worked to boot livecds on every machine I have.
Upgraded to 1.2 with ipxe and maintaining a boot menu with the advanced menu became a lot more complicated. Trying to use memdisk iso raw with clonezilla livecd doesn’t work anymore because it can’t find the filesystem.squashfs. I had to extract the files from the livecd and use the following advanced boot menu code:
:CLONEZILLA
kernel [url]http://${fog-ip}/fog/iso/clonezilla/vmlinuz[/url]
initrd [url]http://${fog-ip}/fog/iso/clonezilla/initrd.img[/url]
imgargs vmlinuz boot=live config noswap nolocales edd=on nomodeset ocs_live_run=“ocs-live-general” ocs_live_extra_param=“” ocs_live_keymap=“” ocs_live_batch=“no” ocs_daemonon=“ssh” usercrypted=Kb/VNchPYhuf6 ocs_lang=“” vga=788 nosplash noprompt fetch=[url]http://${fog-ip}/fog/iso/clonezilla/filesystem.squashfs[/url]
boot ||
The above boots a working clonezilla, though not identical to the livecd. This does not seem an improvement over the simple livecd booting method under the old pxelinux menu:
LABEL clonezilla
MENU LABEL Clonezilla Live
LINUX clonezilla/memdisk
APPEND iso initrd=/clonezilla/clonezilla.iso raw
I’m finding the new ipxe boot menu means extracting files and updating a custom set of imgargs for every livecd. I’m no linux expert and I’m finding the correct imgargs to work with ipxe a challenge and testing a largely trial and error exercise for each livecd.
I wonder if there is a way to boot pxelinux from ipxe so that the old menu system could be used?