[ipxe-devel] bad MZ magic d5e9

Michael Brown mcb30 at ipxe.org
Fri Jul 3 10:16:47 UTC 2015


On 02/07/15 19:33, Nux! wrote:
> I'm trying to deploy Windows via Wimboot/pxelinux. It almost starts, but dies out with "bad MZ magic d5e9". Can someone translate that into English, what am I missing?
> Screenshot bad MZ magic d5e9

You have apparently taken the file "bootmgr" and renamed it to 
"bootmgr.exe".  This causes wimboot to attempt to load and execute the 
file it has been told is "bootmgr.exe".  This fails because it isn't 
really bootmgr.exe.  The effect is similar to taking a random file 
"some_picture.jpeg" and renaming it to "bootmgr.exe"; it's not going to 
work.

Recent versions of wimboot have the ability to extract bootmgr.exe 
directly from the .wim image.  You should be able to just delete 
"boot/windows-x86_64/bootmgr.exe" from your "initrdfile=..." list.

Michael



More information about the ipxe-devel mailing list