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

Sebastian Nickel 681535 at bugs.launchpad.net
Wed Sep 21 07:35:44 UTC 2011


I get the same errors. I try to install grub in a chroot environment
(dev,sys and proc is correctly mounted with rebind):

"""
$> grub-mkdevicemap
$> grub-install --no-floppy /dev/sda
/usr/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md1 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>
"""

The boot partition is /dev/md1 (ext3).

I am using Ubuntu 11.04 (with all current updates installed) and I am
using GPT on the hard disks (same partitioning scheme on sda and sdb):

"""
$> parted /dev/sda print
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 4      1049kB  2097kB  1049kB                     bios_grub
 1      2097kB  2150MB  2147MB                     raid
 2      2150MB  2686MB  537MB                      raid
 3      2686MB  3001GB  2998GB                     raid
"""

I am using the following grub package version:

grub-common: 1.99~rc1-13ubuntu3
grub-pc: 1.99~rc1-13ubuntu3

-- 
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