# Since the GRUB issue around the end of August 2022 I have had to chroot in and reinstall GRUB every time I update my system. # I have been getting the grub_debug_malloc not found error on boot. # The only remediation I have been able to implement is the following. # Decrypt luks partition cryptsetup luksOpen /dev/nvme1n1p2 crypt_device # Mount root mount /dev/mapper/crypt_device /mnt # Mount /boot/efi Sometime this will not work and the /boot/efi directory needs to be specified with grub-install. See below. mount /dev/nvme1n1p1 /mnt/boot/efi # Mount extra system odds and ends for i in /dev /dev/pts /proc /sys /run; do mount -B $i /mnt$i; done # Chroot into system chroot /mnt # Reinstall GRUB sudo grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --no-nvram --removable # Remake GRUB config sudo grub-mkconfig -o /boot/grub/grub.cfg # Exit chroot exit # Reboot system reboot