I get errors:
for w in dev dev/pts proc sys; do sudo mount -B /mnt/$w ; done
mount: can't find /mnt/dev in /etc/fstab or /etc/mtab
mount: can't find /mnt/dev/pts in /etc/fstab or /etc/mtab
mount: can't find /mnt/proc in /etc/fstab or /etc/mtab
mount: can't find /mnt/sys in /etc/fstab or /etc/mtab
root@ubuntu:/# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
efibootmgr
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 109 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up grub-pc (1.99-21ubuntu3) ...
grub-probe: error: cannot find a device for / (is /dev mounted?).
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu:/# grub-setup
No device is specified.
Usage: grub-setup [OPTION...] DEVICE
Try `grub-setup --help' or `grub-setup --usage' for more information.
root@ubuntu:/#
root@ubuntu:/# grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
root@ubuntu:/# update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
root@ubuntu:/#
So I hope these error messages give you a clue?
Regards
Bookmarks