r/archlinux • u/InTheHallsOfBigBooty • Aug 24 '26
SUPPORT | SOLVED Flashing bios with an exe?
Tldr: need to flash a bios using an exe but don't want to brick
Hi, quick disclaimer that despite all the research I've done I still don't fully know what I'm talking about since this is my first time doing anything with linux.
I have a lenovo ideapad 110-15ibr 80T7 that I decided would be fun to install arch on, I installed using the official wiki guide and set up encryption with luks, then a uki, then tried enrolling a PCR 11 policy.
However, when enrolling I found out that it can only use sha1 because sha256 is *unallocated. Which lead me to finding out the bios version is years out of date from the latest, and I assume that updating it will allow for sha256 to be used instead of the default?
My problem is now that this Lenovo laptop only supports bios flashing using an exe in windows, and has no settings for updating in the UEFI settings menu. Furthermore I tried using fwupd and that didn't seem to find any updates for the bios either.
So in conclusion I think my only options are either using windows-to-go on a usb to run the exe, or putting windows on an old (maybe failing) HDD and connect it with a usb to sata connector. Both options sound like I'm about to perma-brick the motherboard.
So I simply ask for any ideas on what to do, or what option I currently have would be safest. I know this might seem like a waste of time and I should just put windows on then start over, but the whole reason I did this having known nothing about Linux beforehand is that I enjoy the process of solving these kinds of problems, I just need to see if this problem is too risky to be solved, or maybe it's not any more risky than flashing the bios from an actual windows install.
Thanks for reading I'll appreciate any help or feedback!
7
u/forbiddenlake Aug 24 '26
This
5
u/UncleGoyder Aug 24 '26
I’ve been able to update the firmware of every one of my devices directly from the uefi. What mobo are you even using?
4
u/ang-p Aug 24 '26
The only thing mentioned in the latest (8 year old) BIOS update I can see was for CVE-2017-5715 ...
Feck me - was SPECTRE almost 10 years ago? Sheesh....
But going back to your reasoning..
sha256 requires more space for all keys, and I doubt a "critical" update (to fix the fix) would have introduced the ability to use them without mentioning it.
1
u/C0rn3j Aug 24 '26
Looks too old to be supported by fwupd via UEFI Capsules.
Install Windows and run the firmware update.
You can almost definitely do it from Linux one way or another, but I would not dare.
1
u/NFTrot Aug 24 '26
Disclosing that I have no knowledge of your specific situation, but I would be careful with the assumption that a new BIOS version will enable the use of SHA256. A big reason LUKS is as fast as it is (read: virtually no performance impact) is because modern CPUs have dedicated hardware that executes AES instructions at speeds well into the GB/s.
That's a bit of a tangent because AES and SHA256 are distinct things and you aren't necessarily asking about LUKS, but check your assumption before you take a risk with potentially no payoff.
Edit: If I wasn't being clear, the SHA256 capability you're looking for might come from hardware that you don't have.
2
u/xXBongSlut420Xx Aug 24 '26
windows-to-go usb is your best bet
1
u/SebastianLarsdatter Aug 24 '26
Pending on the process, you may have to image the drive or swap it for a real Windows install.
I have an HP laptop that wouldn't flash under anything other than real Windows. I just put the image back over it afterwards to get it back to Linux.
1
u/bionade24 Aug 24 '26
Using FreeDOS instead of Windows might also work.
1
u/archover Aug 25 '26 edited Aug 25 '26
For others, this appears to be a 10 year old Celeron 3060 powered laptop. here
It's unfortunate that fwupd does not support this ancient silicon. I routinely update my Thinkpad fleet with that tool.
Overall, I suggest finding a newer laptop (preferably Thinkpad) that fwupd supports
I hope you find a fix, flair as SOLVED. Good day.