2019-08-30, 18:30
I have to say I just discovered iPXE and it is awesome, but I want to script it so I don't have to manually type in more than say, one line.
I created a boot.ipxe script according to the documentation, but I cannot seem to get it to work. I type:
http://172.16.1.251/boot.ipxe
But I get an error:
http://172.16.1.251/boot.ipxe: command not found
Here is what I am using:
-iPXE prebuilt iso, booting up workstation with USB stick
-iPXE prebuilt wimboot
-Windows 2018 R2 server
-IIS Web Server
-added .sdi, .wim, .*, .ipxe mime types in IIS
-the boot.ipxe, bcd, boot.sdi, boot.wim, and wimboot file are in c:\inetpub\wwwroot folder on 2018 server
I can do it manually, typing in these lines separately and can boot up a WinPE disk successfully:
kernel http://172.16.1.251/wimboot
initrd -n bcd http://172.16.1.251/bcd bcd
initrd -n boot.sdi http://172.16.1.251/boot.sdi boot.sdi
initrd -n boot.wim http://172.16.1.251/boot.wim boot.wim
boot
My boot.ipxe looks like:
#!ipxe
kernel wimboot
initrd bcd BCD
initrd boot.sdi boot.sdi
initrd boot.wim boot.wim
boot
Thanks in advance for the help.
Great program!
I created a boot.ipxe script according to the documentation, but I cannot seem to get it to work. I type:
http://172.16.1.251/boot.ipxe
But I get an error:
http://172.16.1.251/boot.ipxe: command not found
Here is what I am using:
-iPXE prebuilt iso, booting up workstation with USB stick
-iPXE prebuilt wimboot
-Windows 2018 R2 server
-IIS Web Server
-added .sdi, .wim, .*, .ipxe mime types in IIS
-the boot.ipxe, bcd, boot.sdi, boot.wim, and wimboot file are in c:\inetpub\wwwroot folder on 2018 server
I can do it manually, typing in these lines separately and can boot up a WinPE disk successfully:
kernel http://172.16.1.251/wimboot
initrd -n bcd http://172.16.1.251/bcd bcd
initrd -n boot.sdi http://172.16.1.251/boot.sdi boot.sdi
initrd -n boot.wim http://172.16.1.251/boot.wim boot.wim
boot
My boot.ipxe looks like:
#!ipxe
kernel wimboot
initrd bcd BCD
initrd boot.sdi boot.sdi
initrd boot.wim boot.wim
boot
Thanks in advance for the help.
Great program!