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! |
|||
2019-09-05, 00:38
Post: #2
|
|||
|
|||
RE: Cannot seem to run boot.ipxe script
you are only typing "http://172.16.1.251/boot.ipxe" ?
ipxe requires commands and don't know what to do with that string but if you add chain before it, so that you get "chain http://172.16.1.251/boot.ipxe" you should be good in terms of it being able to parse the line. you might need to type dhcp first as well. Also you might want to look at http://ipxe.org/embed Use GitHub Discussions VRAM bin |
|||
2019-09-07, 19:03
(This post was last modified: 2019-09-07 19:24 by Andromeda_x.)
Post: #3
|
|||
|
|||
RE: Cannot seem to run boot.ipxe script
Hi ebd1117,
the documentation shows an example which you should find useful, chainloading Also you might find the following webpage useful with updated pre-compiled ipxe Probably you already read documentation on wimboot and winpe, I add it for completeness anyway You can play around with interactive configuration tool And to better understand iPXE you will find useful documentation about settings and commands. Andromeda_x |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)