How-Tos

How-To: Check for and Install UEFI Firmware Updates on Linux With fwupd

Leave a comment

The EDK II PXE bug is a good reminder that a patched kernel doesn’t patch your BIOS. Here’s how I check firmware on my Linux boxes and Omarchy laptop. Everything up to the last step is read-only.

1. Install fwupd

sudo pacman -S fwupd        # Arch / Omarchy
sudo apt install fwupd      # Debian / Ubuntu

2. See what firmware you’re running

sudo dmidecode -s bios-version
sudo dmidecode -s bios-release-date
fwupdmgr get-devices

If the release date is older than the vendor’s last fix, you’ve got homework.

3. Check Secure Boot and the security report

bootctl status | grep -i 'secure boot'
fwupdmgr security

fwupdmgr security prints a Host Security ID (HSI) report: Secure Boot, TPM, BIOS write protection and more.

4. Look for updates

fwupdmgr refresh
fwupdmgr get-updates

This pulls metadata from the Linux Vendor Firmware Service (LVFS). Many laptops (Dell, Lenovo, HP) publish there. A lot of servers don’t, so for those use the vendor’s own tooling or the BMC.

5. Apply (this one changes things)

fwupdmgr update

Plug in AC power, have a backup, and expect a reboot. UEFI capsule updates flash during the next boot.

No update yet?

If your vendor hasn’t shipped the fix, turn off PXE/network boot in firmware setup on machines that don’t need it, and keep provisioning networks isolated. My network boot how-to walks through that.

God Bless, and Use the Source!

References & Further Reading

Subscribe (RSS) Follow How-Tos via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.