On 01/05/2025 at 17:21, Tanaka wrote:
I ran grub-install manually and grubx64.efi disappeared from the boot entry.
This is the expected outcome. Does it reappear after a reboot ?
I am not sure, but the problem seems to be solved for the time being.
Perhaps this /File(\EFI\DEBIAN\GRUBX64.EFI). BO is not installed by Debian, but the firmware of my computer found GRUBX64.EFI in the EFI system partition and added it to the boot entry on its own.
This is what I suspect.
Is it possible to not install grubx64.efi in ESP when using shim?
No, because shim chains grubx64.efi from the same directory.You could try to install GRUB only in the "removable media path" /EFI/BOOT and not in /EFI/debian.