GRUB cannot boot into MAC OS X

Bug #681928 reported by komputes on 2010-11-26
This bug report is a duplicate of:  Bug #388135: [grub2] fails to start OS X. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: grub

After installing Ubuntu 10.10 on a Mac Book Pro 7,1 GRUB recognises and displays boot options for Mac OS X. There are two entries (32 and 64 bit) that do not boot from GRUB:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Mac OS X (32-bit) (on /dev/sda2)" {
 insmod part_gpt
 insmod hfsplus
 set root='(hd0,gpt2)'
 search --no-floppy --fs-uuid --set 81604fb7a249b2f4
        load_video
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume = 0 ]; then
           xnu_uuid 81604fb7a249b2f4 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel /mach_kernel boot-uuid=${uuid} rd=*uuid
           if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
              xnu_mkext /System/Library/Extensions.mkext
           else
              xnu_kextdir /System/Library/Extensions
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}
menuentry "Mac OS X (64-bit) (on /dev/sda2)" {
 insmod part_gpt
 insmod hfsplus
 set root='(hd0,gpt2)'
 search --no-floppy --fs-uuid --set 81604fb7a249b2f4
        load_video
        set do_resume=0
        if [ /var/vm/sleepimage -nt10 / ]; then
           if xnu_resume /var/vm/sleepimage; then
             set do_resume=1
           fi
        fi
        if [ $do_resume = 0 ]; then
           xnu_uuid 81604fb7a249b2f4 uuid
           if [ -f /Extra/DSDT.aml ]; then
              acpi -e /Extra/DSDT.aml
           fi
           xnu_kernel64 /mach_kernel boot-uuid=${uuid} rd=*uuid
           if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
              xnu_mkext /System/Library/Extensions.mkext
           else
              xnu_kextdir /System/Library/Extensions
           fi
           if [ -f /Extra/Extensions.mkext ]; then
              xnu_mkext /Extra/Extensions.mkext
           fi
           if [ -d /Extra/Extensions ]; then
              xnu_kextdir /Extra/Extensions
           fi
           if [ -f /Extra/devprop.bin ]; then
              xnu_devprop_load /Extra/devprop.bin
           fi
           if [ -f /Extra/splash.jpg ]; then
              insmod jpeg
              xnu_splash /Extra/splash.jpg
           fi
           if [ -f /Extra/splash.png ]; then
              insmod png
              xnu_splash /Extra/splash.png
           fi
           if [ -f /Extra/splash.tga ]; then
              insmod tga
              xnu_splash /Extra/splash.tga
           fi
        fi
}

Workaround:
Press Alt while booting and this should bring you to the Apple Boot Manager. From here you can select to Boot Mac or Windows. Select Mac and OSX will load. Select Windows and GRUB will load.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: grub (not installed)
ProcVersionSignature: Ubuntu 2.6.35-23.40-generic-pae 2.6.35.7
Uname: Linux 2.6.35-23-generic-pae i686
NonfreeKernelModules: wl
Architecture: i386
CheckboxSubmission: fa36f22061e6a62f47a8e24e0ae4e4e8
CheckboxSystem: 7e42599bda39ea7ff8b528272b6ef52b
Date: Fri Nov 26 15:51:36 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: grub

Steve Langasek (vorlon) on 2010-11-27
affects: grub (Ubuntu) → grub2 (Ubuntu)
Tomi Juntunen (tojuntu) wrote :

Have you tried installing Ubuntu using rEFIt? Link: https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation (the dual-boot section)

Before installing, read these topics before installing. It explains a possible reason for this problem and a workaround by installing the bootloader to the same partition as Ubuntu instead of replacing the Mac's own bootloader. After this you can either use rEFIt to boot into Mac OS X or Ubuntu, but I've seen discussions that some people who have created the partition for Ubuntu using Bootcamp, go to the boot menu by using the 'option' key and selecting the Windows icon, but I haven't tried that myself.

Links:
http://ubuntuforums.org/showthread.php?t=1572642
http://ubuntuforums.org/showthread.php?t=1297229

Hope this helps.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers