1. My notes say "LENOVO System firmware 0.1.67 -> 0.1.70, also described
as Lenovo ThinkPad T490s/ThinkPad X390 (W-BIOS) System Firmware 1.70".

I have recorded in my notes that after I attempted the update from snap-
store (at 7% battery), I ran fwupdmgr get-upgrades in a terminal and saw

  │   Update State:        success
  │   Update Error:        failed to update_prepare using upower: Cannot 
install update when battery is not at least 10% unless forced

and then I checked the battery level again (the laptop was plugged in at
the time), saw it had risen to 12%, so I ran

  fwupdmgr upgrade

and restarted when prompted.  (And then saw the firmware upgrade
process, and rebooted again, and got Windows, with no Ubuntu in the UEFI
boot menu, after which I proceeded to disable secure boot and boot from
my USB key).

2. `fwupdmgr get-history` today shows

├─System Firmware:
│ │   Device ID:           ca8e899e46f1da1776d16410bc92f2cf0d963433
│ │   Previous version:    0.1.67
│ │   Update State:        success
│ │   Update Error:        failed to update to 117474352: battery level is too 
low
│ │   Last modified:       2020-10-17 06:17
│ │   GUID:                6300ba52-d9ea-4ca0-88f9-f89ef73cc07b
│ │   Device Flags:        • Internal device
│ │                        • Updatable
│ │                        • Requires AC power
│ │                        • Supported on remote server
│ │                        • Needs a reboot after installation
│ │                        • Reported to remote server
│ │                        • Cryptographic hash verification is available
│ │                        • Device is usable for the duration of the update
│ │ 
│ └─ThinkPad T490s/X390 (W-BIOS for Machine types: 20NX, 20NY, 20Q0, 20Q1) 
System Update:
│       New version:       0.1.70
│       Remote ID:         lvfs
│       Summary:           Lenovo ThinkPad T490s/ThinkPad X390/ThinkPad System 
Firmware
│       License:           Proprietary
│       Size:              25,1 MB
│       Created:           2020-08-31
│       Urgency:           High
│       Vendor:            Lenovo Ltd.
│       Description:       Lenovo ThinkPad T490s/ThinkPad X390 (W-BIOS) System 
Firmware 1.70
│       
│       The computer will be restarted automatically after updating BIOS 
completely. Do NOT turn off your computer or remove the AC adaptor while update 
is in progress.
│       
│       This stable release fixes the following issues:
│       
│        • Fixed an issue where BIOS might generate 1802 error with L850 WWAN.
│        • Fixed an issue where system may occur post hang issue with TBT dock.
│        • Fixed an issue where MEFW LVFS file can't be updated.

3. That was my USB drive with a custom grub.cfg that lets me pick one of
several Ubuntu ISO images.  https://mg.pov.lt/blog/booting-iso-from-
usb-2020.html has more information, but really, all I did was disable
secure boot, select the USB drive in the UEFI boot menu, get me a GRUB
menu, cancel it, get the GRUB command line and do a bunch of ls
(hd1,gpt1)<tab><tab> to figure out where everything is, then chain-boot
with

    grub> configfile (hd1,gpt5)/boot/grub/grub.cfg

to get the actual grub config from the root partition of the installed
Ubuntu system.  After which I looked at `efibootmgr -v`, saw that it
didn't have an entry for ubuntu, and then I ran `sudo grub-install
/dev/nvme0n1`, then ran `efibootmgr -v` and saw that the ubuntu entry is
back.

It was the next day when snap-store offered the system firmware upgrade
to version 1.70 again that I noticed /sys/class/dmi/id/bios_version
still showing 1.67.

I haven't recorded in my notes how I upgraded again (snap-store or
fwupdmgr in a terminal), but I have written down that this time I
checked efibootmgr -v before rebooting, and that I saw both ubuntu and
Linux-Firmware-Updater entries, with BootNext pointing to Linux-
Firmware-Updater.  That particular upgrade was uneventful: it rebooted
back into Ubuntu, and /sys/class/dmi/id/bios_version showed the new
firmware version ("N2JET92W (1.70 )").

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to