firmware upgrades remove the ubuntu boot loader from EFI boot vars
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| fwupd (Ubuntu) |
Opinion
|
Undecided
|
Mark Pearson | ||
Bug Description
snap-store offered me a system firmware upgrade for my Lenovo ThinkPad X390. I installed it with fwmgr upgrade [*], which prompted me to reboot, which I did, and I saw the firmware upgrade go through, and then it rebooted again -- into Windows.
The UEFI boot menu I get on F12 offers me Windows, the NVME drive (which boots Windows), PXE boot, and a Linux Firmware Installer. If I try that one, I get an error about 0 firmware updates being available and the system hangs until I hold the power button.
I've booted from a rescue USB, checked efibootmgr -v, saw no Ubuntu entry there, re-ran grub-install /dev/nvme0n1, and now the system boots normally.
[*] I tried to install the update from snap-store directly, but my battery was at 7% so that failed with a notification stating the reason. I waited until the battery was charged up to 15%, then tried again, but this time the update failed without giving me a reason. Then I did the update from a terminal with fwupdmgr.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: fwupd 1.3.11-1~focal1
ProcVersionSign
Uname: Linux 5.4.0-51-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 16 13:13:37 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-06-12 (491 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: fwupd
UpgradeStatus: Upgraded to focal on 2020-04-24 (174 days ago)
mtime.conffile.
mtime.conffile.

The behavior of what boot entries are used or changed after a firmware upgrade is entirely a firmware behavior.
@Mark can you please have your team look into this.