LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Corrupted superblock/filesystem? (Ext3) (https://www.linuxquestions.org/questions/linux-general-1/corrupted-superblock-filesystem-ext3-177563/)

elrohir_telperi 05-03-2004 09:42 PM

Corrupted superblock/filesystem? (Ext3)
 
Hi there,

Recently I've been reinstalling linux again and again, due to the below error message when I try to boot linux:

/dev/"hdaxx":

The superblock could not read or does not describe a correct ext2 filesystem. if the device is valid and it contains an ext2 filesystem, (and not swap or ufs or something else) then the superblock is corrupt, and you might try running e2fsck with an alternate superblock.



This has happened many many times, not only once.

I am using Mandrake 9.2, ext3 fileystem.

What's the reason for the above error and how do i fix it/prevent it?

Any help is much appreciated.

jailbait 05-03-2004 11:35 PM

"The superblock could not read or does not describe a correct ext2 filesystem. if the device is valid and it contains an ext2 filesystem, (and not swap or ufs or something else) then the
superblock is corrupt, and you might try running e2fsck with an alternate superblock."

"What's the reason for the above error and how do i fix it/prevent it?"

The problem is that one of your partitions has a broken filesystem. The most likely cause of the problem is shutting down Linux without going through normal shutdown (power failure?). The way to fix the problem is to boot a rescue CD and run fsck against every Linux partition except swap. When you run fsck it is very important that you tell fsck the correct filesystem type. Your fsck command should look something like:
fsck -t ext3 /dev/hda1
Answer y to every question that fsck asks you.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeB....home.page.html

Steve Stites

elrohir_telperi 05-04-2004 05:29 AM

Ahh, I reinstalled Linux (again, for the n-th time) instead.

I mis-read "rescue CD" as "rescue diskette/disk". I knew I didn't have any rescue disk with me so I proceeded with fresh installation of Linux again.

Then when I was trying to install Linux I noticed something about Linux Rescue in the CD. It lead me to a prompt. but it was too late as I deleted the partition with Linux.

Typical newbie syndrome.. bleah

As for your solution, I'll try it out when it happens again (hopefully not!)

Thanks alot.


All times are GMT -5. The time now is 09:45 PM.