Wrote recovered partition to disk - now what?

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
Hashim
Posts: 14
Joined: 12 Aug 2017, 00:41

Wrote recovered partition to disk - now what?

#1 Post by Hashim »

A while back I accidentally ran:

Code: Select all

diskpart
format override /fs=ntfs
..on the wrong drive, which turned out to be my 2TB external data drive. The command ran for less than a minute before I realised what I'd done and cancelled it.

After a renewed motivation to recover it over the last few days, I managed to compile Testdisk for Cygwin and then used it to find my partition successfully, after which I marked it as Primary instead of bootable because I'm assuming that a data drive does not need to be bootable. However, even after I write the partition to the disk and restart my computer as prompted, the disk appears to behave the same way - it shows up as RAW in Windows' disk management, and Windows keeps prompting that it needs to be formatted. What's going on here? Am I missing any steps to make my data drive's filesystem start showing up again in Windows Explorer?

Thank you in advance, I would really appreciate some help as this drive contains many years of irreplaceable sentimental data and it would mean a lot to get them back.

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

Re: Wrote recovered partition to disk - now what?

#2 Post by recuperation »

Finding a partition and adding it to the partition table is not enough for a successful recovery.
You forgot to use the p command to list files on the NTFS drive.
That gives you an indication if the file system structures have been damaged or not.

The log file as well contains valuable information indicating the amount of dammage existing.

There is still Photorec as last line of defense against a possible data loss.

Hashim
Posts: 14
Joined: 12 Aug 2017, 00:41

Re: Wrote recovered partition to disk - now what?

#3 Post by Hashim »

recuperation wrote: 03 Dec 2019, 22:47 Finding a partition and adding it to the partition table is not enough for a successful recovery.
You forgot to use the p command to list files on the NTFS drive.
That gives you an indication if the file system structures have been damaged or not.

The log file as well contains valuable information indicating the amount of dammage existing.

There is still Photorec as last line of defense against a possible data loss.
Is this part necessary? The Step by Step guide seems to imply to me that it is optional, and that if the partition has been recovered it can be written to the disk. Are there usually no other steps after writing the new partition table to the disk and restarting?

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

Re: Wrote recovered partition to disk - now what?

#4 Post by recuperation »

Hashim wrote: 03 Dec 2019, 23:39
recuperation wrote: 03 Dec 2019, 22:47 Finding a partition and adding it to the partition table is not enough for a successful recovery.
You forgot to use the p command to list files on the NTFS drive.
That gives you an indication if the file system structures have been damaged or not.

The log file as well contains valuable information indicating the amount of dammage existing.

There is still Photorec as last line of defense against a possible data loss.
Is this part necessary? The Step by Step guide seems to imply to me that it is optional, and that if the partition has been recovered it can be written to the disk. Are there usually no other steps after writing the new partition table to the disk and restarting?
If you don't mind having invalid or "RAW" partitions in your partition table, no.
You could run checkdisk if you want to.

Hashim
Posts: 14
Joined: 12 Aug 2017, 00:41

Re: Wrote recovered partition to disk - now what?

#5 Post by Hashim »

recuperation wrote: 05 Dec 2019, 10:00
Hashim wrote: 03 Dec 2019, 23:39
recuperation wrote: 03 Dec 2019, 22:47 Finding a partition and adding it to the partition table is not enough for a successful recovery.
You forgot to use the p command to list files on the NTFS drive.
That gives you an indication if the file system structures have been damaged or not.

The log file as well contains valuable information indicating the amount of dammage existing.

There is still Photorec as last line of defense against a possible data loss.
Is this part necessary? The Step by Step guide seems to imply to me that it is optional, and that if the partition has been recovered it can be written to the disk. Are there usually no other steps after writing the new partition table to the disk and restarting?
If you don't mind having invalid or "RAW" partitions in your partition table, no.
You could run checkdisk if you want to.
So for a data drive, should I expect that if everything went right the drive should show up in Windows Explorer after rebooting?

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

Re: Wrote recovered partition to disk - now what?

#6 Post by recuperation »

Hashim wrote: 05 Dec 2019, 23:00 So for a data drive, should I expect that if everything went right the drive should show up in Windows Explorer after rebooting?
No. You should not expect anything unless you have checked the accessibility of its content with the p-key before.
I don't understand what "everything went right" means.

Locked