… by restoring GRUB for crypted disks
After system update and reboot, GRUB failed with this error symbol 'grub_calloc' not found
.
- fix it with these commands
1fsck /dev/nvme0n1p*
2efibootmgr -c --disk /dev/nvme0n1
3efibootmgr -v /dev/nvme0n1
-
check in your BIOS if EFI boot is always configured (link to /boot/efi/EFI/arch/grubx64.efi)
-
in bonus, if you want to mount your crypted system
1cryptsetup open /dev/nvme0n1p3 data
2pvs
3vgs
4vgchange -ay
5lsblk -fs
6mount /dev/mapper/arch-root /mnt/
7mount /dev/mapper/arch-home /mnt/home/
8mount /dev/nvme0n1p2 /mnt/boot/
9mount /dev/nvme0n1p1 /mnt/boot/efi/ # for UEFI systems
10arch-chroot /mnt