Skip to content

Instantly share code, notes, and snippets.

@td512
Created June 28, 2018 07:29
Show Gist options
  • Save td512/5fc23810b6eecbceb24ae1a7c5d6b72a to your computer and use it in GitHub Desktop.
Save td512/5fc23810b6eecbceb24ae1a7c5d6b72a to your computer and use it in GitHub Desktop.
#!ipxe
# The SAN mounts
set keep-san 1
set iscsi-rootfs iscsi:10.10.10.50::::iqn.2018-06.local.jupiter:windows
sanboot --drive 0x80 ${iscsi-rootfs}
# The Windows-specific files you need (from the Windows installation media)
kernel wimboot
initrd bootmgr bootmgr
initrd bcd BCD
initrd boot.sdi boot.sdi
initrd boot.wim boot.wim
# Boot!
boot
# Uncomment and modify the below and comment the above to install Windows
# SAN hook the ISO
#sanhook --drive 0x80 ${iscsi-rootfs}
# Change Me!
#set boot-url http://10.10.10.50/ul
# The WinPE ISO with the right drivers for my NIC
#initrd ${boot-url}/winpe.iso
#kernel ${boot-url}/memdisk iso raw
# Boot!
#boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment