public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gerd Hoffmann" <kraxel@redhat.com>
To: devel@edk2.groups.io, gregory.lee.bartholomew@gmail.com
Subject: Re: [edk2-devel] BUG: tianocore does not honor the bootorder
Date: Fri, 17 Feb 2023 14:08:07 +0100	[thread overview]
Message-ID: <20230217130807.u3f2cv3pgtbn5zcw@sirius.home.kraxel.org> (raw)
In-Reply-To: <e0d5559bd69cc97ba85ffc7212350008b01d3875.camel@gmail.com>

On Wed, Feb 15, 2023 at 02:20:23PM -0600, Gregory Lee Bartholomew wrote:
> I have a script that uses Qemu to install a Linux OS to the supplied device. At
> the end of the install script, efibootmgr is called to create UEFI boot entries
> and set the boot order. However, every time I boot the VM, it boots to entry
> 0004 "UEFI Misc Device" instead of the proper entry specified in the bootorder.
> This is confusing a script that I have for managing multiple ESPs (the script
> needs to detect the current ESP and sync its contents to secondary/backup ESPs).
 
> Please fix tianocore to honor the bootorder instead of creating its own entries.

ovmf orders the boot entries according to the qemu configuration
(bootindex property for devices).  If you don't want that just remove
all bootindex properties from your qemu command line.

take care,
  Gerd


  reply	other threads:[~2023-02-17 13:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 20:20 BUG: tianocore does not honor the bootorder gregory.lee.bartholomew
2023-02-17 13:08 ` Gerd Hoffmann [this message]
2023-02-17 16:23   ` [edk2-devel] " Gregory Lee Bartholomew
2023-02-20  7:10     ` Gerd Hoffmann
2023-02-20 16:44       ` Gregory Lee Bartholomew

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=20230217130807.u3f2cv3pgtbn5zcw@sirius.home.kraxel.org \
    --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