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

Sagi 681535 at bugs.launchpad.net
Mon Mar 5 22:25:07 UTC 2012


This bug is not fixed for me. I'm using 11.04, raid 1, grub-pc
1.99~rc1-13ubuntu3.

# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-image-2.6.38-13-generic (2.6.38-13.56) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-13-generic
Not updating initrd symbolic links since we are being updated/reinstalled 
(2.6.38-13.53 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(2.6.38-13.53 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-13-generic /boot/vmlinuz-2.6.38-13-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-13-generic /boot/vmlinuz-2.6.38-13-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-13-generic /boot/vmlinuz-2.6.38-13-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-13-generic /boot/vmlinuz-2.6.38-13-generic
error: found two disks with the index 0 for RAID md/1.
error: found two disks with the index 0 for RAID md/0.
error: found two disks with the index 0 for RAID md/1.
error: found two disks with the index 0 for RAID md/0.
Generating grub.cfg ...
error: found two disks with the index 0 for RAID md/1.
error: found two disks with the index 0 for RAID md/0.
error: found two disks with the index 0 for RAID md/1.
error: found two disks with the index 0 for RAID md/0.
error: found two disks with the index 0 for RAID md/1.
error: found two disks with the index 0 for RAID md/0.
error: found two disks with the index 0 for RAID md/1.
error: found two disks with the index 0 for RAID md/0.
/usr/sbin/grub-probe: error: unknown filesystem.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-13-generic.postinst line 1010.
dpkg: error processing linux-image-2.6.38-13-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up grub-pc (1.99~rc1-13ubuntu3) ...
Generating grub.cfg ...
/usr/sbin/grub-probe: error: no such disk.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of grub-gfxpayload-lists:
 grub-gfxpayload-lists depends on grub-pc (>= 1.99~20101210-1ubuntu2); however:
  Package grub-pc is not configured yet.
dpkg: error processing grub-gfxpayload-lists (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            Errors were encountered while processing:
 linux-image-2.6.38-13-generic
 grub-pc
 grub-gfxpayload-lists
E: Sub-process /usr/bin/dpkg returned an error code (1)

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