this post was submitted on 16 Dec 2023
65 points (82.8% liked)

Linux

48698 readers
1418 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

How to update the BIOS on a Dell laptop running Linux

For models not supported by lvfs

Completed successfully on a Dell Inspiron 3595 running Manjaro

This fix does not require Manjaro, it should work on any distro.

It took me a looong time to figure out how to do this for various reasons, and there are a lot of forum posts on the net about this exact problem. So for posterity I offer up this guide for any future googlers.

TLDR for advanced users: Use Ventoy to boot the Windows 10 installer and open the command prompt in the "Repair my PC" menu to launch the Dell BIOS update executable from a second USB.

  1. Grab two USBs that are at least 8 GB in capacity.
  2. Download the BIOS update file from the Dell support website.
  3. Copy it to the first USB. Mine was formatted as NTFS but I don't think it's critical to the process.
  4. Download Ventoy. If you've never heard of this, spend a minute reading about it. It's a cool tool.
  5. Flash Ventoy to your second USB.
  6. Acquire an .iso of Windows 10. I chose Windows 10 because Windows 7 didn't boot on my laptop (not sure why), and Windows 11 was too heavy for the CPU. I also tried Freedos but my laptop only has UEFI boot enabled, and no legacy option, which is apparently not supported. Note - you don't actually need to install or activate Windows in any way so I didn't feel it was necessary to be too picky about how I acquired the image.
  7. Copy the Windows 10 .iso file to your Ventoy USB.
  8. Boot from the Ventoy USB and select Windows 10. (F12 on most Dell laptops to interrupt the boot sequence)
  9. Click "Repair my PC" in the bottom left hand corner - DO NOT install.
  10. Click on the "Use command prompt" option which should be in the "Troubleshoot" menu.
  11. Insert your first USB with the Dell BIOS update file on it.
  12. Change directory to your first USB. It automatically mounted mine as D: Simply type the name of the drive to change to it.
  13. Type the name of the BIOS update file to execute. For example: Inspiron_3595_1.5.0.exe If you forget the name of the file, type dir to get a list of files in the current directory.
  14. Watch the magic happen and don't freak out if it reboots more than once - just let it do its thing until it's finished.
  15. (Optional) boot into the BIOS to confirm that the update has been successful (check the version number).

The entire process was fairly quick, less than 5 mintes, and it automatically rebooted twice. The only indication I had that it was finished was that on the third reboot it booted back into Linux. I went back into the BIOS later to confirm that the BIOS version number matched the version number on the Dell website (in this case, 1.5.0).

top 24 comments
sorted by: hot top controversial new old
[–] [email protected] 48 points 1 year ago* (last edited 1 year ago) (2 children)

fwupd can install from exe using the Dell script in https://github.com/fwupd/fwupd/tree/main/contrib/firmware_packager

However that model is supported natively too: https://fwupd.org/lvfs/devices/com.dell.uefi3b49e316.firmware

IE: install gnome-firmware from flatpak or native package manager and it can do the whole thing, no need to download some exe.

[–] [email protected] 6 points 1 year ago

Best comment. This solves two cases at once.

[–] [email protected] 1 points 1 year ago

No, it isn't.

[–] [email protected] 45 points 1 year ago (5 children)

That all seems ... incredibly complicated.

Why not use fwupd? (link is the Arch wiki but should be relevant for any distro). I've been using fwupd to keep my Dell XPS15 BIOS updated for the last few years, with no problems at all.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Doesn't work on all dell laptops. Doesn't on my inspiron. But dell bios has a "update bios from flash" option. So copy the .exe file into a fat32 USB and flash it there.lol. Done. I've done it a million times.

[–] [email protected] 4 points 1 year ago

This. All my dell machines work just fine with fwupd.

[–] [email protected] 3 points 1 year ago

Came here to say this. fwupd is so good, it's almost magic, and good vendors will actually support it themselves.

[–] [email protected] 3 points 1 year ago

I can confirm works for at least the last 7 years of the entire XPS range and the last 3 years of the latitude range.

Also you can update via the bios/uefi using a usb drive anyway, just pop the exe on and pick that.

[–] [email protected] 29 points 1 year ago (1 children)

This is way too long and complicated for just a bios update. Dell laptops actually have a "update bios from flash" option in the boot menu. So all you need is a USB stick formatted to FAT32, copy the bios update file (that you download from their website) into it, boot into boot menu and choose "update bios from flash". I have done this so many times and even made a YouTube video about it.

[–] [email protected] 2 points 1 year ago

Mostly on the newer bios machines. Older ones don't. Same for hp. Lenovo is all over the place.

[–] [email protected] 6 points 1 year ago (1 children)

Does Dell... not offer a way to update the bios via flash drive or network? The fuck? Every board I've ever owned had the option to at least flash from USB.

[–] [email protected] 7 points 1 year ago

They do. Even back in their pre-UEFI days, it was possible to flash BIOS from a properly-formatted USB drive by holding down a magic key combination at power on. But it was not exactly publicized as a supported method.

[–] [email protected] 3 points 1 year ago

Other thing: so many Laptops dont get updates anymore. I wonder if we could squeeze one out for the Logofail vulnerability

[–] [email protected] 3 points 1 year ago

Ubuntu does it automatically from the software app. But DellXPS 13 might be natively supported..

[–] [email protected] 2 points 1 year ago

Thanks so much for this post! Ventoy is really the tool I never knew I really needed. Up to now, I have been reflashing and juggling sticks with various ISOs.

But even better, now I could finally update the BIOS on my Framework 13!

[–] [email protected] 2 points 1 year ago (1 children)

Next time buy from vendors who use USB flash drive or bootable CD-ROM.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

Next time buy from vendors which support fwupd.

[–] [email protected] 15 points 1 year ago* (last edited 1 year ago)

Actually Dell supports fwupd very well.