View previous topic :: View next topic |
Author |
Message |
ultimeight n00b
Joined: 09 Apr 2023 Posts: 60
|
Posted: Fri Mar 22, 2024 11:06 pm Post subject: (Solved) System Unable to Boot |
|
|
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.
Last edited by ultimeight on Sat Mar 23, 2024 1:35 am; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5069 Location: Bavaria
|
|
Back to top |
|
|
ultimeight n00b
Joined: 09 Apr 2023 Posts: 60
|
Posted: Sat Mar 23, 2024 1:20 am Post subject: |
|
|
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. |
|
Back to top |
|
|
ultimeight n00b
Joined: 09 Apr 2023 Posts: 60
|
Posted: Sat Mar 23, 2024 1:34 am Post subject: |
|
|
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. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5069 Location: Bavaria
|
|
Back to top |
|
|
|