Closed davidstrauss closed 7 months ago
Looks like the same underlying issue as https://bugzilla.redhat.com/show_bug.cgi?id=2127995 which should be fixed by https://github.com/fedora-silverblue/issue-tracker/issues/120.
We need to write some workaround commands for folks to update the bootloader manually until it is resolved or directly include bootupd in Silverblue 35+ and write docs to let folks run the update manually.
The workaround without bootupd is to update the content of /boot/efi
with the content of /usr/lib/ostree-boot/efi
. I have not tested this yet and we probably want to use bootupd for that instead of having folks manually update their bootloader.
@travier I've attempted a couple of the steps, and I'm hoping for some further guidance on working around this.
sudo rsync -av /usr/lib/ostree-boot/efi/ /boot/efi/
. Is this the intent of your suggestion? I'm hoping not, as this makes my system unbootable.Installing and using bootupd should be (warning untested!):
$ sudo rpm-ostree install --apply-live bootupd
$ sudo bootupctl status
$ sudo bootupctl adopt-and-update
Here's how I installed it in more detail:
CC @cgwalters. We likely need some small fixes for Silverblue.
Another workaround is https://github.com/fedora-silverblue/issue-tracker/issues/120#issuecomment-1177515110 until we fix bootupd (which is going to be included in F36+ soon).
Should the workaround fix this issue with fwupdmgr
detecting an obsolete shim (because it isn't for me)?
[straussd@phoenix ~]$ fwupdmgr update
Devices with no available firmware updates:
[...snip...]
╔══════════════════════════════════════════════════════════════════════════════╗
║ Upgrade UEFI dbx from 83 to 217? ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ This updates the dbx to the latest release from Microsoft which adds ║
║ insecure versions of grub and shim to the list of forbidden signatures due ║
║ to multiple discovered security updates. ║
║ ║
║ Before installing the update, fwupd will check for any affected executables ║
║ in the ESP and will refuse to update if it finds any boot binaries signed ║
║ with any of the forbidden signatures. If the installation fails, you will ║
║ need to update shim and grub packages before the update can be deployed. ║
║ ║
║ Once you have installed this dbx update, any DVD or USB installer images ║
║ signed with the old signatures may not work correctly. You may have to ║
║ temporarily turn off secure boot when using recovery or installation media, ║
║ if new images have not been made available by your distribution. ║
║ ║
╚══════════════════════════════════════════════════════════════════════════════╝
Perform operation? [Y|n]: y
Downloading… [***************************************]
Decompressing… [***************************************]
Authenticating… [***************************************]
Waiting… [***************************************]
Writing… [***************************************]
Decompressing… [ ]
Blocked executable in the ESP, ensure grub and shim are up to date: /boot/efi/EFI/fedora/shimx64-fedora.efi Authenticode checksum [0ce02100f67c7ef85f4eed368f02bf7092380a3c23ca91fd7f19430d94b00c19] is present in dbx
It probably should but I've not tested it.
The workaround without bootupd is to update the content of
/boot/efi
with the content of/usr/lib/ostree-boot/efi
. I have not tested this yet and we probably want to use bootupd for that instead of having folks manually update their bootloader.
Tried this, can no longer boot.
GRUB version 2.0
Minimal BIOS-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.
grub> _
Any ideas on how to recover my system now?
3. I needed to rename my EFI partition to EFI-SYSTEM
Wish I'd seen this before! Trying this on my other system:
Another workaround is https://github.com/fedora-silverblue/issue-tracker/issues/120#issuecomment-1177515110 until we fix bootupd (which is going to be included in F36+ soon).
Both systems are stuck at GRUB now. Hope there's some way to recover from a live USB?
Edit: I tried combining various things to recover:
…but ended up re-installing fresh
Now that unified core will miss Fedora 38, what are the plans for this?
I and many others are "stuck" with missing dbx updates because the shim/grub in your silverblue install is too old and the bootupd feature was going to enable that.
In #120 I read that the fix has been pushed to rawhide and deferred to F39.
If I rebase my Silverblue installation to rawhide, I can finally update the firmware without having to manually tweak any file?
I rebased to rawhide and overlayed the bootupd package. But there's something wrong here:
# bootupctl status
No components installed.
Detected: EFI: unknown
Boot method: EFI
# bootupctl adopt-and-update
error: internal error: Component EFI has no available update
# bootupctl validate
No components installed.
Maybe my hardware is too old:
# fwupdtool get-devices
Loading? [**** ]19:51:10.771 FuPluginUefiCapsule SMBIOS BIOS Characteristics Extension Byte 2 is invalid -- UEFI Specification is unsupported, but /sys/firmware/efi exists: System does not support UEFI mode
Loading? [************************************** ]
WARNING: UEFI capsule updates not available or enabled in firmware setup
See https://github.com/fwupd/fwupd/wiki/PluginFlag:capsules-unsupported for more information.
Dell Inc. Dell System XPS L322X
... [cut] ...
See https://github.com/fedora-silverblue/issue-tracker/issues/543#issuecomment-2048350047 for a lightly tested set of commands to update your EFI bootloader until we have full bootupd support in Fedora Atomic Desktops.
I'm going to close this one as duplicate as the root of the issue and the solution is the same as https://github.com/fedora-silverblue/issue-tracker/issues/543 and https://github.com/fedora-silverblue/issue-tracker/issues/120.
Updated issue summary
Trying to update the dbx via
fwupdmgr
results in:This is the issue to collect workarounds and temporary solutions.
Duplicates:
The final fix will be: https://github.com/fedora-silverblue/issue-tracker/issues/120
Original issue text: LVFS update problems on a ThinkPad T16 Gen 1
Describe the bug The
fwupd
team thinks that an issue I'm having updating the firmware on my laptop is related to LVFS + Silverblue. I've attempted the troubleshooting they suggested on that side already.The
fwupd
issue is here: https://github.com/fwupd/firmware-lenovo/issues/269To Reproduce
Even manually booting (F12) into the firmware update UEFI entry just shows a black screen and then reboots into Fedora proper.
Expected behavior A successful firmware update.
Screenshots
n/a
OS version:
Additional context
I'm seeing similar issues on my ThinkPad T580, also with Silverblue 36.