Subject: bug#551: GRUB config not loaded because of hardcoded debian reference in GRUB EFI binary

From: Benjamin Boudoir <[email-masked]>
Date: Thu, 18 Feb 2021 11:13:36 +0100

Package: grub-efi-amd64-bin
Version: 2.02+dfsg1-20+deb10u3

Hi,

I had to switch to GRUB EFI and after reboot, I was prompted with a GRUB 
shell.

It seems to be because grub-install install the grub.cfg in EFI/devuan 
while the grub binary explicitly search in EFI/debian :
# strings /boot/efi/EFI/devuan/grubx64.efi |grep EFI/
/EFI/debian

Copying the grub.cfg in EFI/debian/ fixed the issue, so maybe we should 
recompile the GRUB binary with devuan paths ?

Regards,

-- 
Benjamin Boudoir