How do I solve "Mount of filesystem failed"

Asked by Indian Art

Hi!
I had suspended my PC running Ubuntu 9.10 (with all updates installed smoothly). I have suspended this computer several times and it always comes back to normal mode. I could not get it out of the suspend mode. So I had to do a hard reset (reboot after switching off the power). I am not able to boot my computer. It starts the booting process and successfully goes beyond GRUB. However, it stops on a black screen with the following white text appended to my question. The live CD is able to boot the computer in Ubuntu 9.10. Windows XP can also boot successfully. I have some very important work stored on it. Please could you help me as I need to use this PC on Ubuntu?

Desktop PC Error message

“Mount of filesystem failed.
A maintenance shell will now be started.
CONTROL-D will terminate this shell and re-try.”
root@sp-desktop:~# exit

On entering CONTROL-D:

mountall start/starting
[ 355.842840] EXT3-fs error (device sda8) : ext3_lookup: deleted inode referenced: 115445
[ 355.843764] EXT3-fs error (device sda8) : ext3_lookup: deleted inode referenced: 123725
[ 355.849961] EXT3-fs error (device sda8) : ext3_lookup: deleted inode referenced: 1064965
fsck from util-linux-ng 2.16
/dev/sda8: Superblock last mount time is in the future.
                     (by less than a day, probably due to bad system clock last boot) FIXED.
/dev/sda8: Superblock last write time is in the future.
                       (by less than a day, probably due to bad system clock last boot) FIXED.
/dev/sda8: contains a file system with errors, check forced.
swapon: /dev/disk/by-uuid/dbfc1592-1f8e-4085-87c4-5ca4956e7697: swapon failed: Device or resource bu sy
mountall: swapon: /dev/disk/by-uuid/dbfc1592-1f8e-4085-87c4-5ca4956e7697 [935] terminated with status 255
mountall: Problem activating swap: /dev/disk/by-uuid/dbfc1592-1f8e-4085-87c4-5ca4956e7697
/dev/sda8: Inode 16743 has illegal block(s)

/dev/sda8: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
                           (i.e., without -a or -p options)
mountall: fsck / [933] terminated with status 4
mountall: Filesystem has errors: /
init: mountall main process (931) terminated with status 3
Mount of filesystem failed.
A maintenance shell will now be started.
CONTROL-D will terminate this shell and re-try.”
root@sp-desktop:~#

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
Indian Art
Solved:
Last query:
Last reply:
Revision history for this message
Indian Art (goldfish-aol) said :
#1

I was browsing Ubuntu Forums on my other OS while awaiting an answer here at Launchpad. I searched "Mount of filesystem failed" and found that the solution was to run the code:

fsck

Then I typed "y" for yes several times.

I then rebooted and am back on Ubuntu.

Problem solved thanks everyone,