Rebooting after update causes "grub_calloc" error. Trying to restore grub on encrypted system - luks & EFI

see this topic

also before going in chroot check
in terminal

inxi -Mxxxa
test -d /sys/firmware/efi && echo efi || echo bios
sudo parted -l 
sudo efibootmgr -v