shim(-signed)? does not boot on T420
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Almost identical to bug #1925010, but the T420 is an UEFI v2.00 machine, so I'm filing this separate bug.
This is a T420 in uefi mode, but not secure boot. I was running groovy, and just upgraded to hirsute with do-release-upgrade -d. It just wouldn't boot from the disk anymore after that. Black screen, no disk activity, no ctrl-alt-del response. I always had to power cycle it.
I then performed the steps from comment 2 of that bug, and the machine booted normally after that:
"""
Can you please check that the machine boots with just grub without shim.
Aka, replace /EFI/Boot/
"""
My BIOS version is 1.49 (83ET79WW), model is 4177CTO. I can attach more info if needed, and it's also simple to restore the buggy behavior.
dmesg says "efi: EFI v2.00 by Lenovo"
I downgraded to the shim* packages from groovy, like this: /var/cache/ apt/archives# l 1552672080. a4a1fbe- 0ubuntu2_ amd64.deb 1.45+15+ 1552672080. a4a1fbe- 0ubuntu2_ amd64.deb /var/cache/ apt/archives# scp shim* ~/ /var/cache/ apt/archives# cd a4a1fbe- 0ubuntu2 1552672080. a4a1fbe- 0ubuntu2_ amd64.deb ... a4a1fbe- 0ubuntu2) over (15.4-0ubuntu1) ... 4-0ubuntu1) ... 1552672080. a4a1fbe- 0ubuntu2 1.45+15+ 1552672080. a4a1fbe- 0ubuntu2_ amd64.deb ... 1552672080. a4a1fbe- 0ubuntu2) over (1.46+15. 4-0ubuntu1) ... a4a1fbe- 0ubuntu2) ... 1552672080. a4a1fbe- 0ubuntu2) ...
oot@nsn7:
total 1,1M
drwxr-xr-x 3 root root 140K abr 19 17:16 .
drwxr-xr-x 3 root root 4,0K abr 19 17:15 ..
-rw-r----- 1 root root 0 out 15 2020 lock
drwx------ 2 _apt root 4,0K abr 19 17:16 partial
-rw-r--r-- 1 root root 566K ago 3 2020 shim_15+
-rw-r--r-- 1 root root 338K out 21 06:18 shim-signed_
root@nsn7:
root@nsn7:
root@nsn7:~# dpkg -i shim*
dpkg: warning: downgrading shim from 15.4-0ubuntu1 to 15+1552672080.
(Reading database ... 228150 files and directories currently installed.)
Preparing to unpack shim_15+
Unpacking shim (15+1552672080.
Replaced by files in installed package shim-signed (1.46+15.
dpkg: warning: downgrading shim-signed from 1.46+15.4-0ubuntu1 to 1.45+15+
Preparing to unpack shim-signed_
Unpacking shim-signed (1.45+15+
Setting up shim (15+1552672080.
Setting up shim-signed (1.45+15+
Installing grub to /boot/efi.
Installing for x86_64-efi platform.
Installation finished. No error reported.
And then rebooted. It failed the same way, so it seems to indicate it's not a problem with the shim, as these packages I had installed just before doing the do-release-upgrade.