Hello, Le 22/08/2022 à 02:32, Steve McIntyre wrote:
On Tue, Aug 16, 2022 at 01:42:54PM +0800, Chew, Kean Ho wrote:4. Also, the strict "--bootloader-id=debian" condition where if it is changed to something else, the shimx64.efi failed to locate /boot/grub.cfg. Is this behavior a bug or expected limitation from signed shim?You might have tripped over grub_prefix not being set appropriately. Can you describe *exactly* what setup you've tried, please? There's a lot of scope for a setup mismatch here...
I guess it is a known issue I already reported. The culprit is not shimx64.efi but the signed GRUB image grubx64.efi which has the path for initial grub.cfg hardcoded as /EFI/debian.
grub-install --bootloader-id=somewherewill install grub.cfg and other files in /EFI/somewhere but GRUB will look for /EFI/debian/grub.cfg.