After upgrading from Ubuntu 9.04 to 9.10 I am getting this message on boot up:
Mount of File System Failed. A maintenance shell will now be started. CONTROL-D will terminate this shell and retry. myusername@root:~$
After searching in google,i found out that i have to run the command fsck
on the OS partition from Ubuntu Live CD..
Here are my questions:
- I don't know in which partition my Ubuntu OS is installed..(Those are not user-friendly drive names to remember right :)) -- Is there any command to know in which partition my Ubuntu OS is installed?
- Can i do this from Ubuntu 10.04 live CD?
EDIT:
First, when i booted the live CD(10.04) and opened the file system, I don't see the UUID in the title.. And one more thing that /etc/fstab
file has just three lines : 1) aufs /aufs rw 0 0 2) tmpfs /tmp nosuid,nodev 0 0 3) /dev/sda7 swap swap defaults 0 0 I don't know what to do..can u help me
Here are the screen shots:
I think Gilles is right... in that case you just need to remap your disks with their new UUIDs.
You can see the partitions UUID in the title, if you wanna know what device this is...
df -h
then find the device with same UUID...
sudo -H gedit /media/<your UUID>/etc/fstab
replace your old UUID with your new one, make sure that you are replacing the right line in fstab. You can do this by checking if there is only
/
after the UUID.You can same for your home as well, the only difference is, that you have to find your home directory and make sure that you are replacing the line with
/home
.good luck!
The best solution I found is to run the
fsck
command and then it asked for confirmation pressed Y and then Ctrl+D..Thats all. My system is working.
I found this solution here: http://ubuntuforums.org/showthread.php?t=1305434
danizmax, the
/etc/fstab
file has the same UUID as the filesystem. I dont know why it failed.