*** This bug is a duplicate of bug 1059827 ***
    https://bugs.launchpad.net/bugs/1059827

Ideally the installer should test for a properly sized MBR gap earlier
on, so it can fail before going to the trouble of installing the OS,
only to have grub-install inevitably fail. Windows 7 uses LBA 2048/1MB
aligned first partition, and maybe even Vista did. XP does not, it
starts the first partition at LBA 63. Older versions of parted do the
same.

Next, the use of the --force flag for grub-install on a whole block
device seems ill advised. As far as I know, it's useful when directed to
a partition formatted ext[234] so that the boot strap code and block
list is placed in the VBR instead of the MBR gap. The --force flag will
fail on XFS and Btrfs.

In any case, the work around is to repartition with something even
somewhat recent, so that partition 1 starts at LBA 2048.

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

Title:
  grub-installer fails to install when using btrfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1266195/+subscriptions

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

Reply via email to