public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gerd Hoffmann" <kraxel@redhat.com>
To: devel@edk2.groups.io, changqing.li@eng.windriver.com
Cc: changqing.li@windriver.com
Subject: Re: [edk2-devel] Cannot list all harddisk in boot manager
Date: Thu, 20 Jul 2023 13:06:11 +0200	[thread overview]
Message-ID: <kgezfhwtypiafszwv7chh2navlzjwa7vsn44rnosghumfv4tmw@nv7hnr6l7n3y> (raw)
In-Reply-To: <db2bd1bc-7209-47f5-cb51-6a3072c29033@windriver.com>

On Thu, Jul 20, 2023 at 02:06:34PM +0800, Changqing Li wrote:
> Hi,
> 
> I found that ovmf build with edk2-stable202210 is not works well.  It cannot
> find all the harddisk, and list them in boot manager:
> 
> But with edk2-stable2022008, it works well.  I think this is a bug, should I
> open an issue in bugzilla?

No, this is intentional behavior.

ovmf only connects devices with a boot priority to speed up hardware
initialization.

> -device scsi-hd,drive=hd1 -device scsi-hd,drive=hd2
> -device scsi-hd,drive=hd3

Add bootindex=<priority> (smaller numbers are higher priority) to the
disks you want show up in the menu.  ovmf will and them then, sorted
according to the given priority.

> And I find that if I add bootindex for the three HD,  it will works well, 
> all the harddisk will be list in boot manager.

Oh, you figured yourself ;)

take care,
  Gerd



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



  reply	other threads:[~2023-07-20 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20  6:06 [edk2-devel] Cannot list all harddisk in boot manager Changqing Li
2023-07-20 11:06 ` Gerd Hoffmann [this message]
2023-07-21  5:50   ` Changqing Li

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=kgezfhwtypiafszwv7chh2navlzjwa7vsn44rnosghumfv4tmw@nv7hnr6l7n3y \
    --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