On Thu, 12 Jul 2001 [EMAIL PROTECTED] wrote:

> Christoph Egger writes:
>  >
>  > Hi!
>  >
>  > I know this is offtopic, but solving my problem would help me to come back
>  > to GGI again.
>  >
>  >
>  > Does anyone know how the ext2 superblock signature looks like?
>  > How can I search for it and get the cylinder it belongs to?
>  > My harddisk has 790 cylinders, 255 heads and 63 sectors. One cylinder has
>  > 8225280 bytes.
>
> I found tools that helps you recover your partition table by scanning
> the disk for know file system:
>
> http://www.stud.uni-hannover.de/user/76201/gpart/
> http://bmrc.berkeley.edu/people/chaffee/fat32.html
>
> Good luck!

TNX. I found the correct size of my /usr partition and corrected it. So I
was able to find the offset of /dev/hda9, which is my
"wastedump"-partition. It's superblock is corrupted, but I know, that the
filesystem is ext2, size is 100MB and inode-size is 1024 Bytes.

The superblock of my /dev/hda10 partition is also corrupted and that is
/home!! So wanna reconstruct the superblock on /dev/hda9 at first before I
am going to do that with /dev/hda10.

e2fsck says this:

root@ # e2fsck -n -v /dev/hda9
e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Group descriptors look bad... trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/hda9

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), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

e2fsck -n -b 8193 /dev/hda9 gives the same result.

To not loose data, I made copies with the dd tool.

Anyone here, who knows a nice tool or any way to fix a superblock?


Thanks in advance,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

Reply via email to