After updating Ubuntu it now boots into emergency mode. I'm new to this OS.
If anyone can help me out with the codes that would be great. I do not have the OS on a CD or USB.
After updating Ubuntu it now boots into emergency mode. I'm new to this OS.
If anyone can help me out with the codes that would be great. I do not have the OS on a CD or USB.
If you do have high value files not backed up then I suggest you obtain a Ubuntu liveCD [or usb] and boot off it (which should avoid this screen ) ... once booted up then plug in a memory stick and backup treasured files/dirs
Now that your are booted up off the Ubuntu LiveCD open up a terminal ( ctrl+alt+T ) and issue
sudo -i # to toggle into root
fdisk -l
at bottom you should see something like this
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1431805951 1431803904 682.8G 83 Linux
/dev/sda2 1431807998 1465147391 33339394 15.9G 5 Extended
/dev/sda5 1431808000 1465147391 33339392 15.9G 82 Linux swap / Solaris
Identify your boot device ( the one with * for me its /dev/sda1 )
issue
umount /dev/sda1
fsck -y /dev/sda1 # leave off -y if you want prompts to OK fix actions
reboot
The motive for booting off Ubuntu LiveCD is your normal drive can then be unmounted ... something you (cannot/should not) do when booted from it
Recovering your files:
I'm in the situation and I was able to recover my files. You'll need a usb.
create a folder to mount usb to:
sudo mkdir /media/usb
mount usb (I wasn't able to use the 'fdisk -l' command so I guessed sdb1 and got lucky):
sudo mount /dev/sdb1 /media/usb
Go to your home folder and copy the files you want to keep into your usb:
cd /home/yourUserName/
ls # see what files you want
sudo cp -r myfiles/ /media/usb/