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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-