Fixing damaged partition table
Posted
by
dr4cul4
on Super User
See other posts from Super User
or by dr4cul4
Published on 2012-11-09T21:22:08Z
Indexed on
2014/06/11
21:28 UTC
Read the original article
Hit count: 225
This is continuation of Recover Extended Partition , but this time I have different problem related partition table it self.
I managed to restore partition that I needed and backed up files that were crucial to me (at least those that I had space to store somewhere)
OK now get to the problem. My partition table is corrupted, booting RIP Linux I can mount it in truecrypt (and other ones that recovered), but that's basically it. When I launch GParted I have unallocated drive.
GParted Dev info:
Device Information
Model: ATA ST2000DL003-9VT1
Size: 1.82TiB
Path: /dev/sda
Partition table: unrecognized
Heads: 255
Sectors/track: 63
Cylinders: 243201
Total Sectors: 3907029168
Sector size: 512
When I check information on unallocated space I get:
File system: unallocated
Size: 1.82TiB
First sector: 0
Last sector: 3907029167
Total sectors: 3907029168
Warning: Can't have a partition outside the disk!
Now the output of testdisc (Analyze):
TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <[email protected]>
http://www.cgsecurity.org
Disk /dev/sda - 2000 GB / 1863 GiB - CHS 243201 255 63
Current partition structure:
Partition Start End Size in sectors
> 1 P Linux 13132 242 39 16353 233 8 51744768
2 E extended LBA 16807 223 1 243201 254 63 3637021626
No partition is bootable
5 L Linux 16807 223 57 20430 39 25 58191872
X extended 20430 70 1 243201 78 13 3578816632
Invalid NTFS or EXFAT boot
6 L HPFS - NTFS 20430 71 58 243201 78 13 3578816512
6 LNext
Now fdisk:
# fdisk -l /dev/sda
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00039cd0
Device Boot Start End Blocks Id System
/dev/sda1 210980864 262725631 25872384 83 Linux
/dev/sda2 270018504 3907040129 1818510813 f W95 Ext'd (LBA)
/dev/sda5 270018560 328210431 29095936 83 Linux
/dev/sda6 328212480 3907028991 1789408256 7 HPFS/NTFS/exFAT
Now I would like to fix that to arrange partitions correctly, but I have no idea which tool is capable of fixing that (tried, a few, some of them offered fixing, but it was to risky at the moment - still backing up data).
© Super User or respective owner