LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   file system check error (https://www.linuxquestions.org/questions/linux-general-1/file-system-check-error-460869/)

pzanis 07-04-2006 07:34 AM

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

acid_kewpie 07-04-2006 07:40 AM

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

pzanis 07-05-2006 07:12 AM

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



All times are GMT -5. The time now is 03:10 PM.