#783244 grub fails to boot Mac OS X

Package:
grub-common
Source:
grub2
Description:
GRand Unified Bootloader (common files)
Submitter:
Thibaut Paumard
Date:
2015-04-24 16:27:04 UTC
Severity:
normal
#783244#5
Date:
2015-04-24 14:08:30 UTC
From:
To:
Hi,

/etc/grub.d/30_os-prober generates two menu entries for booting OS X in 32bit
and 64bit mode.

When I try booting the 32bit entry, I get an error message: mach-0 doesn't
contain suitable 32-bit architecture. When I try booting the 64bit entry, my
screen remains frozen on the grub background image. I don't know whether OS X
is booting behind this frozen screen.

I manage to boot into OS X by exiting grub. Then, rEFInd loads, and I can boot
OS X from there. Attached in a snippet that provides a menu entry for that. I
*think* that the same solution would boot OS X directly if rEFInd was not
installed. Cannot test, though.

Kin regards, Thibaut.

#783244#10
Date:
2015-04-24 16:17:12 UTC
From:
To:
Hi,

chainloading works:

menuentry "Mac OS X" --class osx --class darwin --class os {
    search -l "Macintosh HD" --set=root
    chainloader /System/Library/CoreServices/boot.efi
    boot
}

(Using search is necessary because drive number changes if an external
drive is plugged in).

In addition, that's the entry that loads rEFInd for me:

menuentry "rEFInd" --class osx --class darwin --class os {
        set root=(hd0,0)
        exit
}

I think "exit" alone would do it just as well.

Kind regards, Thibaut.