Re: Can't install Debian to CF card in SATA adapter
Hi,
Mike wrote:
> booting to the EFI Shell, I
> can access the EFI parition, cd to EFI/debian and manaully call
> shimx64.efi, giving the following output:
>
> Reloc 0 block size 0 is invalid
> Relocation failed: Unsupported
The web has remarkably few info on that problem.
The best i found is
https://www.mail-archive.com/edk2-devel@lists.01.org/msg39858.html
"These messages are printed by the "shim" UEFI application:
https://github.com/rhboot/shim/blob/master/shim.c
probably when it attempts to load "grub"."
leading to
https://github.com/rhboot/shim/commit/956717e2b375d7c7f0faafec8f12a7692708eb9awhich meanwhile wandered from shim.c to pe.c, line 108:
https://github.com/rhboot/shim/blob/17f02339ed1be9e90738603fe3c95ae7dc300061/pe.c
The function is named "relocate_coff". The web explains in detail what
COFF is and what relocation means in that context.
All in all i get the impression that shimx64.efi complains about grubx64.efi
being a bad binary.
(Next i would try to compare that grubx64.efi with a grubx64.efi that is
known to work.)
Have a nice day :)
Thomas
Reply to: