Bug#586447: same problem with luks dm devices

Mark Hedges hedges at scriptdolphin.com
Mon Jun 21 20:06:53 UTC 2010


forcemerge 586576 586447
thanks

Also getting this problem.  I thought it was the kernel, but
it is just the new way dm maps by uuids, I guess.

maggie:~# update-grub2
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
maggie:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/dm-0              45G  9.8G   33G  24% /
tmpfs                 993M     0  993M   0% /lib/init/rw
udev                  989M  220K  988M   1% /dev
tmpfs                 993M  156K  993M   1% /dev/shm
/dev/sda5             942M   63M  832M   8% /boot
maggie:~# ls -lah /dev/mapper
total 0
drwxr-xr-x  2 root root    100 Jun 21 09:58 .
drwxr-xr-x 16 root root   3.2K Jun 21 10:57 ..
crw-------  1 root root 10, 59 Jun 21 09:58 control
lrwxrwxrwx  1 root root      7 Jun 21 09:58 sda6_crypt -> ../dm-1
lrwxrwxrwx  1 root root      7 Jun 21 09:58 sda7_crypt -> ../dm-0

Thanks.

Mark





More information about the Pkg-grub-devel mailing list