Bug#586627: grub-common: grub-probe could't find "/dev/dm-*" devices
Andrey Nikitin
andrey.d.nikitin at gmail.com
Mon Jun 21 06:28:00 UTC 2010
Package: grub-common
Version: 1.98-1
Severity: important
Tags: squeeze upstream
% sudo /usr/sbin/grub-probe /
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
% df -hT /
Filesystem Type Size Used Avail Use% Mounted on
/dev/dm-0 ext3 2.0G 299M 1.6G 16% /
% ls -l /dev/dm-0
brw-rw---- 1 root disk 253, 0 Июн 21 09:25 /dev/dm-0
% cat /proc/cmdline
BOOT_IMAGE=//vmlinuz-2.6.32-5-686-bigmem root=/dev/mapper/md_mirr-root ro quiet
% ls -l /dev/mapper
crw------- 1 root root 10, 59 Июн 21 09:25 control
lrwxrwxrwx 1 root root 7 Июн 21 09:26 md_mirr-data -> ../dm-5
lrwxrwxrwx 1 root root 7 Июн 21 09:26 md_mirr-home -> ../dm-4
lrwxrwxrwx 1 root root 7 Июн 21 09:25 md_mirr-root -> ../dm-0
lrwxrwxrwx 1 root root 7 Июн 21 09:26 md_mirr-tmp -> ../dm-1
lrwxrwxrwx 1 root root 7 Июн 21 09:26 md_mirr-usr -> ../dm-2
lrwxrwxrwx 1 root root 7 Июн 21 09:26 md_mirr-var -> ../dm-3
% sudo lvdisplay
--- Logical volume ---
LV Name /dev/md_mirr/root
VG Name md_mirr
LV UUID 0tQ1On-O5jB-Kfip-2ruI-tRvx-kFca-lAjesI
LV Write Access read/write
LV Status available
# open 1
LV Size 2,00 GiB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
....
% cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sda3[0] sdb3[1]
384764672 blocks [2/2] [UU]
md0 : active raid1 sda1[0] sdb1[1]
96256 blocks [2/2] [UU]
unused devices: <none>
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-common depends on:
ii base-files 5.7 Debian base system miscellaneous f
ii dpkg 1.15.7.2 Debian package management system
ii gettext-base 0.17-11 GNU Internationalization utilities
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib
ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages grub-common recommends:
pn os-prober <none> (no description available)
Versions of packages grub-common suggests:
pn grub-emu <none> (no description available)
pn multiboot-doc <none> (no description available)
More information about the Pkg-grub-devel
mailing list