LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2009, 06:13 AM   #1
bacy
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
A mount of filesystem failed


hi to everybody, I have a problem that I don't succeed in resolving...
I passed from 9.4 to ubuntu 9.10 to the beginning been all right everything, but when I restart the pc i found this:
mount of filesystem failed
4c291a-bc0f-49ab-8936-a6e222d5065
A MAITENANCE SHELL WILL NOW BE STARTED
CONTROL-D will terminate this shell and re-try
root@foura-laptop:

what can I do? please, I am writing the thesis and I need the computer.
Thanks
bacy
 
Old 11-07-2009, 06:40 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,114

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
You have something wrong in your /etc/fstab file for the partition that did not mount. Open an editor, copy and paste the contents of the /etc/fstab file here.

When you upgraded, did you format any partitions beisdes the '/' ( root partition )? Just a guess, 9.10 is using ext4 by default. So this may not match the fstype of the partiton(s) not mounting.
 
Old 11-07-2009, 06:50 AM   #3
eth1
Member
 
Registered: May 2008
Posts: 97

Rep: Reputation: 20
This problem is because the /(root) file system has file system corruption errors.

Identify the root file system device name using,

Quote:
fdisk -l
Depending on the output you get run a file system check on the partition. If it's a ext4 file system,

Quote:
fsck.ext4 /dev/sdaX
where /dev/sdaX is the / partition. If it's a ext3 file system then you need to run fsck.ext3 /dev/sdaX
 
Old 11-07-2009, 07:31 AM   #4
bacy
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by eth1 View Post
This problem is because the /(root) file system has file system corruption errors.

Identify the root file system device name using,



Depending on the output you get run a file system check on the partition. If it's a ext4 file system,



where /dev/sdaX is the / partition. If it's a ext3 file system then you need to run fsck.ext3 /dev/sdaX
what means of this: "Identify the root file system device name using"
you must think that I am ignorant in this field...I don't understand anything!
 
Old 11-07-2009, 07:36 AM   #5
bacy
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
you must think that I am ignorant in this field, I don't understand anything!
you explain to a child as to resolve her problem...
thanks of your patience
:-(
 
Old 11-07-2009, 10:11 AM   #6
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,114

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
bacy,

Here is what you were asked to do. I did it on my system, and am posting the results to show you how.

Open a konsole, and use the 'su' command to get root privileges.

Quote:
[cliff@Duelie:~]$ su
Password:
[root@Duelie cliff]# fdisk -l

Disk /dev/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x16001600

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1784 14329948+ 83 Linux
/dev/sda2 1785 19457 141958372+ 5 Extended
/dev/sda5 1785 2038 2040223+ 82 Linux swap / Solaris
/dev/sda6 2039 19457 139918086 83 Linux
You need the root password, you would set that up at install time. Then run the command 'fdisk -l' ( without the quotes ).

The ID field identifies the file system type. 83 is ext3. 82 is swap file system.

Once you know what partition number, and the file system, you run the command 'fsck.ext4 /dev/sdaX' This would be for ext4, the default for Ubuntu 9.10. You need to use the correct partition number, my system has sda1 and sda6. Yours will have possibly the same, or different depending on the types of harddrives, and the partitioning scheme you have.

Hope this makes it easier to follow.
 
Old 11-07-2009, 10:13 AM   #7
clayb226
Member
 
Registered: Sep 2007
Location: Missouri
Distribution: CentOS, and many others
Posts: 34

Rep: Reputation: 16
Use the fdisk -l command to find out which partition has the / mount point, and then run the fsck command on that partition.
 
Old 11-12-2009, 01:47 PM   #8
kihitara
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
I get this message, too, after rebooting.

I did fdisk -l

Mine shows that Linus is on dev/sda1 (boot) and dev/sda5

I typed fsck.ext4/dev/sda1
and got bash: fsck.ext4/dev/sda1: No such file or directory

I get the same when I try sda5
 
Old 11-12-2009, 05:14 PM   #9
kasunbg
LQ Newbie
 
Registered: Mar 2009
Location: Sri Lanka
Distribution: Ubuntu 9.10
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by kihitara View Post
I typed fsck.ext4/dev/sda1
and got bash: fsck.ext4/dev/sda1: No such file or directory
You have to put a space after fsck.ext4 . That means in your case, the command would be,

Code:
fsck.ext4 /dev/sda1
hth
 
Old 11-12-2009, 06:59 PM   #10
kihitara
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Ahhhh thank you. Well, I have reinstalled the whole system and it seems to be working so far (this is about install 10... so I'm not holding my breath). If it happens again, I will definitely do that. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount SamFS filesystem on Linux (NFS mount ?) michalkm Linux - General 0 02-24-2009 07:35 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 08:29 PM
failed to mount squashfs filesystem!!! hotice Linux - General 3 03-30-2008 07:57 PM
Failed to mount root filesystem during boot pijon Linux - Hardware 3 08-31-2006 10:35 AM
automount: mount(generic): failed to mount (null) (type iso9660) on /mnt/media/ vasudevadas Slackware 5 10-17-2005 04:05 PM


All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration