menu.ipxe 833 B

123456789101112131415161718192021222324252627282930313233
  1. #!ipxe
  2. isset ${server-ip} || set server-ip www.adriankoshka.xyz
  3. :start
  4. menu iPXE boot menu
  5. item --gap -- ------------------------- Operating systems ------------------------------
  6. item --key l linux Choose a (L)inux Distrobution
  7. item --key w winpe Boot to (W)indows PE
  8. item --gap -- ----------------------------- Utilities ----------------------------------
  9. item --key e ext (E)xit
  10. item --key i san (i)SCI/Sanboot
  11. item --key s shell EFI (S)hell
  12. choose version && goto ${version} || goto start
  13. :linux
  14. chain http://${server-ip}/boot/linux.ipxe
  15. :winpe
  16. chain http://${server-ip}/winpe/boot.ipxe
  17. :shell
  18. chain http://${server-ip}/boot/efi_shell.ipxe
  19. :ext
  20. exit
  21. :san
  22. echo -n root-path: && read netX/root-path
  23. sanhook --drive 0x80 ${netX/root-path}
  24. sanboot ${netX/root-path} || clear netX/root-path
  25. goto start