Installer crashes on GRUB on iMac 17" Core 2 Duo

Bug #89937 reported by Brion Vibber on 2007-03-05
This bug report is a duplicate of:  Bug #46853: grub install fails on EFI Intel Macs. Edit Remove
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)

Bug Description

Binary package hint: ubiquity

Trying to set up Ubuntu 6.10 AMD64 to dual-boot with Mac OS X on an iMac 17" Core 2 Duo box; 1GB memory, 250 GB hard drive.

I partitioned the drive roughly in half under Mac OS X with Boot Camp Assistant, then booted with an Ubuntu 6.10 AMD-64 LiveCD. After manually editing xorg.conf to reduce the screen resolution to 1024x768 to get around a problem with screen corruption, I went through the GUI installer.

I selected "manually partition" and removed the large second partition which Boot Camp Assistant created, replacing it with a large ext3 root partition (sda3) and a 2GB swap partition (sda4). When selecting mount points, I had to manually rename the automatically generated "/media/EFI System Partition" to "/media/efi-system-partition" for one of the Mac-related partitions (sda1). The rest of the installation took default values other than the timezone.

Everything seemed to go fine until it reached GRUB installation, at which point a dialog appeared stating:

  Unable to install GRUB in (hd0)
  Executing 'grub-install (hd0)' failed.
  This is a fatal error.

After clicking OK, a Python stack trace from the installer is shown, asking to create a new bug here and attach some log files. Will attach stack trace and log files...

Bug 76786 appears to be the same issue but is missing the log data; I would attach there instead but the dialog said specifically not to attach my logs to an existing bug.

Brion Vibber (brion) wrote :
Brion Vibber (brion) wrote :
Brion Vibber (brion) wrote :
Brion Vibber (brion) wrote :

Various forum comments I found googling imply that the problem is that grub doesn't understand the partitioning format that the Mac uses (though, annoyingly enough, the partition editor seems just fine with it and there's now warning until the entire operating system has been installed).

I've worked around it by wiping the partition table with Linux fdisk and installing the machine Linux-only for the time being.

Colin Watson (cjwatson) wrote :

Thanks for your report. This is also bug 46853, and should be fixed in Feisty.

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

Other bug subscribers