Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't boot after running stupid efibootmgr commands [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Bobbbay
n00b
n00b


Joined: 15 Jul 2020
Posts: 47
Location: Everywhere

PostPosted: Wed Aug 26, 2020 11:15 pm    Post subject: Can't boot after running stupid efibootmgr commands [SOLVED] Reply with quote

So in short, I ran efibootmgr commands to clean up the list. Seems like I must have done something wrong, because now my system doesn't boot to Gentoo. I've plugged in my USB and that isn't booted to/recognized either. I'm currently flashing a new USB to see if I can boot to that.

In short, what can I do? Cheers!

EDIT: solved, all I had to do is grab a new USB, boot to it, chroot, and follow the end of the bootloader section to efibootmgr myself a new boot (for me it was at '\EFI\gentoo/grubx64.efi'). Cheers!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16011

PostPosted: Thu Aug 27, 2020 1:35 am    Post subject: Reply with quote

In some, although possibly not all, firmware implementations, you could instead have dropped to a UEFI shell, used that to manually boot Linux once, and from there run the command to repair the boot order. If this worked, it would avoid the need for external boot media, which could be particularly helpful if you did not have such media lying around and had no working systems from which to create it. Unfortunately, in my experience, UEFI shells are not well standardized, so I cannot tell you how exactly you would enter the shell or how to direct it to boot Linux.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3517

PostPosted: Thu Aug 27, 2020 6:22 am    Post subject: Reply with quote

Hu wrote:
In some, although possibly not all, firmware implementations, you could instead have dropped to a UEFI shell, used that to manually boot Linux once, ...

Some BIOSes even provide the possibility to Add Boot Option
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum