public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael Brown" <mcb30@ipxe.org>
To: devel@edk2.groups.io, hckaraca99@gmail.com
Subject: Re: [edk2-devel] Problem Booting Starlingx On PXE
Date: Mon, 19 Feb 2024 09:35:42 +0000	[thread overview]
Message-ID: <0102018dc0b8a29f-2cb2fc80-3c80-4a9d-9197-7376b1f0dc7f-000000@eu-west-1.amazonses.com> (raw)
In-Reply-To: <7925.1708325088513624723.yLxY@groups.io>

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]
-=-=-=-=-=-=-=-=-=-=-=-



      reply	other threads:[~2024-02-19  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19  6:44 [edk2-devel] Problem Booting Starlingx On PXE Hamit Can Karaca
2024-02-19  9:35 ` Michael Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0102018dc0b8a29f-2cb2fc80-3c80-4a9d-9197-7376b1f0dc7f-000000@eu-west-1.amazonses.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox