The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot seem to run boot.ipxe script
2019-08-30, 18:30
Post: #1
Cannot seem to run boot.ipxe script
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!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Cannot seem to run boot.ipxe script - edb1117 - 2019-08-30 18:30



User(s) browsing this thread: 1 Guest(s)