Can't find / after upgrade

Asked by on 2012-10-17

Hi, I just did an upgrade from V10 to 12.04. Everything seemed to go well and at the end of the installation I was asked to re-start. I did a re-start but all I can get is a wait screen with the following message:

"Can't find /"

It also asked if I want to quite or manually boot by pressing 'M'. If I press 'M' and get to a terminal screen what do I do then?

Many thanks

Question information

English Edit question
Ubuntu grub2 Edit question
No assignee Edit question
Last query:
Last reply:

Boot to liveCD/USB and run:

sudo blkid

You can then see the UUIDs of the devices. If you then mount your installed OS and read the etc/fstab file there, you can make sure the UUIDs match.

You can also fsck the partitions (unmounted) to make sure they are healthy

Hi, I don't have a disk though. I've been running this install of Ubuntu since V7 and just updating ever since. It was working just fine until this update.

Ok, in the fstab I have the following:

/dev/sdb1 /media/400GB ext3 defaults 0 0
/dev.sda5 swap swap sw 0 0
/dev/sdb2 /media/prive ext4 0 0
/dev/sda1 / ext4 defaults 0 1

I suggest you use UUIDs instead of /dev/sdaX

The sdXY may change at boot if other devices are inserted at boot. The UUIDs never change.

Ok, I'll try that. Thanks.

Ok, running up against some issues here. Can you tell what the easiest way is to change the fstab to use UUIDs. Is there a command line I can issue to do that or will have to manually type in the ID?

Many thanks.

Mount the internal partition and run:

gksudo gedit

You can then open the fstab file in /media/[something]/etc/fstab and change the /dev/sdaX to the UUIDs output in:

sudo blkid

Brilliant, I'll try that. Can i copy from one file to the other or do I have to type the UUIDs in manually?

You can copy and paste the UUIDs from the terminal. The resulting file will look similar to this:

# / was on /dev/sda2 during installation
UUID=6d091c3b-bae2-4e35-9fcf-59b4e0c25cfd / ext4 noatime,errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=29454e63-47c8-435c-b00e-3abcaa4ad68e /home ext4 noatime,defaults 0 2
# swap was on /dev/sda1 during installation
UUID=38555e5a-b592-4727-b821-b17b80d2efd5 none swap sw 0 0

Is there a command to copy the contents of blkid to fstab?

Hmmm, it's saying that fstab is read only

What is the output of:



Basically you'll want to run:

sudo mount -o remount,rw /media/something

change /media/something to the mount point of the system partition on the installed OS. The fact it is read only may point to the fact that the partition isn't healthy and should be fsck'd

Can you help with this problem?

Provide an answer of your own, or ask for more information if necessary.

To post a message you must log in.