incorrect efibootmgr command is set by update-grub under OVMF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
efibootmgr (Ubuntu) |
Invalid
|
High
|
Dimitri John Ledkov | ||
Trusty |
Invalid
|
Wishlist
|
Dimitri John Ledkov | ||
grub2 (Debian) |
Fix Released
|
Unknown
|
|||
grub2 (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Trusty |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
I'm running OVMF from trusty, under qemu started like this:
$ qemu-system-x86_64 -pflash OVMF.fd -m 1024 -drive file=nvme.
where nvme.img is my disk drive.
After the installation & secure-boot key enrollment, the added "ubuntu" boot entry fails to boot. I've added one manually using EFI shell and the correct enumerated device drive (fs0:) and made it top priority. That one worked. Comparing the output of the two using efibootmgr I get the following output:
BootCurrent: 0006
BootOrder: 0006,0005,
Boot0000* EFI Floppy ACPI(a0341d0,
Boot0001* EFI Floppy 1 ACPI(a0341d0,
Boot0002* EFI DVD/CDROM ACPI(a0341d0,
Boot0003* EFI Misc Device ACPI(a0341d0,
Boot0004* EFI Internal Shell MM(b,3fafd000,
Boot0005* ubuntu HD(1,0,
Boot0006* 'ubuntu-custom' ACPI(a0341d0,
It appears as if an efi boot entry was added for an HD/MBR like partition, instead of one address by ACPI/PCI and the full partition UUID.
Changed in grub2 (Ubuntu): | |
status: | New → Triaged |
Changed in efibootmgr (Ubuntu Trusty): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Trusty): | |
importance: | Undecided → High |
tags: | added: efibugs |
Changed in grub2 (Ubuntu Trusty): | |
status: | Triaged → Invalid |
Changed in efibootmgr (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in efibootmgr (Ubuntu Trusty): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in efibootmgr (Ubuntu Trusty): | |
importance: | High → Wishlist |
Changed in grub2 (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in grub2 (Ubuntu Trusty): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in grub2 (Ubuntu Trusty): | |
milestone: | none → ubuntu-14.04.1 |
Changed in grub2 (Debian): | |
status: | Unknown → New |
Changed in grub2 (Ubuntu Trusty): | |
status: | Confirmed → In Progress |
Changed in grub2 (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in grub2 (Debian): | |
status: | New → Fix Released |
Here is a bootentry that does work for a regular qemu hard-drive:
Boot0007* 'ubuntu- custom- normal' ACPI(a0341d0, 0)PCI(1, 1)ATAPI( 0,0,0)HD( 1,800,f3800, 075e987d- 5ca9-4c04- 82f1-7967bc2dca 5f)File( \EFI\ubuntu\ shimx64. efi)
Which is also addressing by partuuid.