[Bug 1093918] Re: grub-probe auto-detection fails on raid

Launchpad Bug Tracker 1093918 at bugs.launchpad.net
Thu Jan 16 17:20:47 UTC 2014


This bug was fixed in the package multipath-tools - 0.4.9-3ubuntu5.1

---------------
multipath-tools (0.4.9-3ubuntu5.1) precise; urgency=low

  * Add 0010-fix-extended-partitions.patch: Only expose the
    first two sectors of the extended partition (LP: #1093918).
 -- Phillip Susi <psusi at ubuntu.com>   Tue, 28 May 2013 11:14:46 -0400

** Changed in: multipath-tools (Ubuntu Precise)
       Status: Fix Committed => Fix Released

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

Title:
  grub-probe auto-detection fails on raid

Status in “multipath-tools” package in Ubuntu:
  Fix Released
Status in “multipath-tools” source package in Precise:
  Fix Released

Bug description:
  kpartx was mapping the entire extended partition then stacking the
  logical partitions on that device.  This exposes a device that
  otherwise appears to be an entire disk device containing the logical
  partitions, and this confuses grub.  The extended partition is
  supposed to only expose the first two sectors to allow LILO to be
  installed.

  The patch has been applied upstream now, and since this is the only
  change since quantal, a simple copy to quantal-updates should resolve
  it there as well.  I have done this in my ppa and the reporter has
  verified it has fixed the issue.

  TEST CASE:

  Use fdisk to create an extended parition either on a fakeraid disk or
  an LVM logical volume.  Run kpartx -a /dev/mapper/whatever to activate
  the partitions on the disk.  Assuming the extended partition is number
  3, then sudo blockdev --getsz /dev/mapper/whatever3 will report the
  apparent size of the extended partition.  The size should only be 2
  sectors regardless of the size of the extended partition.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1093918/+subscriptions



More information about the foundations-bugs mailing list