PDA

View Full Version : [ubuntu] manual file system checking



arunkumar413
January 17th, 2009, 12:51 PM
/dev/sda7 contains a file system with errors,check forced.
/dev/sda7.
inodes that were part of a corrupted orphan linked list found.
/dev/sda7: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.(i.e., without -a or -p options)
fsck died with exit status 4.

*an automatic file system check (fsck) of the root file system failed.
a manual fsck must be performed,then the system restarted.The fsck should be performed in maintenance mode with the root file system mounted in read only mode.

*the root file sytem is currently mounted in read only mode.

A maintenance shell will.........
This is the message i get when i try to boot ubuntu 8.10.It is asking for a root password for manual file system check.I forgot the root password.am unable to boot linux.please help me

Tim Sharitt
January 17th, 2009, 01:10 PM
Have you set a root password?

arunkumar413
January 17th, 2009, 01:12 PM
no

Tim Sharitt
January 17th, 2009, 01:35 PM
You can run fsck off of a live cd. Open a terminal and run:

sudo fsck /dev/sda7

arunkumar413
January 17th, 2009, 01:40 PM
You can run fsck off of a live cd. Open a terminal and run:

sudo fsck /dev/sda7
does this work even if i have two linux OS.i have ubuntu8.10 and BOSS Linux.

Tim Sharitt
January 17th, 2009, 02:01 PM
Yes, you should be able to use it from any linux distribution for any linux file system.

Archmage
January 17th, 2009, 02:03 PM
Most of the time the root-password is the password of the first user.