Ubuntu system will not mount, but defaults to bash

Asked by Daniel Blakley

  This 9.10 Ubuntu Linux installation has worked very well, but recently will not mount the Ubuntu system. Instead the following sequence occurs: Grub starts -> the system attempts to load Ubuntu -> "Mount of filesystem failed", A maintenance shell will now be started.
  How does one recover from here without re-installing(?)

  Thank you,
  -Daniel

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

boot to live CD and run:

sudo blkid

You can then mount the partition you use for / and read the etc/fstab file on the partition, make sure the UUIDs for each match up

If not run: gksudo nautilus

Then open the fstab file again (it will open with admin access and will be editable)

If it matches then you can read the line above the UUID and switch to /dev/sdXY instead of the UUID, save the new file and reboot to the hard drive to see f it boots

e.g.

# / was on /dev/sda5 during installation
UUID=643d819d-b7cd-4f26-9f2e-e4f0ce78c4e3 / ext4 errors=remount-ro 0 1

would become:

# / was on /dev/sda5 during installation
/dev/sda5 / ext4 errors=remount-ro 0 1

Revision history for this message
Daniel Blakley (danielrblakley) said :
#2

Thank you for your answer and help. I have a couple
additional questions for clarification below, in *BOLD
*if you don't mind:

On Tue, Dec 22, 2009 at 11:06 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #94904 on Ubuntu changed:
> https://answers.edge.launchpad.net/ubuntu/+question/94904
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> boot to live CD and run:
>
> sudo blkid
>
> You can then mount the partition you use for / and read the etc/fstab
> file on the partition, make sure the UUIDs for each match up
> *How does one mount the partition? And how does he read the etc/fstab* *?
> Would the UUIDs match for the mounted / and the swap space or ?*
>

> If not run: gksudo nautilus
> *Is gksudo a standard command (I have used sudo but not gksudo)*?
> Then open the fstab file again (it will open with admin access and will
> be editable)
>
> If it matches then you can read the line above the UUID and switch to
> /dev/sdXY instead of the UUID, save the new file and reboot to the hard
> drive to see f it boots
>
> e.g.
>
> # / was on /dev/sda5 during installation
> UUID=643d819d-b7cd-4f26-9f2e-e4f0ce78c4e3 / ext4
> errors=remount-ro 0 1
>
> would become:
>
> # / was on /dev/sda5 during installation
> /dev/sda5 / ext4 errors=remount-ro 0 1
> Thank you, Daniel
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.edge.launchpad.net/ubuntu/+question/94904/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.edge.launchpad.net/ubuntu/+question/94904
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Sure, place them here and we can advise

Revision history for this message
Daniel Blakley (danielrblakley) said :
#4

How does one mount the partition?
How does he read etc/fstab?
What would he compare the UUIDs to ? from the / in question?
Where would he find gksudo (Have used sudo but not gksudo?

On Wed, Dec 23, 2009 at 12:51 AM, actionparsnip <
<email address hidden>> wrote:

> Your question #94904 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/94904
>
> Status: Open => Needs information
>
> actionparsnip requested for more information:
> Sure, place them here and we can advise
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/94904
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#5

You can click places in the top bar then click the partition you need. You can read the fstab file on the partition

gksudo is the app you use to run graphical apps in gnome with admi access, sudo is NOT to be used for graphical apps (like nautilus or gedit) as it will garbage file ownerships and cause tonnes of issues. sudo is ONLY for command line commands like apt-get or mv for example.

Revision history for this message
Daniel Blakley (danielrblakley) said :
#6

Thanks actionparsnip, that solved my question.