Bug#699038: grub-efi-amd64-bin: Transition grub-pc -> grub-efi fails due to missing FS driver module

Jens G debbug.2011 at arcor.de
Sat Jan 26 16:56:02 UTC 2013


Package: grub-efi-amd64-bin
Version: 1.99-26
Severity: important

Hi,

I recently moved from grub-pc/GPT to grub-efi/GPT (dual boot with Win 8).
After successfully installing Grub to the ESP and getting the UEFI to run
grubx64.efi Grub (after welcomming me) complained:

| error: invalid arch independent ELF magic.
| grub rescue>

At this prompt I could list the available partitions but I couldn't access
their content via "ls (hdx,gpty)". Commands other than "ls" weren't
accessible either, so the system was "user-unbootable". I assume Grub could
not access it's grub.cfg or remaining modules.

This happend when running grubx64.efi from an EFI-shell (v1) and with the
normal UEFI boot sequence. However, when I used the previously installed
rEFInd boot manager to launch grubx64.efi, Grub worked just fine.

AFAIK rEFInd contains some file system drivers. So I installed Grub under a
second label and added

| --modules="part_gpt ext2"

to the grub-install invocation. This produced a different grubx64.efi but
with the same size as the first one.

Accidently running the FIRST grubx64.efi, it now worked using either UEFI
boot or EFI-shell!

Does grub-efi use the GPT boot partition similar to grub-pc? If so, did
grub-install add the ext2.mod there so that both Grub instances can now
access the remaining modules on the (separate) ext3 /boot partition?

If more information is needed I'll try to help but I tried an awful lot of
things to get the UEFI/Win8/GPT/Linux/Grub thingy working, may not remember
/all/ of it and am loth to do anything disruptive at this point.

Regards
Jens

-- System Information:

Mainboard: Asus M5A99X EVO, BIOS:1604

Debian Release: 6.0.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'proposed-updates'), (181, 'testing'), (180, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=UTF-8) (ignored: LC_ALL set to de_DE.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-efi-amd64-bin depends on:
ii  efibootmgr                    0.5.4-2    Interact with the EFI Boot Manager
ii  grub-common                   1.99-26    GRand Unified Bootloader (common f

grub-efi-amd64-bin recommends no packages.

grub-efi-amd64-bin suggests no packages.

-- no debconf information



More information about the Pkg-grub-devel mailing list