Public bug reported:

Binary package hint: ubiquity

On a MacBookPro (6.2) (without any OS on it), installing Ubuntu twice,
with 'guided - resize' parititons option causes grub to fail to install,
leaving both systems inaccessible.

TEST CASE:
First install Ubuntu using an "entire disk" install.
http://iso.qa.ubuntu.com/qatracker/result/5334/1067
This leaves a 1MB GPT partition at the beginning of the disk, a <size-of-RAM> 
swap at the end of the disk, and an ext4 partition filling the middle of the 
disk. 

Then install Ubuntu again, using the 'guided - resize' partitions option.
http://testcases.qa.ubuntu.com/Install/DesktopResize
This suggests splitting the ext4 partition on sda2 about 50% and the subsequent 
partition table seems correct (screenshot attached). 
But then:

Unable to install GRUB in /dev/sda
Executing 'grub-install /dev/sda' failed
This is a fatal error

In a terminal, I do;

sudo chroot /target; grub-install /dev/sda

This gives:
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda5.  Check 
your device.map.
Auto-detection of a filesystem of /dev/sda5 failed.
Please report this together with the output of "/usr/sbin/grub-probe 
--device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to 
<bug-g...@gnu.org>

The output of grub-probe is attached (from before the install, and from after 
the error).
It seems that I needed the device map from the live CD, which I unfortunately 
didn't manage to capture. 

This is ubuntu-desktop-adm65+mac.iso from 2011-03-29.1 on MacBookPro6.2

grub-pc-1.99~rc1-6ubuntu1
ubiquity-2.5.32

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: iso-testing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/746313

Title:
  grub fails in ubuntu install on mac with 'guided resize' of partitions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to