Bug#464215: grub2: grub-probe -t fs / fails to detect the file system with / on LVM

Thomas Wendt thoemy at gmail.com
Tue Feb 5 20:35:25 UTC 2008


Package: grub2
Version: 1.96+20080203-1
Severity: normal

$ grub-probe -t fs / fails with the following error:
grub-probe: error: unknown device

Other grub-probe outputs:

$ grub-probe -t drive /
(thoemy--vg-root)

$ grub-probe -t device /
/dev/mapper/thoemy--vg-root

$ grub-probe -t partmap /
grub-probe: error: unknown device

$ grub-probe -t abstraction /
lvm



-- Package-specific info:

*********************** BEGIN /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/mapper/thoemy--vg-root / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/mapper/thoemy--vg-root /dev/.static/dev ext3 rw,errors=remount-ro,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/sda1 /boot ext3 rw,data=ordered 0 0
/dev/mapper/thoemy--vg-home /home ext3 rw,user_xattr,data=ordered 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
automount(pid2904) /net autofs rw,fd=4,pgrp=2904,timeout=300,minproto=2,maxproto=4,indirect 0 0
automount(pid2885) /smb autofs rw,fd=4,pgrp=2885,timeout=300,minproto=2,maxproto=4,indirect 0 0
automount(pid2937) /sftp autofs rw,fd=4,pgrp=2937,timeout=300,minproto=2,maxproto=4,indirect 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0
/dev/hda8 /media/PLATZ vfat rw,nosuid,nodev,uid=1000,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,utf8 0 0
/dev/hda6 /media/_home ext3 rw,nosuid,nodev,data=ordered 0 0
/dev/hda5 /media/_ ext3 rw,nosuid,nodev,data=ordered 0 0
/dev/hda1 /media/Windows fuseblk rw,nosuid,nodev,user_id=0,group_id=0,allow_other 0 0
/dev/hdb1 /media/Zeigs fuseblk rw,nosuid,nodev,user_id=0,group_id=0,allow_other 0 0
/dev/sda5 /media/Pool fuseblk rw,nosuid,nodev,user_id=0,group_id=0,allow_other 0 0
/dev/hdc /media/cdrom0 iso9660 ro,nosuid,nodev,noexec 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/hda
(hd2)	/dev/hdb
*********************** END /boot/grub/device.map

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

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(thoemy--vg-root)
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64" {
	linux	(hd0,1)/vmlinuz-2.6.24-1-amd64 root=/dev/mapper/thoemy--vg-root ro 
	initrd	(hd0,1)/initrd.img-2.6.24-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64 (single-user mode)" {
	linux	(hd0,1)/vmlinuz-2.6.24-1-amd64 root=/dev/mapper/thoemy--vg-root ro single 
	initrd	(hd0,1)/initrd.img-2.6.24-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.23-1-amd64" {
	linux	(hd0,1)/vmlinuz-2.6.23-1-amd64 root=/dev/mapper/thoemy--vg-root ro 
	initrd	(hd0,1)/initrd.img-2.6.23-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.23-1-amd64 (single-user mode)" {
	linux	(hd0,1)/vmlinuz-2.6.23-1-amd64 root=/dev/mapper/thoemy--vg-root ro single 
	initrd	(hd0,1)/initrd.img-2.6.23-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.22-3-amd64" {
	linux	(hd0,1)/vmlinuz-2.6.22-3-amd64 root=/dev/mapper/thoemy--vg-root ro 
	initrd	(hd0,1)/initrd.img-2.6.22-3-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.22-3-amd64 (single-user mode)" {
	linux	(hd0,1)/vmlinuz-2.6.22-3-amd64 root=/dev/mapper/thoemy--vg-root ro single 
	initrd	(hd0,1)/initrd.img-2.6.22-3-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.22-2-amd64" {
	linux	(hd0,1)/vmlinuz-2.6.22-2-amd64 root=/dev/mapper/thoemy--vg-root ro 
	initrd	(hd0,1)/initrd.img-2.6.22-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.22-2-amd64 (single-user mode)" {
	linux	(hd0,1)/vmlinuz-2.6.22-2-amd64 root=/dev/mapper/thoemy--vg-root ro single 
	initrd	(hd0,1)/initrd.img-2.6.22-2-amd64
}
### END /etc/grub.d/10_linux ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (520, 'unstable'), (500, 'hardy'), (480, 'testing'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub2 depends on:
ii  debconf                  1.5.19          Debian configuration management sy
ii  grub-pc                  1.96+20080203-1 GRand Unified Bootloader, version 

grub2 recommends no packages.

-- debconf information:
  grub2/numbering_scheme_transition:





More information about the Pkg-grub-devel mailing list