Skip to content

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.

2 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
7d07eb

Author

8
posts
23
comments
1
media
View profile

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!

5 points

Which bootloader?

You won't be able to fix this in windows

4 points

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.

2 points

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.

1 points

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.

3 points

well, they should, but mine doesn't for example. suppose problem is with uefi firmwarenot finding all .efi binaries in /EFI/ directory of ESP.

1 points

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.

2 points

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

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.