Wimboot - Could not boot image: Exec format error
|
2017-08-16, 18:54
Post: #1
|
|||
|
|||
Wimboot - Could not boot image: Exec format error
I am trying to network-boot a system via HTTP from a server that has IIS version 10 by following the steps in http://ipxe.org/appnote/uefihttp. I am using the latest ipxe.efi. To avoid infinite loop due to ipxe.efi being downloaded on every DHCP request, I followed the instructions in http://ipxe.org/howto/msdhcp#pxe_chainloading and created a DHCP policy that has the boot.ipxe script mentioned in http://ipxe.org/wimboot as Option 67 (BootFile Name).
My boot.ipxe file contains: Code: #!ipxe But boot fails with the following message: Quote:Filename: http://x.x.x.x:port/win/boot I have made sure that the tips given in http://ipxe.org/err/2e0080 are followed. Still the same error occurs. It seems the boot client is finding the Exec Format Error with the boot.ipxe file itself, and I'm not sure why. Any suggestions would be greatly appreciated. The entire logs: Quote:iPXE initializing devices…ok |
|||
2017-08-16, 20:14
(This post was last modified: 2017-08-30 17:23 by NiKiZe.)
Post: #2
|
|||
|
|||
RE: Wimboot - Could not boot image: Exec format error
IIS will not serve files without knowing it's extension (having a MIME type associated)
If you follow the steps on that error page, especially "Check that the image you are trying to boot has not been corrupted in any way." by downloading this file in a browser and just checking filesize you can see that the size differs. This is also seen in the output you posted "boot: 920 bytes" Quick search on the forum for IIS finds this post with link to possible solution: http://forum.ipxe.org/showthread.php?tid...9#pid16249 Use GitHub Discussions VRAM bin |
|||
2017-08-30, 16:24
(This post was last modified: 2017-08-30 16:25 by rweisman.)
Post: #3
|
|||
|
|||
RE: Wimboot - Could not boot image: Exec format error
IIS can be configured, just don't do it for all of the Websites unless you are only using IIS for iPXE.
I have it working. See this post for a step by step. https://www.serverintellect.com/support/...xtensions/ |
|||
2017-08-30, 16:32
(This post was last modified: 2017-08-30 16:38 by Logan.)
Post: #4
|
|||
|
|||
RE: Wimboot - Could not boot image: Exec format error
Thank you, NiKiZe and rweisman, for your helpful comments.
I was finally able to figure it out. As per the instructions in http://ipxe.org/wimboot, I had created a file named boot.ipxe containing all the kernel and initrd commands. But the .ipxe extension is actually not recognized. It should have been .php. That solved the issue. Now, instead of showing the wrong size (920 bytes), it shows the correct size (250 bytes), and then successfully runs the script. Quote:Filename: http://x.x.x.x:port/win/boot.php Thanks again for your help! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)