On 30/08/2024 23:42, Felix Miata wrote:
Max Nikulin composed on 2024-08-30 23:09 (UTC+0700):
How does grubx64.efi find where grub.cfg is located?
I don't know what doc might report this, but in a file viewer I see a string
like
(,gpt7)/boot/grub) embedded in a vast sea of nulls 98% of the way into the file.
Does UEFI secure boot allows modification of some part of a signed .efi
binary without invalidating its signature?
/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed is copied verbatim to
EFI/*/grubx64.efi. I still believe there is a reason why
"(,gpt7)/boot/grub" is written to EFI/*/grub.cfg when secure boot is used.