[Bug 1900121] [NEW] firmware upgrades remove the ubuntu boot loader from EFI boot vars

Marius Gedminas 1900121 at bugs.launchpad.net
Fri Oct 16 10:19:58 UTC 2020


Public bug reported:

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
ProcVersionSignature: Ubuntu 5.4.0-51.56-generic 5.4.65
Uname: Linux 5.4.0-51-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
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..etc.fwupd.remotes.d.lvfs-testing.conf: 2020-10-08T10:00:47.263185
mtime.conffile..etc.fwupd.remotes.d.lvfs.conf: 2020-10-08T10:00:47.311185

** Affects: fwupd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fwupd in Ubuntu.
https://bugs.launchpad.net/bugs/1900121

Title:
  firmware upgrades remove the ubuntu boot loader from EFI boot vars

Status in fwupd package in Ubuntu:
  New

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
  ProcVersionSignature: Ubuntu 5.4.0-51.56-generic 5.4.65
  Uname: Linux 5.4.0-51-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.9
  Architecture: amd64
  CasperMD5CheckResult: skip
  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..etc.fwupd.remotes.d.lvfs-testing.conf: 2020-10-08T10:00:47.263185
  mtime.conffile..etc.fwupd.remotes.d.lvfs.conf: 2020-10-08T10:00:47.311185

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1900121/+subscriptions



More information about the foundations-bugs mailing list