#!ipxe console --x 1024 --y 768 console --picture http://boot.hegars.com/ipxe.png console --picture http://boot.hegars.com/texture.png --left 32 --right 32 --top 32 --bottom 48 # Some menu defaults set menu-timeout 30000 set submenu-timeout ${menu-timeout} isset ${menu-default} || set menu-default exit # Figure out if client is 64-bit capable cpuid --ext 29 && set arch x64 || set arch x86 cpuid --ext 29 && set archl amd64 || set archl i386 ###################### MAIN MENU #################################### :start #menu menu iPXE boot menu for ${uuid} item --gap -- ------------------------- Operating systems ------------------------------ item finnix111 Boot Finnix 1.1.1 item finnix121 Boot Finnix 1.2.1 amd64 item --key f freedoslive Boot FreeDOS Live 1.3 item freedos Boot FreeDOS Install 1.3 item freedosfdd Boot FreeDOS Floppy Install 1.3 item demo Boot Demo Linux item netbootxyz Boot netboot.xyz (chain) item os2warp452boot Boot os2warp452boot item os2warp452client boot os2warp452client item ubcd539 boot Ultimate Boot CD v5.3.9 item reactoslive Boot ReactOS 0.4.13-Live item --gap -- ------------------------- Tools and utilities ---------------------------- item --key d menu-diag Diagnostics tools... item 2ajz51usa IBM Bios item --gap -- ------------------------- Advanced options ------------------------------- item --key c config Configure settings item shell Drop to iPXE shell item reboot Reboot computer item item --key x exit Exit iPXE and continue BIOS boot choose --timeout ${menu-timeout} --default ${menu-default} selected || goto cancel set menu-timeout 0 goto ${selected} :cancel echo You cancelled the menu, dropping you to a shell :shell echo Type 'exit' to get the back to the menu shell set menu-timeout 0 set submenu-timeout 0 goto start :failed echo Booting failed, dropping to shell goto shell :reboot reboot :exit exit :config config goto start :back set submenu-timeout 0 clear submenu-default goto start #choose --default exit --timeout 3000 target && goto ${target} #prompt --key 0x02 --timeout 20000 Press Ctrl-B for the iPXE command line... && shell || ###################### DIAGNOSTICS MENU ############################# # :menu-diag menu Diagnostic tools item memtest Memtest86+ 4.20 item item --key 0x08 back Back to top menu... iseq ${menu-default} menu-diag && isset ${submenu-default} && goto menu-diag-timed || choose selected && goto ${selected} || goto start #Boot Demo # :demo kernel vmlinuz-3.16.0-rc4 bootfile=http://boot.hegars.com/ fastboot initrd=initrd.img initrd initrd.img boot :freedos kernel http://boot.hegars.com/memdisk iso raw map #initrd http://boot.hegars.com/FD12LGCY.iso #initrd http://192.168.15.242/FD12LGCY.iso initrd http://192.168.15.242/FD13LGCY.ISO pause boot #goto start :freedoslive kernel http://boot.hegars.com/memdisk pause iso ro int noedd initrd http://192.168.15.242/FD13LIVEe.iso boot :freedosfdd kernel http://boot.hegars.com/memdisk raw initrd http://192.168.15.242/FD13FULL.IMG raw boot :finnix111 kernel http://boot.hegars.com/memdisk iso raw map initrd http://192.168.15.242/finnix-111.iso boot goto start :finnix121 kernel http://boot.hegars.com/memdisk iso raw initrd http://192.168.15.242/finnix-121.iso #boot :reactoslive kernel http://boot.hegars.com/memdisk iso raw initrd http://192.168.15.242/ReactOS-0.4.13-Live.iso boot :os2warp452client kernel http://boot.hegars.com/memdisk iso raw initrd http://192.168.15.242/ibm_warpclient_cp2_v4_52_client.iso raw boot :os2warp452boot kernel http://boot.hegars.com/memdisk iso raw initrd http://192.168.15.242/ibm_warpclient_cp2_v4_52_boot.iso boot :ubcd539 kernel http://boot.hegars.com/memdisk iso raw initrd http://192.168.15.242/ubcd539.iso boot :memtest #ODO: Fix the URI parser to make the + sign work #chain memtest86+-4.20.elf.img - || goto failed #chain memtest86plus-4.20.elf.img - || goto failed kernel http://boot.hegars.com/memdisk pause initrd http://192.168.15.242/MEMTEST.IMG boot goto start :netbootxyz chain --autofree http://boot.netboot.xyz/ipxe/netboot.xyz-undionly.kpxe boot :2ajz51usa kernel http://boot.hegars.com/memdisk iso raw initrd http://192.168.15.242/2AJ951A.ISO boot