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)
This bug is not fixed for me. I'm using 11.04, raid 1, grub-pc 1.99~rc1-13ubuntu3.
# apt-get upgrade 2.6.38- 13-generic (2.6.38-13.56) ... img-2.6. 38-13-generic postinst. d. postinst. d/initramfs- tools 2.6.38-13-generic /boot/vmlinuz- 2.6.38- 13-generic postinst. d/pm-utils 2.6.38-13-generic /boot/vmlinuz- 2.6.38- 13-generic postinst. d/update- notifier 2.6.38-13-generic /boot/vmlinuz- 2.6.38- 13-generic postinst. d/zz-update- grub 2.6.38-13-generic /boot/vmlinuz- 2.6.38- 13-generic grub-probe: error: unknown filesystem. postinst. d/zz-update- grub exited with return code 1 postinst. d at /var/lib/ dpkg/info/ linux-image- 2.6.38- 13-generic. postinst line 1010. 2.6.38- 13-generic (--configure): 13ubuntu3) ... grub-probe: error: no such disk. -lists: d-lists depends on grub-pc (>= 1.99~20101210- 1ubuntu2) ; however: -lists (--configure):
Errors were encountered while processing: image-2. 6.38-13- generic d-lists
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-
Running depmod.
update-initramfs: Generating /boot/initrd.
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/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
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/
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
Setting up grub-pc (1.99~rc1-
Generating grub.cfg ...
/usr/sbin/
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of grub-gfxpayload
grub-gfxpayloa
Package grub-pc is not configured yet.
dpkg: error processing grub-gfxpayload
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
linux-
grub-pc
grub-gfxpayloa
E: Sub-process /usr/bin/dpkg returned an error code (1)