#!ipxe # menu-timeout is used to emulate grub behavior with timeouts set menu-timeout 30 :start menu LABaki Boot Menu item --gap -- Install OS on your local computer: item --gap item --gap -- Advanced options: item config Configure settings item shell iPXE shell item cpuinfo CPU Information item reboot Reboot computer item --gap item --key x exit Exit iPXE / Continue BIOS boot choose --timeout ${menu-timeout} --default labdebian selected || goto exit set menu-timeout 0 goto ${selected} :shell echo Type exit to go back to the main menu shell goto start :failed echo Booting failed, dropping to shell goto shell :reboot reboot :exit exit :config config goto start :cpuinfo cpuid --ext 29 && set arch:string x86_64 || set arch:string i386 cpuid --ecx 5 && set vmx yes || cpuid --ext --ecx 2 && set svm yes || isset ${vmx} || isset ${svm} && set hw_virt:string yes || set hw_virt:string no menu CPU Information item --gap CPU Architecture: ${arch:string} item --gap HW Virtualization: ${hw_virt:string} item --gap item start Return to main menu choose selected || goto start goto ${selected} ## OPERATING SYSTEMS :labdebian kernel http://boot.tolabaki.her.wn/ltsp/i386/vmlinuz ro root=/dev/nfs nfsroot=/srv/ltsp/i386 ip=dhcp boot=nfs init=/sbin/init-ltsp initrd http://boot.tolabaki.her.wn/ltsp/i386/initrd.img boot || goto failed goto start ## INSTALL-MENU