Page 1 of 1

can I and how, compilate testdisk to recover lost EXFAT partition ?

Posted: 02 Aug 2019, 17:36
by sentinel166
Hi.
Accidentaly I wrote a short image (2 Go) on my 1 To backup disk. That might be the most horrible computer related mayhem I ever did, but since it's so big, I guess few things have really been lost.
But it was a "exFat" partition. I can't found the "Undelete" option present here and there on tutos, and using Photorec would mean losing file names and directory structure which would be a nightmare.

Is there a way to recover both files, tree structure and files names ?
Or at least file names ?

Re: can I and how, compilate testdisk to recover lost EXFAT partition ?

Posted: 02 Aug 2019, 17:39
by sentinel166
At first glance the "lost partitions" it finds are:
1 E extended LBA 0 1 1 121600 254 63 1953520002
5 L HPFS - NTFS 0 1 2 121600 254 63 1953520001

which I have no clues what they are since I never formatted in NTFS. I'm way too much scared of "write"-ing this list on the disk, since I have no clue what it will be doing.
I'm running "deeper search" and will tell you if something appears which makes more sense.

Re: can I and how, compilate testdisk to recover lost EXFAT partition ?

Posted: 02 Aug 2019, 20:45
by recuperation
Re: can I and how, compilate testdisk to recover lost EXFAT partition ?
Testdisk can recover lost EXFAT partitions:
https://www.cgsecurity.org/testdisk.pdf
sentinel166 wrote:
02 Aug 2019, 17:36
Accidentaly I wrote a short image (2 Go) on my 1 To backup disk.
What did you do exactly?
I can't found the "Undelete" option
https://www.cgsecurity.org/testdisk.pdf
Is there a way to recover both files, tree structure and files names ?
Or at least file names ?
Based on your description one has to guess that you have overwritten your FAT completely.
Photorec is your only option.

The area that has not been affected could contain subdirectory information, tree information, file names and a pointer to the first used cluster. You would have to carve across the disk to find those parts.
I doubt that either Testdisk or Photorec currently does that.
It would be necessary to tell a programm to interpret data "exfat" style.