Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Solved) System Unable to Boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 40

PostPosted: Fri Mar 22, 2024 11:06 pm    Post subject: (Solved) System Unable to Boot Reply with quote

Hello folks, hope everyone is doing good. I did a system update today, as usual every week, but I am not able to boot the system. When I power it on, the 'Welcome to GRUB' window flashes for a moment and it just restarts back again and goes to UEFI. I am posting this by booting up from a live Linux Mint, that I always keep handy. I ran the following commands during update:

doas emaint sync -a
doas emerge -avuD @world
doas emerge --depclean
doas eclean-dist -d
doas eclean-kernel

Following are the contents of my /boot directory:

mint@mint:/mnt/hm$ tree boot/
boot/
├── System.map-6.1.31-gentoo-dist
├── System.map-6.1.31-gentoo-dist.old
├── config-6.1.31-gentoo-dist
├── config-6.1.31-gentoo-dist.old
├── grub
├── initramfs-6.1.31-gentoo-dist.img
├── initramfs-6.1.31-gentoo-dist.img.old
├── vmlinuz-6.1.31-gentoo-dist
└── vmlinuz-6.1.31-gentoo-dist.old

1 directory, 8 files

I did remove old kernel files beforehand, is that causing this issue? Please let me know if you need any additional information. Thanks for reading.
_________________
Regards,
ultimeight.

"A Computer is like an air conditioner - it becomes useless when you open Windows." - Linus Torvalds.


Last edited by ultimeight on Sat Mar 23, 2024 1:35 am; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4160
Location: Bavaria

PostPosted: Fri Mar 22, 2024 11:48 pm    Post subject: Reply with quote

Please re-install grub according to this thread: https://forums.gentoo.org/viewtopic-t-1167954-highlight-.html
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 40

PostPosted: Sat Mar 23, 2024 1:20 am    Post subject: Reply with quote

pietinger wrote:
Please re-install grub according to this thread: https://forums.gentoo.org/viewtopic-t-1167954-highlight-.html


I reinstalled grub, now I get the GRUB Menu, but I get the following message after hitting enter:

Code:
Loading Linux 6.6.21-gentoo-dist ...
error: symbol 'grub_is_shim_lock_enabled' not found.
Loading initial ramdisk ...
error: symbol 'grub_is_shim_lock_enabled' not found.

Press any key to continue ...


After hitting enter it takes me back to GRUB Menu.

Am I supposed to re-emerge GRUB? I ran the following commands after mounting partitions:

grub-install --target=x86_64-efi --efi-directory=/boot/grub
grub-mkconfig -o /boot/grub/grub.cfg
_________________
Regards,
ultimeight.

"A Computer is like an air conditioner - it becomes useless when you open Windows." - Linus Torvalds.
Back to top
View user's profile Send private message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 40

PostPosted: Sat Mar 23, 2024 1:34 am    Post subject: Reply with quote

I had made a mistake while running the install command, the --efi-directory had the wrong path. /boot instead of /boot/grub, I am a dumbass. Thank you for the prompt response @pietinger, marking the post as solved.
_________________
Regards,
ultimeight.

"A Computer is like an air conditioner - it becomes useless when you open Windows." - Linus Torvalds.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4160
Location: Bavaria

PostPosted: Sat Mar 23, 2024 2:38 am    Post subject: Reply with quote

ultimeight wrote:
Thank you for the prompt response

You are very Welcome ! :D
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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