debian.ipxe 1.2 KB

123456789101112131415161718192021222324252627282930
  1. #!ipxe
  2. isset ${server-ip} || set server-ip www.adriankoshka.xyz
  3. :start
  4. #console --picture http://boot.ipxe.org/ipxe.png
  5. menu debian
  6. item --gap -- ---------------------- Net installer -----------------------------
  7. item --key 3 Debian9_x86 Debian 9 (3)2-bit net install
  8. item --key 6 Debian9_x86_64 Debian 9 (6)4-bit net install
  9. item --gap -- ------------------------- Options --------------------------------
  10. item --key g goback (G)o back to previous menu
  11. choose version && goto ${version} || goto start
  12. :Debian9_x86
  13. echo Booting Debian 9 32-bit
  14. kernel http://deb.debian.org/debian/dists/stretch/main/installer-i386/current/images/netboot/debian-installer/i386/linux initrd=initrd.gz
  15. initrd http://deb.debian.org/debian/dists/stretch/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz
  16. boot || imgfree
  17. goto start
  18. :Debian9_x86_64
  19. echo Booting Debian 9 64-bit
  20. kernel http://deb.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux initrd=initrd.gz
  21. initrd http://deb.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
  22. boot || imgfree
  23. goto start
  24. :goback
  25. chain http://${server-ip}/boot/linux.ipxe