Bug#650724: grub-pc: /usr/sbin/grub-probe: error: Couldn't find PV pv2. Check your device.map.

Luca Capello luca at pca.it
Wed Mar 28 13:55:33 UTC 2012


Hi there!

On Sat, 14 Jan 2012 13:47:47 +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> tag 650724 fixed-upstream

Is there any deadline for when this fix will enter Debian?  So we can
properly close this bug with a Version: pseudo-header ;-)

>>  /usr/sbin/grub-probe: error: Couldn't find PV pv2. Check your device.map.
>
> I believe that in this case it's a perfect message. Your device.map
> still refered to old disks, rerunning sudo dpkg-configure grub-pc is
> recommended. In upstream reliance on device.map is decreased.

Ops, I missed your advice and fixed it with grub-mkdevicemap:
=====
sha:/etc# cat /boot/grub/device.map
(hd0)   /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJA0Z108086
(hd1)   /dev/disk/by-id/ata-SAMSUNG_HD502HJ_S20BJA0Z108087
(hd2)   /dev/disk/by-id/scsi-35005076206cac30e
(hd3)   /dev/disk/by-id/scsi-SSEAGATE_ST39236LW_3BN0VTMQ0000711534E4
(hd4)   /dev/disk/by-id/scsi-SIBM_DDRS-34560D_RD3Q8116
sha:/etc# grub-mkdevicemap
sha:/etc# cat /boot/grub/device.map
(fd0)   /dev/fd0
(hd0)   /dev/disk/by-id/ata-ST31000524AS_6VPBJ5P9
(hd1)   /dev/disk/by-id/ata-ST31000524AS_6VPFC79A
(hd2)   /dev/disk/by-id/scsi-35005076206cac30e
(hd3)   /dev/disk/by-id/scsi-SSEAGATE_ST39236LW_3BN0VTMQ0000711534E4
(hd4)   /dev/disk/by-id/scsi-SIBM_DDRS-34560D_RD3Q8116
sha:/etc# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 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.32-5-686 (2.6.32-41squeeze2) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.26-2-686
Found initrd image: /boot/initrd.img-2.6.26-2-686
done
sha:/etc#
=====

As I wrote above, feel free to close this bug right now or waiting for
the fixed version to enter sid.  However, you will probably want to keep
it alive until Damyan's problem is fixed:

  <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650724#33>

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20120328/a66c8730/attachment.pgp>


More information about the Pkg-grub-devel mailing list