On Wed, 9 Mar 2005 16:26:46 +0000, Paul bdi-emc@ntlworld.com wrote:
Hi Jen
Booting from the Knoppix disk, run mke2fs -n /dev/hda1" to see where the superblock numbers are located [V.Important note: Make sure you use the -n flag]. Then try running "e2fsck -b<block number>", where the block number is one of the ones from the output of mke2fs - Don't use the first one, try the third or fourth... If all going well, you *should* be able to mount the disk.
Man pages for e2fcsk, mke2fs, and mount should provide additional info if needed.
Regards, Paul.
Hi Paul - thanks for replying. I tried this yesterday to no avail. Rebooting from hard drive gives kernel panic as wrong fs type found on hda.
I also found this today: http://www.uwsg.iu.edu/hypermail/linux/kernel/0104.2/1395.html which reckons e2fsck can make things worse.
This is what fdisk reckons I have: Disk /dev/hda: 122.9 GB, 122942324736 bytes 16 heads, 63 sectors/track, 238216 cylinders Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 1 237223 119560360+ 83 Linux /dev/hda2 237224 238216 500472 f W95 Ext'd (LBA) /dev/hda5 237224 238216 500440+ 82 Linux swap
And this is where I have superblocks: Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872
Of course, all the superblocks may think they are a giant swap file :-(
Thanks for help, Jen