[gPXE] pxe boot macbook: "exec format error (0x2e008001)"
Adrian Zaugg
adi at ente.limmat.ch
Sat Nov 30 06:09:22 EST 2013
Dear Shao
Thank you for your answer. Do I understand it right, that this means,
one has to set up different boot menues on the PXE server for BIOS and
for UEFI clients and thus distinguish between those two systems server side?
Unfortunately I do not know with what clients the people in my network
do use the PXE service, as odd as this sounds.
Best regards and thank you again, Adrian.
Am 29.11.13 03:36 schrieb Shao Miller:
> You're trying to boot PXELINUX (pxelinux.0), which expects BIOS, in a (U)EFI
> environment? I'm not sure that could ever work; the gPXE build you have
> might be stating that PXE Network Bootstrap Programs are not applicable in a
> (U)EFI environment. - Shao
>
> -----Original Message-----
> From: gpxe-bounces at etherboot.org [mailto:gpxe-bounces at etherboot.org] On
> Behalf Of Adrian Zaugg
> Sent: Sunday, November 03, 2013 19:32
> To: gpxe at etherboot.org
> Subject: [gPXE] pxe boot macbook: "exec format error (0x2e008001)"
>
> Dear List
>
> After some compiling adventures I managed to compile a gPXE-efi module
> containing the right driver for my nic to place on my efi system
> partition on my macbook pro. I can load gPXE using rEFInd, it connects,
> gets an IP and then aborts with:
>
> Could not boot from filename "pxelinux.0": Exec format error (0x2e008001)
>
> Using a PC capable to PXE boot, I get my PXE server's menu. Could anyone
> please enlight me, what is going wrong?
>
> Thank you very much!
>
> Regards, Adrian.
>
>
>
> More information:
> - macbook pro 5,5; nvidia mcp79 nic using forcedeth; EFI64 system
> - I compiled on a 64-bit Linux from latest git
> - compiling failed on pristine source, I had to edit config/general.h
> and delete the line "#define PXE_CMD" as suggesed here:
> http://support.etherboot.org/index.php?do=details&task_id=107
> - cmd line used: make bin-x86_64-efi/forcedeth.efi
>
> Like this I got forcedeth.efi, which I could place in my esp and start
> it from rEFInd.
>
> BTW: I was not able to cross compile on a mac, the information in the
> wiki under http://etherboot.org/wiki/macbuild?s[]=efi is partially
> outdated and is missing a lot of information to do so successfully. I
> could overcome some problems but not all of them.
> _______________________________________________
> gPXE mailing list
> gPXE at etherboot.org
> http://etherboot.org/mailman/listinfo/gpxe
>
More information about the gPXE
mailing list