Closed xycainoff closed 3 years ago
How did you create your boot.wim ?
I got it from “Windows PE add-on for the ADK for Windows Server 2022” from this page https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install
One thing you might be able to check here is if the .wim file is compressed with a known or new format. I would also suggest that you try with the unmodified boot.wim from the installation media first.
If I'm not mistaken bootmgr.exe exists in different versions, important to get the right one, maybe https://ipxe.org/appnote/wimboot_architecture#extracting_bootmgrexe can help.
You might want to "build" a WinPE instead of using the boot.wim
unmodified. I seem to vaguely remember that using the vanilla boot.wim
did not work for me either. (But I am using the latest ADK and the WIM does not use compression or a new format, from what I can see.)
I wrote a script for some other work I was doing: Build-WinPEx64.cmd
This creates an ISO and you should be able to modify the script to your liking and then extract the WIM file from the ISO it creates.
The WIM file it creates will work with both legacy BIOS and UEFI firmware when loaded with WIMBOOT..
Boot.wim from original installation iso has always worked. ADK win files has had more issues.
Boot.wim from original installation iso has always worked. ADK win files has had more issues.
Agreed - the boot.wim
files present on the original installation ISOs should always work (and are used in the automated QA tests for each commit).
tried boot.wim from installation iso, tried boot.wim from another windows10 iso - same result: "no bootmgr.exe". May be it has something to do with lines "Chunk 1 offset lies outside resource". I gave up.
Is the reason for closing that you found the reason? If so please share.
Unfortunately i had to solve it another way. I was trying to install hyperv server to remote servers.They have ilo2 remote management systems so i booted to windows-pe from virtual cd provided by ilo2. This is very slow way to do it and boot by ipxe fro network would be much better but couldn’t figure it out.
Wimboot version 2.7.3 Trying boot WinPE via iPXE and get error “FATAL: no bootmgr.exe”
If i place bootmgr.exe extracted from boot.wim directly and define it with “ imgfetch --name bootmgr.exe bootmgr.exe bootmgr.exe” in ipxe script - i get error: “Bad MZ magic 0000” and “FATAL: Could not load bootmgr.exe”