public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] Problem Booting Starlingx On PXE
@ 2024-02-19  6:44 Hamit Can Karaca
  2024-02-19  9:35 ` Michael Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Hamit Can Karaca @ 2024-02-19  6:44 UTC (permalink / raw)
  To: devel


[-- Attachment #1.1: Type: text/plain, Size: 769 bytes --]

I am having problem while booting Starlingx on iPXE on UEFI. It says malformed binary and does not allow me to boot afterwards. What should I do in BIOS to solve this problem?

I can boot Starlingx on other platforms using OEM BIOS.

Our platform is Intel Xeon Purley server. We are using EDK2 BIOS. I have added iPXE.efi to fdf file to enable PXE boot.

Any help or suggestions are appreciated.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115584): https://edk2.groups.io/g/devel/message/115584
Mute This Topic: https://groups.io/mt/104442316/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #1.2: Type: text/html, Size: 1282 bytes --]

[-- Attachment #2: pxe_problem.jpg --]
[-- Type: image/jpeg, Size: 146956 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] Problem Booting Starlingx On PXE
  2024-02-19  6:44 [edk2-devel] Problem Booting Starlingx On PXE Hamit Can Karaca
@ 2024-02-19  9:35 ` Michael Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Brown @ 2024-02-19  9:35 UTC (permalink / raw)
  To: devel, hckaraca99

On 19/02/2024 06:44, Hamit Can Karaca wrote:
> I am having problem while booting Starlingx on iPXE on UEFI. It says 
> malformed binary and does not allow me to boot afterwards. What should I 
> do in BIOS to solve this problem?
> 
> I can boot Starlingx on other platforms using OEM BIOS.
> 
> Our platform is Intel Xeon Purley server. We are using EDK2 BIOS. I have 
> added iPXE.efi to fdf file to enable PXE boot.
> 
> Any help or suggestions are appreciated.

 From your screenshot: iPXE is starting up with no problems, is 
successfully completing DHCP and downloading the file bootx64.efi as 
directed by your DHCP server.

This downloaded file is the UEFI shim, and the error messages you are 
seeing are coming from shim (not from iPXE):

   https://github.com/rhboot/shim/blob/main/pe.c#L264-L286

It appears that shim does not think that your next-stage binary is 
valid.  Unfortunately shim does not provide any information about what 
this next stage binary is (beyond the message "Fetching Netboot Image"), 
and so there is no further diagnostic information available in your 
screenshot.


Using shim's own netboot support in this way is strongly deprecated. 
Please instead use iPXE to load the kernel, initrd, and (if required) 
shim directly.  Documentation is available at

   https://ipxe.org/cmd/shim

Thanks,

Michael



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115587): https://edk2.groups.io/g/devel/message/115587
Mute This Topic: https://groups.io/mt/104442316/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-19  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19  6:44 [edk2-devel] Problem Booting Starlingx On PXE Hamit Can Karaca
2024-02-19  9:35 ` Michael Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox