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 02-11-2005, 02:30 AM   #1
ramzai
LQ Newbie
 
Registered: Jan 2005
Distribution: Mandrake 10
Posts: 7

Rep: Reputation: 0
problems with root filesystem


During startup, while checking root filesystem, I'm getting the following message (if it matters, my distro is Mandrake 10.0)

fsck.ext2/:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), the the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
: Is a directory while trying to open /
# e2fsck -b 32768 /dev/hdb5
e2fsck 1.34 (25-Jul-2003)
/dev/hdb5 was not cleanly unmounted, check forced
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong for group #0 (24057, counted=0).
Fix<y>? yes
......................................................#36...................
Free inodes count wrong for group #0 (15989, counted=14455).
Fix<y>? yes
Directories count wrong for group #0 (2, counted=159).
Fix<y>? yes
.....................................................#36.......................
Free inodes count wrong (591989, counted=460956).
Fix<y>? yes
/dev/hdb5: ***** FILESYSTEM WAS MODIFIED *****
/dev/hdb5: ***** REBOOT LINUX *****
/dev/hdb5: 131044/592000 files (0.3% non-contiguous), 798175/1182124 blocks
# exit

However, after reboot nothing changes
 
Old 02-11-2005, 09:14 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
try these options

fsck -y /dev/hdax

and

fsck -f /dev/hdax

replace x by ur partition no.

regards
 
Old 02-11-2005, 02:04 PM   #3
ramzai
LQ Newbie
 
Registered: Jan 2005
Distribution: Mandrake 10
Posts: 7

Original Poster
Rep: Reputation: 0
No, it doesn't...

# fsck -f /dev/hdb5
fsck1.34 (25-Jul-2003)
e2fsck 1.34 (25-Jul-2003)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hdb5: 131044/592000 files (0.3% contiguous), 798175/1182124 blocks
# fsck -y /dev/hdb5
fsck1.34 (25-Jul-2003)
e2fsck 1.34 (25-Jul-2003)
/dev/hdb5: clean, 131044/592000 files (0.3% contiguous), 798175/1182124 blocks

P.S. I can see my root filesystem! In shell, my startting directory is /root, when I see cd.. and ls, I see my whole / filesystem structure and after mount -n -o rw,remount /dev/hdb5 I am even able to startx! (I'm under it now)
 
  


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
Problems with root filesystem Sushy Slackware 4 10-15-2005 07:44 AM
root filesystem ewt3y Linux - General 7 08-16-2005 02:12 AM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 04:58 PM
Problems with console login on newly created root filesystem (for PXEboot) holandes777 Linux - General 1 08-05-2004 06:11 PM
What *has* to be in the root filesystem? fedetxf Linux - General 2 01-05-2004 08:21 PM


All times are GMT -5. The time now is 12:37 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