I am trying to fix a broken Ubuntu upgrade, and so I am following the steps here:
And when I get to step number 4 sudo mount --bind /dev /mnt/dev, I get the following error:
mount: mount point /mnt/dev does not exist
Running this:
sudo fdisk -l
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 499711 497664 243M 83 Linux
/dev/sda2 501758 250068991 249567234 119G 5 Extended
/dev/sda5 501760 250068991 249567232 119G 8e Linux LVMThen running this:
sudo fsck /dev/sda1
fsck from util-linux 2.26.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/sda1: clean, 312/62248 files, 107999/248832 blocksWhy can I not mount this?
41 Answer
I was able to get it.
sudo lvdisplay
--- Logical volume ---
LV Path /dev/ubuntu-vg/rootI then was able to do this:
sudo mount /dev/ubuntu-vg/root /mntI was then able to finish the rest of the steps.