LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools
Old 11-07-2009, 06:13 AM   #1
bacy
LQ Newbie
 
Registered: Nov 2009
Posts: 3
Thanked: 0
A mount of filesystem failed


[Log in to get rid of this advertisement]
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
windows_xp_2003 bacy is offline     Reply With Quote
Old 11-07-2009, 06:40 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Mandrake 9.2 Mandriva 2008.1 & 2009.1 Slackware 12.1 , Knoppix.
Posts: 2,575
Thanked: 56
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.
linux camorri is offline     Reply With Quote


Old 11-07-2009, 06:50 AM   #3
eth1
Member
 
Registered: May 2008
Posts: 83
Thanked: 9
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
macos eth1 is offline     Reply With Quote


Old 11-07-2009, 07:31 AM   #4
bacy
LQ Newbie
 
Registered: Nov 2009
Posts: 3
Thanked: 0

Original Poster
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!
windows_xp_2003 bacy is offline     Reply With Quote


Old 11-07-2009, 07:36 AM   #5
bacy
LQ Newbie
 
Registered: Nov 2009
Posts: 3
Thanked: 0

Original Poster
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
:-(
windows_xp_2003 bacy is offline     Reply With Quote


Old 11-07-2009, 10:11 AM   #6
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Mandrake 9.2 Mandriva 2008.1 & 2009.1 Slackware 12.1 , Knoppix.
Posts: 2,575
Thanked: 56
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.
linux camorri is offline     Reply With Quote


Old 11-07-2009, 10:13 AM   #7
clayb226
Member
 
Registered: Sep 2007
Location: Missouri
Distribution: CentOS, and many others
Posts: 31
Thanked: 2
Use the fdisk -l command to find out which partition has the / mount point, and then run the fsck command on that partition.
windows_xp_2003 clayb226 is offline     Reply With Quote


Old 11-12-2009, 01:47 PM   #8
kihitara
LQ Newbie
 
Registered: Nov 2009
Posts: 2
Thanked: 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
windows_98_nt_2000 kihitara is offline     Reply With Quote


Old 11-12-2009, 05:14 PM   #9
kasunbg
LQ Newbie
 
Registered: Mar 2009
Location: Sri Lanka
Distribution: Ubuntu 9.10
Posts: 11
Thanked: 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
windows_vista kasunbg is offline     Reply With Quote


Old 11-12-2009, 06:59 PM   #10
kihitara
LQ Newbie
 
Registered: Nov 2009
Posts: 2
Thanked: 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.
windows_xp_2003 kihitara is offline     Reply With Quote



Reply

Bookmarks


Thread Tools

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-25-2009 03:44 PM
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 12:24 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration