Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No bootable device detected after installing Gentoo and GRUB
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
Andrew12387306
n00b
n00b


Joined: 05 Oct 2024
Posts: 1

PostPosted: Sat Oct 05, 2024 3:25 pm    Post subject: No bootable device detected after installing Gentoo and GRUB Reply with quote

Greetings, comrades! After installing Gentoo via Chrooting into the stage3 tar package on a Linux Mint live USB and installing GRUB I get the following message when I try to power on my laptop:
NO BOOTABLE DEVICE DETECTED. INSERT BOOT DISK AND PRESS ANY KEY.

I installed grub by running the following commands (neither of which returned any errors):
grub-install /dev/nvme0n1
grub-mkconfing -o /boot/grub/grub.cfg

I also had the grub and efibootmgr packages installed.
Here is how my hard disk is partitioned: https://ibb.co/XSQDrFh

I've tried to reinstall grub, but the problem won't go away. As I understand it, I've messed something up with my grub installation.
If anyone here has any idea why this might be happening and how to fix it, please help.
Back to top
View user's profile Send private message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 207
Location: Ancient Rome

PostPosted: Sat Oct 05, 2024 3:42 pm    Post subject: Reply with quote

Try adding boot and esp flags to /dev/nvme0n1p1, what directories are on the nvme0n1p1?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sat Oct 05, 2024 4:14 pm    Post subject: Reply with quote

Andrew12387306,

Welcome to Gentoo.
Your error message is from your PC firmware, not Gentoo.

The firmware cannot identify the ESP partition. From your screenshot, that looks like /dev/nvme0n1p1
You need the ESP flag set here but the flags column is blank.

Setting the flag will not harm the rest of your install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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