Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
In Case Your System Drive Doesn't Show Up After Installing.
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
Jojobinha_2009
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2021
Posts: 77
Location: Brazil

PostPosted: Fri May 14, 2021 10:22 pm    Post subject: In Case Your System Drive Doesn't Show Up After Installing. Reply with quote

Just a small heads up, some motherboards, especially MSI ones, have picky firmwares and absolutely require the bootloader's EFI executable to be copied to "EFI/BOOT".
If the file is not there, the firmware simply won't find any bootable drive!

I use a MSI motherboard so whenever I install Gentoo, I make sure I copy GRUB's "grubx64.efi" file to "/boot/EFI/BOOT/BOOTX64.EFI"
I don't know if renaming the executable as "BOOTX64.EFI" is absolutely necessary, but I do it just to be safe.

If there is no "/boot/EFI/BOOT" folder, you must create it.


I can't forget the dispair I felt after spending 6+ hours fresh installing only to find out the newly built OS doesn't boot... 8O :lol:

Note: This only happened to me once, the first time I tried installing Gentoo.
_________________
Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB

Powered by Gentoo for x86_64

======================================================

Seize the day, and remember to have fun!
Back to top
View user's profile Send private message
xyxx
n00b
n00b


Joined: 14 Apr 2021
Posts: 7

PostPosted: Fri May 14, 2021 11:16 pm    Post subject: Reply with quote

efi/boot/bootx64.efi is the default path for uefi firmware to find a bootable efi binary if no valid boot entry is presented. I'd think it's more likely you have misconfigured grub. Because then your computer is not capable of dual booting two systems using efi stub, no? This shouldn't happen on modern hardware...
_________________
Ich bin eine Maus.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4236
Location: Bavaria

PostPosted: Sat May 15, 2021 8:20 am    Post subject: Reply with quote

xyxx wrote:
efi/boot/bootx64.efi is the default path for uefi firmware to find a bootable efi binary if no valid boot entry is presented. I'd think it's more likely you have misconfigured grub.

No, you cant misconfigure grub here.

You have only two ways for this problem:

1. Creating an UEFI boot-entry with "efibootmgr -c ..." went wrong (this will be done internal when installing grub2; or you can do it by yourself), or
2. The mainboard is really doing wrong things, like e.g. ONLY boot an "efi/boot/bootx64.efi" (like this MSI)
Back to top
View user's profile Send private message
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 437

PostPosted: Sat May 15, 2021 12:29 pm    Post subject: Reply with quote

Last year, when the default partitioning scheme in the handbook was four partitions with a bios partition in front of the uefi partition, I tried that for an Asus X570 board. It would not recognize it. Reinstalling without the bios partition worked.

I am also glad that the handbook has been updated regarding partitioning.
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