You are not logged in.

#1 2013-01-13 20:50:07

justl
Member
From: The Netherlands
Registered: 2011-08-26
Posts: 19

[SOLVED] UEFI-boot stopped working after bios-update

After a BIOS-update my system complains about "no bootable devices found", but when I insert the Arch USB-media with EFI-support, the usb-bootloader does find my refind-bootloader and can succesfully load it...

Obviously I tried downgrading my BIOS-firmware, sadly without success.

Other things I've tried:
- Resetting BIOS to defaults and removing CMOS-battery
- Recreate + format my EFI-fat partition
- Remove my entries with efibootmgr and add refind-entry again
- Reinstalled refind (but that shouldn't be the problem as it loads without any problems via the USB-media)

Some info about my system that could be important(?):
I'm using GPT partitions with a SSD (I've also recently installed an extra HDD which still has a legacy grub2 entry on it)
The motherboard I'm using is an Intel DH77EB


This is really starting to give me headaches :-(
Any suggestions are welcome but I'm already starting to think about going back to legacy bios..

Last edited by justl (2013-01-14 12:54:43)

Offline

#2 2013-01-13 22:00:34

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [SOLVED] UEFI-boot stopped working after bios-update

What is the output from efibootmgr -v?

Where are things on your EFI partition? What is your partition layout?

Have you tried copying the rEFInd .efi to /boot/efi/EFI/boot/bootx64.efi?

Which firmware and version do you have installed?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-01-13 23:41:11

srs5694
Member
From: Woonsocket, RI
Registered: 2012-11-06
Posts: 719
Website

Re: [SOLVED] UEFI-boot stopped working after bios-update

Firmware updates usually wipe the NVRAM entries, which store data on your boot loaders. The official solution is to re-run efibootmgr (or a similar tool in another OS) to re-register whatever boot loader(s) you want to use. Follow the original installation instructions for your boot loader to do this. An alternative is to copy the boot loader so that it uses the name EFI/BOOT/bootx64.efi, as cfr suggests.

Offline

#4 2013-01-14 12:50:08

justl
Member
From: The Netherlands
Registered: 2011-08-26
Posts: 19

Re: [SOLVED] UEFI-boot stopped working after bios-update

Thank you both for your suggestions!

I've just tried copying the rEFInd .efi to /boot/efi/EFI/boot/bootx64.efi and it works! Only thing was I now had two options in refind, first booted Arch, the second got me in a loop where it loaded rEFInd again but this time in a defunct way.
I added

dont_scan_dirs EFI/boot

to /boot/efi/EFI/refind/refind.conf and now everything works like a charm!

Could anyone maybe explain why it worked before without EFI/boot/bootx64.efi ?

Also @srs5694 I would have expected my NVRAM to be empty, the strange thing is efibootmgr -v still had all the entries from before the BIOS-update (if I remember correctly even when I pulled out cmos battery for a long time those entries were still there..)

Anyway, I'll mark this as solved, thanks a lot!

Offline

#5 2013-01-15 05:31:28

srs5694
Member
From: Woonsocket, RI
Registered: 2012-11-06
Posts: 719
Website

Re: [SOLVED] UEFI-boot stopped working after bios-update

justl wrote:

Thank you both for your suggestions!

I've just tried copying the rEFInd .efi to /boot/efi/EFI/boot/bootx64.efi and it works! Only thing was I now had two options in refind, first booted Arch, the second got me in a loop where it loaded rEFInd again but this time in a defunct way.
I added

dont_scan_dirs EFI/boot

to /boot/efi/EFI/refind/refind.conf and now everything works like a charm!

Could anyone maybe explain why it worked before without EFI/boot/bootx64.efi ?

Before reading the below, I'd have said it worked because you had suitable NVRAM entries then, but you no longer do. I'll have to modify that, though, to say that something must have changed in your NVRAM entries....

Also @srs5694 I would have expected my NVRAM to be empty, the strange thing is efibootmgr -v still had all the entries from before the BIOS-update (if I remember correctly even when I pulled out cmos battery for a long time those entries were still there..)

Without seeing the complete "efibootmgr -v" output, I can't say with certainty, but my hunch is that something critical but non-obvious has changed. My first guess is that the BootOrder entry is now empty, or omits rEFInd from the list. It could be something else, though, such as an altered pathname or GUID on the relevant entry.

Offline

#6 2013-01-15 05:43:36

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] UEFI-boot stopped working after bios-update

I have updated my Thinkpad's bios twice in a fruitless attempt to fix a problem that turned out to not be related to the bios.  Anyway, the first time I totally expected the NVRAM entries to disappear as well, but they remained.  This was also the case for the second bios update I performed.  What didn't stay consistent were most of the settings in the bios.  Strangely though, the hardware that I had turned off from the bios (fingerprint reader, WWAN, webcam) stayed set to disabled and the NVRAM entries were there... yet everything else was back to the defaults.  Peculiar, eh?

Offline

Board footer

Powered by FluxBB