LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ext2 Superblock Error (https://www.linuxquestions.org/questions/linux-software-2/ext2-superblock-error-386005/)

elamigo2004 11-23-2005 10:27 PM

ext2 Superblock Error
 
I am trying to resize my Linux partition so I can have some more room for Windows.

I tried doing this before, and it gave me an error. Said there was something wrong with the data. So I go back to Windows, open Partition Magic, and check the Linux partition for errors. This is the exact error message: "Error # 1201: Ex2 superblock contains illegial information". Then under that it says "Block 181038 has incorrect block count". How can I fix this? Thanks for the help. :)

zeitounator 11-24-2005 01:22 AM

Did you try to check your partition with fsck ?
Which commands/software did you use to resize your partition ?

elamigo2004 11-24-2005 09:56 AM

No, I don't even know what fsck is. Other than being very close to a swear word. :D

I used Partition Magic 8 - I just right-clicked the Linux partition and hit "resize". Made it smaller (about 200-300 mb) and it gave me the error. Nothing happened. But I can still boot into Linux.

Thank you for the quick reply. I asked this same question at protonic.com and it's taking them weeks. :p

JZL240I-U 11-24-2005 10:00 AM

Code:


fsck /dev/hdxy  [with x=device, y=partition]
man fsck

You'll have guessed by now, that it checks your file system(s)... ;)

elamigo2004 11-24-2005 10:37 AM

All right. So, for example, fsck /dev/hda2, right?

And that will fix the errors?

zeitounator 11-24-2005 01:04 PM

Depends on the error.... and you might have to add some parameters (see "man fsck" for all possible options).

elamigo2004 11-26-2005 12:07 PM

Woo hoo! Got a live linux running, did fsck /dev/hdc6, and fixed like 15 problems. Thanks for the help.


All times are GMT -5. The time now is 02:55 PM.