Bug#567884: grub-pc: upgrade to 1.98~20100128-1 fails with message grub-probe: error: physical volume pv1 not found: Auto-detection of a filesystem module failed.

Jean Pierre LeJacq jplejacq at quoininc.com
Sun Jan 31 23:24:39 UTC 2010


Package: grub-pc
Version: 1.98~20100128-1
Severity: important


I successfully installed grub2 on a sata drive managed with lvm and dm-crypt. Several
previous upgrades proceeded normally. Attemptint to upgrade to 1.98~20100128-1 fails with
the following error message:

Setting up grub-pc (1.98~20100128-1) ...
/usr/sbin/grub-probe: error: physical volume pv1 not found.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
Generating grub.cfg ...
/usr/sbin/grub-probe: error: physical volume pv1 not found.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-pc

The original grub.cfg is still usable and I am able to boot.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/vg0-lv3_crypt / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv2 /boot ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv13_crypt /home ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv11 /opt ext4 ro,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv9_crypt /srv ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv4_crypt /tmp ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv10 /usr ext4 rw,nodev,relatime,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv5_crypt /var ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv12_crypt /var/lib/vservers ext4 rw,relatime,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv7_crypt /var/log ext4 rw,nosuid,nodev,noexec,relatime,barrier=1,data=ordered 0 0
/dev/mapper/vg0-lv8_crypt /var/mail ext3 rw,nosuid,nodev,noexec,relatime,errors=continue,data=ordered 0 0
/dev/mapper/vg0-lv6_crypt /var/tmp ext4 rw,nosuid,nodev,noexec,relatime,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}
insmod lvm
insmod ext2
set root=(vg0-lv10)
search --no-floppy --fs-uuid --set 89b9fa4d-1791-485f-8122-b58a8a48614c
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod lvm
insmod ext2
set root=(vg0-lv2)
search --no-floppy --fs-uuid --set 687e7104-1de1-4edc-815c-73304d770b4d
set locale_dir=($root)/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
insmod ext2
set root=(vg0-lv2)
search --no-floppy --fs-uuid --set 687e7104-1de1-4edc-815c-73304d770b4d
insmod png
if background_image /grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-vserver-amd64" {
	set gfxpayload=keep
	insmod lvm
	insmod ext2
	set root=(vg0-lv2)
	search --no-floppy --fs-uuid --set 687e7104-1de1-4edc-815c-73304d770b4d
	echo	Loading Linux 2.6.32-trunk-vserver-amd64 ...
	linux	/vmlinuz-2.6.32-trunk-vserver-amd64 root=/dev/mapper/vg0-lv3_crypt ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/initrd.img-2.6.32-trunk-vserver-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-vserver-amd64 (recovery mode)" {
	set gfxpayload=keep
	insmod lvm
	insmod ext2
	set root=(vg0-lv2)
	search --no-floppy --fs-uuid --set 687e7104-1de1-4edc-815c-73304d770b4d
	echo	Loading Linux 2.6.32-trunk-vserver-amd64 ...
	linux	/vmlinuz-2.6.32-trunk-vserver-amd64 root=/dev/mapper/vg0-lv3_crypt ro single 
	echo	Loading initial ramdisk ...
	initrd	/initrd.img-2.6.32-trunk-vserver-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod lvm
	insmod ext2
	set root=(vg0-lv2)
	search --no-floppy --fs-uuid --set 687e7104-1de1-4edc-815c-73304d770b4d
	multiboot	/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod lvm
	insmod ext2
	set root=(vg0-lv2)
	search --no-floppy --fs-uuid --set 687e7104-1de1-4edc-815c-73304d770b4d
	multiboot	/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Dell Utility" {
  insmod chain
  insmod fat
  insmod msdospart
  insmod part_msdos
  search --fs-uuid --set 0b5e-1c00
  chainloader +1
}
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-vserver-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.28          Debian configuration management sy
ii  grub-common              1.98~20100128-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-5        Embedded GNU C Library: Shared lib
ii  ucf                      3.0025          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: (hd0)
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet





More information about the Pkg-grub-devel mailing list