shim-signed does not boot on EFI 2.40 by Apple
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Critical
|
Unassigned | ||
shim-signed (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Booting MacBook is broken
[Test plan]
We don't have a test plan per se to verify this bug, but the shim fix has been tested. Hard to verify those bugs :(
[Where problems could occur]
We disable mirroring of vendor dbx into MokListXRT EFI variable, so mokutil is not able to read the vendor dbx anymore. Other things might not be able to do so either; we don't believe we've been using it so far, though.
[Original bug report]
Hi,
I have a MacBookPro14,3. After upgrade to Ubuntu 21.04 it failed to boot.
At first I thought I'm affected by https:/
But my MacBook has newer efi Version and the fixed version of shim-signed is not solving my issues.
>sudo dmesg | grep EFI
[ 0.000000] efi: EFI v2.40 by Apple
[ 0.011978] ACPI: UEFI 0x000000007AF7D000 000042 (v01 INTEL EDK2 00000002 01000013)
[ 0.012029] ACPI: Reserving UEFI table memory at [mem 0x7af7d000-
[ 0.411423] fb0: EFI VGA frame buffer device
[ 0.418914] EFI Variables Facility v0.08 2004-May-17
[ 2.696996] fb0: switching to amdgpudrmfb from EFI VGA
I reinstalled Ubuntu 21.04 from scratch and updated all packages during installation.
The reboot failed. I hear the apple start sound and then an endless repeating echo.
I've chrooted inside my system and verified that shim-signed 1.47+15.4-0ubuntu2 is installed.
The suggested workaround from the other bug works (I can normally boot afterwards):
/boot/efi/EFI# cp -b ubuntu/grubx64.efi ubuntu/shimx64.efi
/boot/efi/EFI# cp -b ubuntu/grubx64.efi BOOT/BOOTX64.EFI
"sudo apt reinstall shim-signed" reliable breaks my macbook again.
Is there anything I can do to help solving this issue? What do you need?
Changed in shim-signed (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in shim (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → Triaged |
Changed in shim-signed (Ubuntu): | |
status: | Triaged → Incomplete |
tags: | added: fr-1373 |
Changed in shim (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | added: block-proposed |
tags: | removed: block-proposed |
description: | updated |
tags: | removed: block-proposed-focal |
One thing you can try while booted up is to run 'mokutil --set-verbosity true' and then reboot, to see if you get any output on the screen from shim that would let us narrow down where things are failing.