It would seem that *not* setting the prefix in grubx64.efi would be a better solution as long as the current directory is the one containing the grubx64.efi file, such that the grub.cfg is right there ready to be processed. That would eliminate embedding a path in grubx64.efi.
- Bug#984759: grub2-common: grub-install/2.02+dfsg1-20+deb10u4 ignores --... YW
- Bug#984759: grub2-common: grub-install/2.02+dfsg1-20+deb10u4 ignor... YW