-   Linux - Newbie (
-   -   Bad magic number in super-block (

kubokubik 01-20-2005 05:56 AM

Bad magic number in super-block

I have installed linux FC3 and windows2000 on one PC like this:

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 766 5864 40957717+ 83 Linux
/dev/hda2 10851 19457 69135727+ 5 Extended
/dev/hda3 * 5865 10850 40050045 7 HPFS/NTFS
/dev/hda4 1 765 6144831 4d QNX4.x
/dev/hda5 10851 10913 506016 82 Linux swap
/dev/hda6 10914 19457 68629648+ b W95 FAT32

I have rebooted from win to linux but grub reported error 17.

I have tried to check partition with Knopiix 3.7:

# fsck.ext3 /dev/hda1
e2fsck 1.35 (28-Feb-2004)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to open /dev/hda1

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>

Please can you help me fix this problem?


0pal_t0ad 01-20-2005 10:29 AM

have you deleted any partitions lately?

kubokubik 01-24-2005 02:41 AM

I have not deleted any partition.
But I have found out somethink strange: I have found some corrupted files on /dev/hda6 partition after huge working on this partition in windows. And now I cannot do format of this partition under windows (formely /dev/hda6 had been formated under linux like vfat ).


0pal_t0ad 01-24-2005 01:03 PM

that's a fat32 partition, but u probably that whatever corrupted that partition wasn't too friendly to your linux partition either.

kubokubik 01-26-2005 10:52 AM

I have reinstalled linux. But windows destroy that partition again, it looks that windows or BIOS have problem to manage my 160 GB HDD. I have converted /dev/hda6 to ext3 and it works OK under linux.

All times are GMT -5. The time now is 12:52 AM.