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

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
sentinel166
Posts: 4
Joined: 07 Oct 2018, 15:39

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

#1 Post 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 ?
Last edited by sentinel166 on 02 Aug 2019, 17:39, edited 1 time in total.

sentinel166
Posts: 4
Joined: 07 Oct 2018, 15:39

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

#2 Post 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.

recuperation
Posts: 2720
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

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

#3 Post 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.

Locked