Hi, all,
Can anyone help me with my problem?
My first hard disk was split to several partitions, some of which were
Linux partitions, some of them Windows ones. Two days ago Windows
scandisk "optimized its partition" (hda6) so that the remaining portion
of the partition table (after windows's partition) has been erased and
the beginning of the following partition has been overwritten as well.
Trying to recover my Linux partition, I set up a new Linux system
on the other hard disk and tried numerous utilities, including
gpart, fixdisk, and e2fsprogs. None of them could help me to locate the
beginning of my linux partition. I have put the partition hda7 to the
approximate location, according to my old notes, but I am not sure if it
is correct. Here is the partition table of hda by cfdisk:
(1 cylinder = 1008*512 bytes)
First Last
# Type Sector Sector Offset Length Filesystem Type (ID)
Flags
-- ------- -------- --------- ------ --------- ----------------------
---------
1 Primary 0 33263 63 33264 Linux (83)
None (00)
2 Primary 33264 545327 0 512064 Linux swap (82)
None (00)
3 Primary 545328 2593583 0 2048256 Win95 FAT32 (LBA) (0C)
Boot (80)
4 Primary 2593584 40088159 0 37494576 Win95 Ext'd (LBA) (0F)
None (00)
5 Logical 2593584 10785599 1008# 8192016 Win95 FAT32 (0B)
None (00)
6 Logical 10785600 31265662* 63 20480063* Win95 FAT32 (0B)
None (00)
Logical 31265663*31266144* 0 482* Free Space
None (00)
7 Logical 31266145*39663792* 63 8397648 Linux (83)
None (00)
Logical 39663793*40088159 0 424367* Free Space
None (00)
The nice program findsuper did locate some superblocks:
mic:~# findsuper /dev/hda7
thisoff block fs_blk_sz blksz grp last_mount
133970944 130831 1049758 2 1 Tue Mar 27 03:58:59 2001
402406400 392975 1049758 2 3 Tue Mar 27 03:58:59 2001
670841856 655119 1049758 2 5 Tue Mar 27 03:58:59 2001
939277312 917263 1049758 2 7 Tue Mar 27 03:58:59 2001
Unfortunately none of the e2fsprogs could open the ext2 filesystem, with
or without
the argument "-b 130831".
Now I need some way to restore the beginning of the partition... Can
anyone help?
If it is impossible, then, how can I recover at least part of the
directory tree,
most importantly the directories "work" and "disser" :( ?
Is there a tool that is able to search for and interpret the contents of
inodes? - some of those were untouched, I believe.
I would appreciate any help.
Michael.