[Bug 681535] Re: Auto-detection of a filesystem of /dev/md0 failed.

Apteryx 681535 at bugs.launchpad.net
Fri Jun 17 02:52:18 UTC 2011


I experience the same issue as Sam Banks and others. Here is my
configuration (I used the alternate amd64 11.04 iso)

- Unencrypted /boot partition mounted on md0 RAID1, ext4 filesystem.
- Encrypted LVM partitions on top of md1 RAID1, ext4 filesystem (/, /opt, /home & swap).

Grub2 install fails with message: "Impossible to install GRUB on
/dev/sda. This error is fatal."

I've tried chrooting (after mounting all required partitions and binding
/proc, /dev, & /sys), but this way I obtain the same error as in the
original post but instead of the "Auto-detection of a filesystem of
/dev/md0 failed", I get "Auto-detection of a filesystem of
/dev/mapper/vg--system-root1 failed.".

vg-system is the name of my LVM volume group and root1 is the '/' mount
point.

The grub version present in the Fedora 15 distribution does not suffer
this problem. I replicated the same partitionning without a problem (and
it worked in the past, I think for the Ubuntu 10.04 alternate
installer).

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

Title:
  Auto-detection of a filesystem of /dev/md0 failed.

Status in “grub2” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: grub2

  Setting up grub-pc (1.99~20101124-1ubuntu1) ...
  /usr/sbin/grub-probe: error: no such disk.
  Auto-detection of a filesystem of /dev/md0 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-grub at gnu.org>
  /usr/sbin/grub-probe: error: no such disk.

  > sudo /usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: scanning hd0 for LVM.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: no LVM signature found
  .
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: scanning hd1 for LVM.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: no LVM signature found
  .
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: scanning hd2 for LVM.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: no LVM signature found
  .
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: changing current directory to /dev.
  /usr/sbin/grub-probe: info: changing current directory to snd.
  /usr/sbin/grub-probe: info: changing current directory to by-path.
  /usr/sbin/grub-probe: info: changing current directory to cpu.
  /usr/sbin/grub-probe: info: changing current directory to shm.
  /usr/sbin/grub-probe: info: changing current directory to dri.
  /usr/sbin/grub-probe: info: opening md0.
  /usr/sbin/grub-probe: error: no such disk.

  with grub 1.98+20100804-7ubuntu1:

  > sudo /usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: the size of hd2 is 781422768.
  /usr/sbin/grub-probe: info: changing current directory to /dev.
  /usr/sbin/grub-probe: info: changing current directory to snd.
  /usr/sbin/grub-probe: info: changing current directory to by-path.
  /usr/sbin/grub-probe: info: changing current directory to cpu.
  /usr/sbin/grub-probe: info: changing current directory to shm.
  /usr/sbin/grub-probe: info: changing current directory to dri.
  /usr/sbin/grub-probe: info: opening md0.
  ext2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/681535/+subscriptions




More information about the foundations-bugs mailing list