LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-04-2006, 08:34 AM   #1
pzanis
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Rep: Reputation: 0
file system check error


Dear Linux users

I run Red Hat 9.
I would be glad if someone could give a hint on the following error.

when I reboot my maschine I got the following error message:
**************************************
checking root filesystem
WARNING: Your /etc/fstab does not contain the fsck passno field. I will kludge around things for you, but you should fix your /etc/fstab file as soon as you can.
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 sometghing else), then the superblock is corrupt, and you might try running e2fsck with an alternative superblock:
e2fsck -b 8193 <device>
: Is a directory while trying to open /

*** An error occured during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

************************************************


With kind regards

Prodromos
 
Old 07-04-2006, 08:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
well it clearly tells you what to do. that's one of the best error messages i've seen in a long time... log in as root and then run fsck on the partition, e.g. fsck /dev/hda1
 
Old 07-05-2006, 08:12 AM   #3
pzanis
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy

Dear Linux users

In continuation of my yesterday quastion I tryed to do what it was suggested
to fix my error in file system check as follows:

a) first I did fdisk -l to see the partions in my hard disk
I identified the partitions /dev/hdg1 (boot) and /dev/hdg2 wih fstype ext3 and /dev/hdg3 with fstype swap.
Then
b) I run e2fsck -b 8193 /dev/hdg1 and e2fsck -b 8193 /dev/hdg2

However when I reboot the maschine I still had the same error message.

I also tryed alternatively the following to repair the file system

b) I run e2fsck -p -f /dev/hdg1 and e2fsck -p -f /dev/hdg2

Still the problem remains and I do not know how to overcome this problem.
I look forward for any hints.

With kind regards
Prodromso Zanis


Quote:
Originally Posted by pzanis
Dear Linux users

I run Red Hat 9.
I would be glad if someone could give a hint on the following error.

when I reboot my maschine I got the following error message:
**************************************
checking root filesystem
WARNING: Your /etc/fstab does not contain the fsck passno field. I will kludge around things for you, but you should fix your /etc/fstab file as soon as you can.
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 sometghing else), then the superblock is corrupt, and you might try running e2fsck with an alternative superblock:
e2fsck -b 8193 <device>
: Is a directory while trying to open /

*** An error occured during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

************************************************


With kind regards

Prodromos
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 08:38 PM
An error occurred during the file system check oloijuok Linux - Newbie 3 05-29-2009 07:29 AM
error During the file system check Gortex Linux - Newbie 5 06-18-2006 12:03 AM
error during file system check laurentwahl Linux - General 1 05-21-2005 08:33 PM
Trying to figure out error in file system check colmmagoo Linux - General 1 07-31-2004 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:57 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
Open Source Consulting | Domain Registration