/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
Делаю apt-get upgrade, install внутри контейнера openvz на Proxmox. Куды у меня делся /dev ?
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
update-initramfs: Deleting /boot/initrd.img-3.2.0-4-amd64
run-parts: executing /etc/kernel/postrm.d/zz-runlilo 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.2.0-4-amd64.postrm line 212.
dpkg: error processing linux-image-3.2.0-4-amd64 (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-3.2.0-4-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/simfs 157286400 42868720 114417680 28% /
tmpfs 1228800 88 1228712 1% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 4915200 0 4915200 0% /run/shm
/var/lib/vz/private/100 on / type simfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1228800k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=4915200k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
ls -l /dev
total 0
crw------- 1 root root 5, 1 Dec 11 03:52 console
srw-rw-rw- 1 root root 0 Dec 11 03:52 log
crw-rw-rw- 1 root root 1, 3 Jul 28 13:59 null
crw-rw-rw- 1 root root 5, 2 Dec 11 13:16 ptmx
drwxr-xr-x 2 root root 0 Dec 11 03:51 pts
crw-rw-rw- 1 root tty 2, 0 Jul 28 13:58 ptyp0
crw-rw-rw- 1 root tty 2, 1 Jul 28 13:58 ptyp1
crw-rw-rw- 1 root tty 2, 2 Jul 28 13:58 ptyp2
crw-rw-rw- 1 root tty 2, 3 Jul 28 13:58 ptyp3
crw-rw-rw- 1 root tty 2, 4 Jul 28 13:58 ptyp4
crw-rw-rw- 1 root tty 2, 5 Jul 28 13:58 ptyp5
crw-rw-rw- 1 root tty 2, 6 Jul 28 13:58 ptyp6
crw-rw-rw- 1 root tty 2, 7 Jul 28 13:58 ptyp7
crw-rw-rw- 1 root tty 2, 8 Jul 28 13:58 ptyp8
crw-rw-rw- 1 root tty 2, 9 Jul 28 13:58 ptyp9
crw-rw-rw- 1 root tty 2, 10 Jul 28 13:58 ptypa
crw-rw-rw- 1 root tty 2, 11 Jul 28 13:58 ptypb
crw-rw-rw- 1 root tty 2, 12 Jul 28 13:58 ptypc
crw-rw-rw- 1 root tty 2, 13 Jul 28 13:58 ptypd
crw-rw-rw- 1 root tty 2, 14 Jul 28 13:58 ptype
crw-rw-rw- 1 root tty 2, 15 Jul 28 13:58 ptypf
lrwxrwxrwx 1 root root 8 Jul 28 13:16 shm -> /run/shm
brw------- 1 root root 144, 149 Jul 21 23:46 simfs
crw-rw-rw- 1 root root 5, 0 Aug 27 10:12 tty
crw------- 1 root root 4, 1 Dec 11 03:52 tty1
crw-rw-rw- 1 root tty 3, 0 Jul 28 13:58 ttyp0
crw-rw-rw- 1 root tty 3, 1 Jul 28 13:58 ttyp1
crw-rw-rw- 1 root tty 3, 2 Jul 28 13:58 ttyp2
crw-rw-rw- 1 root tty 3, 3 Jul 28 13:58 ttyp3
crw-rw-rw- 1 root tty 3, 4 Jul 28 13:58 ttyp4
crw-rw-rw- 1 root tty 3, 5 Jul 28 13:58 ttyp5
crw-rw-rw- 1 root tty 3, 6 Jul 28 13:58 ttyp6
crw-rw-rw- 1 root tty 3, 7 Jul 28 13:58 ttyp7
crw-rw-rw- 1 root tty 3, 8 Jul 28 13:58 ttyp8
crw-rw-rw- 1 root tty 3, 9 Jul 28 13:58 ttyp9
crw-rw-rw- 1 root tty 3, 10 Jul 28 13:58 ttypa
crw-rw-rw- 1 root tty 3, 11 Jul 28 13:58 ttypb
crw-rw-rw- 1 root tty 3, 12 Jul 28 13:58 ttypc
crw-rw-rw- 1 root tty 3, 13 Jul 28 13:58 ttypd
crw-rw-rw- 1 root tty 3, 14 Jul 28 13:58 ttype
crw-rw-rw- 1 root tty 3, 15 Jul 28 13:58 ttypf
cr--r--r-- 1 root root 1, 9 Jul 28 13:59 urandom
prw-r----- 1 root adm 0 Dec 11 06:26 xconsole