Skip to content

Instantly share code, notes, and snippets.

@bluebat
Created October 20, 2016 07:55
Show Gist options
  • Save bluebat/2b0d99052f482e0e643ce24b273a3298 to your computer and use it in GitHub Desktop.
Save bluebat/2b0d99052f482e0e643ce24b273a3298 to your computer and use it in GitHub Desktop.
Menu script for iPXE
#!ipxe
menu Selection
item liveins-freedos-1.0 FreeDOS 1.0 (ro)
item livesys-fdos-1.1 FDOS 1.1 (ro)
item liveiso-slitaz-current Slitaz current (ro)
item liveiso-tinycore-7.2 TinyCore 7.2 (ro)
item netsys-fedora-23 Fedora 23 (rw)
item netsys-korora-24 Korora 24 (rw)
choose os && goto ${os}
:liveins-freedos-1.0
kernel kernel/memdisk bigraw fastboot
initrd img/fdboot.img
boot
:livesys-fdos-1.1
kernel kernel/memdisk bigraw fastboot
initrd img/FDSTD10.IMG
boot
:liveiso-slitaz-current
sanboot iso/slitaz-rolling.iso
:liveiso-tinycore-7.2
sanboot iso/TinyCore-7.2.iso
:netsys-fedora-23
kernel fs/Fedora-23/boot/vmlinuz-4.6.6-200.fc23.i686 rw root=nfs:192.168.10.10:/var/www/htdocs/fs/Fedora-23
initrd fs/Fedora-23/boot/initramfs-4.6.6-200.fc23.i686.img
boot
:netsys-korora-24
kernel fs/Korora-24/boot/vmlinuz-4.6.7-300.fc24.x86_64 ro root=nfs:192.168.10.10:/var/www/htdocs/fs/Korora-24
initrd fs/Korora-24/boot/initramfs-4.6.7-300.fc24.x86_64.img
boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment