Error: Symbol 'grub_is_using_legacy_shim_lock_protocol' Not found [Solved]
from infjarchninja@lemmy.ml to linux@lemmy.ml on 19 Aug 09:49
https://lemmy.ml/post/34901754

I booted into my Manjaro gaming rig this morning for its weekly update check and got this error message.

Error: Symbol ‘grub_is_using_legacy_shim_lock_protocol’ Not found

seems like grub is not installed.

I noticed the warning after the last update a week ago regarding grub.

A single line in the pacman terminal output is not really good enough. I did nothing at the time

I dont use btrfs only ext4.

FIXED:

inserted a manjaro live usb

selected efi-usb

booted into the live manjaro distro

opened terminal

input two commands

manjaro-chroot -a

install-grub

++++++++++++++++++++++++++++++++++++++++

[manjaro /]# manjaro-chroot -a  ✔ grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map. ==> Mounting (ManjaroLinux) [/dev/sda2] –> mount: [/mnt] –> mount: [/mnt/boot/efi]

[manjaro /]# install-grub Grub will be installed on: EFI Installing for x86_64-efi platform. Installation finished. No error reported. Update UEFI Fallback file: /boot/efi/EFI/Manjaro/grubx64.efi Generating grub configuration file … Found theme: /usr/share/grub/themes/manjaro/theme.txt Found linux image: /boot/vmlinuz-6.15-x86_64 Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.15-x86_64.img Found initrd fallback image: /boot/initramfs-6.15-x86_64-fallback.img Found linux image: /boot/vmlinuz-6.12-x86_64 Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.12-x86_64.img Found initrd fallback image: /boot/initramfs-6.12-x86_64-fallback.img Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. ERROR: mkdir /var/lock/dmraid grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map. Adding boot menu entry for UEFI Firmware Settings … Root filesystem isn’t btrfs If you think an error has occurred, please file a bug report at “github.com/Antynea/grub-btrfs” Found memtest86+ image: /boot/memtest86+/memtest.bin Found memtest86+ EFI image: /boot/memtest86+/memtest.efi done Warning: GRUB bootloader at ‘/boot/efi/EFI/Manjaro’ was updated. Your booted entry ‘’ is not the same as ‘Manjaro’. This may be a rescue ISO, but if not check your EFI boot priority.

REBOOT

#linux

threaded - newest

Novocirab@feddit.org on 19 Aug 10:57 collapse

Thanks for updating your post with the solution that you found! Best also prepend something like “[Solved]” to the post title.

infjarchninja@lemmy.ml on 19 Aug 11:13 collapse

Thank you

I shall update the post to title to [Solved]

new user learning

Novocirab@feddit.org on 19 Aug 12:04 collapse

Cool!

infjarchninja@lemmy.ml on 20 Aug 13:12 collapse

Hey Novocirab

Thank you