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

StephenKing 681535 at bugs.launchpad.net
Wed May 25 09:22:32 UTC 2011


Same problem here (11.04 alternate on Sandy Bridge chipset).

/boot/grub/device.map doesn't exist
mkdevicemap creates a device.map, which contains the physical hard disks, instead of the md0
creating the device.map by hand (but pointing to the md0 device) and then running the above described
update-grub2 && grub-install /dev/sda && grub-install /dev/sdb
works without error message.
Otherwise update-grub2 fails with "No such device"

Nevertheless, system is not bootable with "no such device <uuid>", ls
(hd0,1) gives "unknown filesystem"

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




More information about the foundations-bugs mailing list