Help with Linux EFI entry lost after BIOS update
I recently bought a GTX 1060 and I am using the almost forgotten Windows partition again (it was already installed), then my Gigabyte motherboard tools warned me that I had a BIOS update and I forgot it erased my BIOS configuration and now I can't boot Arch Linux anymore. The EFI entry disappeared and I have some work to do tonight, the problem is: I recently moved to this house and lost my Arch ISO, my girlfriend broke my only USB flash drive and tomorrow is a national holiday and I can't buy a blank CD or a new USB flash drive (yeah, I'm lucky). How can I fix it from Windows?
tl;dr: I JUST have a Windows 8.1 working (no CDs or flash drives) and need to restore a lost EFI Arch entry after a BIOS update.
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 7d07eb
9 comments
I use systemd-boot I managed to fix it using the command "# bcdedit /set "{bootmgr}" path "\EFI\systemd\systemd-bootx64.efi" in Windows command prompt, then I started Arch and updated systemd-boot. I couldn't find an option to edit the EFI commands in my BIOS Thanks for the help!
Which bootloader?
You won't be able to fix this in windows
You can mount the EFI partition in windows, drop an EFI shell in there and use it to boot arch (depending on mobo, you might be able to just boot Arch's bootloader directly if they offer you to browse for a file to launch). Or have the windows bootloader entry in firmware boot arch. Or use EasyUEFI to add an entry for arch. It's not impossible to fix from within windows.
not that it matters, but some boards have a uefi shell you can access easily. i've used this in the past (
bcfg) to fix/recreate bootloader entries.You just need to add a link to the efi binary back to your bios. EFI machines should have the ability to add boot entries in the bios, and a simple file browser to find the efi binary.
well, they should, but mine doesn't for example. suppose problem is with uefi firmwarenot finding all .efi binaries in /EFI/ directory of ESP.
Refind has done the best job for me at finding bootable partitions. I haven't installed it from Windows yet, but it looks like you can do it with just the command line.
You 'might' be able to boot that specific partition if you can get to the boot device menu. Usually shows all EFI partitions. <- if you have more than one EFI partition, multiple HDDs
EDIT: My original answer won't work with a UEFI system, because Windows is a broken POS. Sorry!
https://sourceforge.net/projects/grub2win/