Last active
October 5, 2017 20:30
-
-
Save andrewl3wis/e26a5d2f83a9d0ce60fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
set boot-url http://192.168.110.1/ | |
:start | |
menu iPXE Boot Menu | |
item Windows-Install Install Windows | |
item shell shell | |
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} | |
:shell | |
shell | |
:Windows-Install | |
set base-url ${boot-url}/WinPE_x64 | |
kernel http://192.168.1.110/wimboot | |
initrd ${base-url}/bootmgr bootmgr | |
initrd ${base-url}/boot/bcd BCD | |
initrd ${base-url}/boot/boot.sdi boot.sdi | |
initrd ${base-url}/sources/boot.wim boot.wim | |
imgstat | |
boot || goto failed | |
goto start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment