Bug#561855: grub2: similar problem (same error) with LVM
Olivier B.
ob.reportbug at daevel.fr
Mon Jul 5 13:46:44 UTC 2010
Package: grub2
Version: 1.98-1
Severity: normal
Hi,
with a "/" partition on LVM (but /boot is not on LVM), I obtain the same error :
# update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
/dev/mapper/vg-root (aka /dev/vg/root) is a LV from the VG "/dev/vg", wich contain full /dev/sdb ; and /boot is on /dev/sda1.
Do you need more informations about my setup ?
Olivier B.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/vg-root / ext3 rw,noatime,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/mapper/vg-xen /var/lib/xen xfs rw,nosuid,nodev,noexec,noatime,attr2,noquota 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
*********************** 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='(vg-root)'
search --no-floppy --fs-uuid --set a3abb2dd-b6b1-4802-bb3e-166852ea9948
if loadfont /usr/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 ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
set locale_dir=($root)/grub/locale
set lang=
insmod gettext
set timeout=5
### 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_linux ###
menuentry "Debian GNU/Linux, with Linux safe" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux safe ...
linux /vmlinuz-safe root=/dev/mapper/vg-root ro rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-safe
}
menuentry "Debian GNU/Linux, with Linux safe (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux safe ...
linux /vmlinuz-safe root=/dev/mapper/vg-root ro single rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-safe
}
menuentry "Debian GNU/Linux, with Linux 2.6.32.15-dae-dom0-g01d9fbc" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux 2.6.32.15-dae-dom0-g01d9fbc ...
linux /vmlinuz-2.6.32.15-dae-dom0-g01d9fbc root=/dev/mapper/vg-root ro rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32.15-dae-dom0-g01d9fbc
}
menuentry "Debian GNU/Linux, with Linux 2.6.32.15-dae-dom0-g01d9fbc (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux 2.6.32.15-dae-dom0-g01d9fbc ...
linux /vmlinuz-2.6.32.15-dae-dom0-g01d9fbc root=/dev/mapper/vg-root ro single rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32.15-dae-dom0-g01d9fbc
}
menuentry "Debian GNU/Linux, with Linux 2.6.32.15-dae-xen" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux 2.6.32.15-dae-xen ...
linux /vmlinuz-2.6.32.15-dae-xen root=/dev/mapper/vg-root ro rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32.15-dae-xen
}
menuentry "Debian GNU/Linux, with Linux 2.6.32.15-dae-xen (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux 2.6.32.15-dae-xen ...
linux /vmlinuz-2.6.32.15-dae-xen root=/dev/mapper/vg-root ro single rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32.15-dae-xen
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux 2.6.32-5-xen-amd64 ...
linux /vmlinuz-2.6.32-5-xen-amd64 root=/dev/mapper/vg-root ro rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32-5-xen-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux 2.6.32-5-xen-amd64 ...
linux /vmlinuz-2.6.32-5-xen-amd64 root=/dev/mapper/vg-root ro single rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32-5-xen-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-amd64" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux 2.6.32-5-amd64 ...
linux /vmlinuz-2.6.32-5-amd64 root=/dev/mapper/vg-root ro rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32-5-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set be8a6ccf-88a1-4553-94b7-ce832003fc22
echo Loading Linux 2.6.32-5-amd64 ...
linux /vmlinuz-2.6.32-5-amd64 root=/dev/mapper/vg-root ro single rootdelay=10 panic=60 vga=791
echo Loading initial ramdisk ...
initrd /initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/24 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub2 depends on:
ii grub-pc 1.98-1 GRand Unified Bootloader, version
grub2 recommends no packages.
grub2 suggests no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list