Welcome to grub… hell

Problem: grub gets stuck after an system-update at “welcome to grub” and uefi-setup is loading…

Additional information: This did not only struck me…
It’s a broken grub package from 26.08.2022 – FS#75701 – grub 2:2.06.r322.gd9b4638c5-1 issue
www.reddit.com/r/linuxmemes/
https://bbs.archlinux.org/viewtopic.php?id=279115
https://bugs.archlinux.org/task/75701#comment210566

Solution:
1) boot from arch usb-stick
2) get information about the system

parted -l
lsblk

3) perpare the system
Mount root and boot partition

cryptsetup open /dev/nvme0n1p2 crypto_LUKS
+ Enter passphrase (be careful about the keyboard layout)
mount -o subvol=@ /dev/mapper/crypto_LUKS /mnt
mount /dev/nvme0n1p1 /mnt/boot

4) change to chroot
arch-chroot /mnt

5) Repair grub
How to fix the error “symbol ‘grub_calloc not found”: Mount EFI partition to /boot/EFI before installing Grub

mount /dev/nvme0n1p1 /boot/EFI
grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=GRUB --recheck
grub-mkconfig -o /boot/grub/grub.cfg

6) reboot
exit
reboot

Resources:
https://wiki.ubuntuusers.de/GRUB_2/Reparatur/#Reparatur-mittels-Desktop-CD
https://www.pro-linux.de/kurztipps/2/1687/luks-mit-rettungssystem-%C3%B6ffnen.html
https://bbs.archlinux.org/viewtopic.php?id=257865

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.