winpe.ipxe 612 B

12345678910111213141516171819202122
  1. #!ipxe
  2. isset ${server-ip} || set server-ip www.adriankoshka.xyz
  3. :start
  4. menu Windows PE
  5. item --gap -- ------------------------- Options --------------------------------
  6. item --key b boot_winpe (B)oot
  7. item --key g goback (G)o back to previous menu
  8. choose version && goto ${version} || goto start
  9. :boot_winpe
  10. cpuid --ext 29 && set arch amd64 || set arch x86
  11. kernel wimboot
  12. initrd ${arch}/media/Boot/BCD BCD
  13. initrd ${arch}/media/Boot/boot.sdi boot.sdi
  14. initrd ${arch}/media/sources/boot.wim boot.wim
  15. boot
  16. :goback
  17. chain http://${server-ip}/boot/menu.ipxe