Could not boot: Exec format error (2e008001)

  • Hey guys,

    at the moment I’m trying to get FOG running, because we’d like to use it to deploy images. After setting up a Main-Server, 3 Storage-Nodes and doing some configuration, I now tried to boot a Client via PXE. This step failed and I have no idea how to fix it: “Could not boot: Exec format error”.

    My configuration:

    • Windows-DHCP-Server: Boot option 066 is set to the IP adress of the FOG server, 067 contains “undionly.kpxe”
    • The FOG-Server and the Client are on the same subnet
    • The client is currently a VM running on a ESXi-Host
    • FOG 1.2.0 on Ubuntu 13.10

    What I’ve tried:

    • I downloaded the latest iPXE files (iPXE 1.0.0+ (3a02) -> same error
    • Using the latest kernel available via webinterface -> same error
    • Reading related posts on the forum (and internet) if I can get any hint

    I hope, anybody has any idea and can help me. Thank you in advance!

  • Glad to help you find it.

  • Oh yes, I finally found it: the default.ipxe was empty, but it shouldn’t!

    Found this in the FOG wiki:
    dhcp || reboot
    cpuid --ext 29 && set arch x86_64 || set arch i386
    param mac ${net0/mac}
    param arch ${arch}
    chain [url]http://x.x.x.x/fog/service/ipxe/boot.php##params[/url][/FONT][/COLOR]
    Now the FOG menu is showing up! 🙂

  • It’s an empty file. Is this right like that?

  • what are the content of your /tftpboot/default.ipxe file?

  • See the screenshot:


  • what do you get when you run:

    In browser?

  • Well, it’s not just a console error: the client doesn’t finish booting from the FOG server. The FOG boot menu never shows up. As I wrote, I already checked the forum but didn’t find a suitable solution. I also checked the wiki.

    I’m booting my Client via PXE. Then my WDS-Server is redirecting to the FOG-Server (using pxechn.c32). From here on, have a look at my screenshot:

    See also the attached log files.


  • What is the exact sequence of errors?

    Console errors are known about and fixed in trunk. This is really the only thing I can think of.

    Also, we have the latest ipxe which should be of version a9376.