Package: grub-efi-amd64 Version: 1.99~rc1-3 Tags: patch I tried to get grub-efi-amd64 working on a recent macbook.
It would boot into rescue mode, but trying to insmod anything would
result in error messages like "invalid arch independent EFI magic".
phcoder on #grub produced a patch to grub-install which let me get to a
functional grub shell. (i applied the patch to grub-install, then
re-ran grub-install -- i had to do this while booted in rescue mode from
a d-i CD).
The patch is attached. Thanks to phcoder for finding the problem and
fixing it!
--dkg
=== modified file 'util/grub-install.in' --- util/grub-install.in 2011-02-09 11:23:11 +0000 +++ util/grub-install.in 2011-03-05 23:52:24 +0000 @@ -367,7 +367,7 @@ case "$target_cpu" in i386) efi_file=BOOTIA32.EFI ;; - x86-64) + x86_64) efi_file=BOOTX64.EFI ;; # GRUB does not yet support these architectures, but they're defined # by the specification so we include them here to ease future @@ -381,7 +381,7 @@ case "$target_cpu" in i386) efi_file=grubia32.efi ;; - x86-64) + x86_64) efi_file=grubx64.efi ;; # GRUB does not yet support these architectures, but they're defined # by the specification so we include them here to ease future
signature.asc
Description: OpenPGP digital signature

