Page 1 of 1

Recover partition knowing the partition offset

Posted: 16 Jun 2018, 19:52
by gnam
Hello! I've just started using TestDisk in order to recover a lost exFat corrupted partition under linux.

The partition was formatted with exfat-fuse so there's no way of mounting it on Windows and fix it (I've discovered that late).

I might have messed up with TestDisk somehow as now the hard drive only detects HFS+ and fat16 partitions (which weren't there)

With the help of R-Studio I made more light on the situation, after scanning all the sectors..this is the situation of the disk:
The attachment part2.png is no longer available
The partition I'm trying to recover is that exFAT, with the label "BYTE" (Recover7)
I managed to find out the partition offset and number of sectors involved (see screenshot below)
part2.png
part2.png (49.79 KiB) Viewed 2263 times
Is there any way I can recover and keep only that partition on disk with TestDisk inserting the correct partition offset and number of sectors?
Thanks alot I hope you can help :)

Re: Recover partition knowing the partition offset

Posted: 18 Jun 2018, 18:37
by cgrenier
If you are using EFI partition table, you can manually add ('a' key) an MS Data/exFAT partition at offset 476672 with a size of 9684915712 sectors.
You can also check the partition listed by TestDisk after Analyse, Quick Search and Deeper Search if necessary.

Re: Recover partition knowing the partition offset

Posted: 18 Jun 2018, 19:02
by gnam
cgrenier wrote: 18 Jun 2018, 18:37 If you are using EFI partition table, you can manually add ('a' key) an MS Data/exFAT partition at offset 476672 with a size of 9684915712 sectors.
You can also check the partition listed by TestDisk after Analyse, Quick Search and Deeper Search if necessary.
Thanks for your reply. I'll do some more tests today and report back

Re: Recover partition knowing the partition offset

Posted: 20 Jun 2018, 12:02
by gnam
Unfortunately I reach the point where it says "Can't open filesystem. Filesystem seems damages". Any chances to fix a damaged partition with TestDisk?
Thanks!

Re: Recover partition knowing the partition offset

Posted: 25 Jun 2018, 05:53
by cgrenier
The pdf contains a chapter about "Repairing Filesystem". If it doesn't work, you can always use PhotoRec to recover your data.