Recovering photos after deleting partitions (diskpart clean)

Using TestDisk to undelete files
Post Reply
Message
Author
MaKin
Posts: 6
Joined: 26 Dec 2015, 19:30

Recovering photos after deleting partitions (diskpart clean)

#1 Post by MaKin » 26 Dec 2015, 19:39

Hey guys,
after replacing my broken mainboard I did a clean install of Windows 10 (UEFI) and then had the problem that my internal drive (4TB) was not accessible for third party programmes due to missing rights. In a board post I've read about a way to clean the rights attributes via diskpart but because of my pure stupidity I read the wrong line and did a 'diskpart clean' on my drive which resulted in the deletion of the partitions and now I only see the drive as 'unallocated space'.
I had multiple partitions on the drive (1 for movies/music and 1 for backup). When running 'EaseUS Data Recovery Wizard' one lost-partition is found with movies and music but I do not care about these files. All I want to recover is my backup partition as it contains photos from the children growing up and as my notebook (with the files on the drive) was stolen - I have no copy of them. :(
After running the 'clean'-command I was asked whether I want to declare the HDD as MBR or GPT and I chose GPT. All partitions were formatted as NTFS drives before. I haven't done anything else so far as I did not want to make it worse...
I am totally frustrated and have no idea what to do. Please help me. :(

I received the following message while doing the Quick Search (I chose INTEL instead of GPT as I wasn't sure whether the partitions were MBR or GPT but now I've seen that the other drives are GPT so I assume that I should have chosen GPT here):

Code: Select all

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk \\.\PhysicalDrive2 - 4000 GB / 3726 GiB - CHS 486401 255 63

The harddisk (4000 GB / 3726 GiB) seems too small! (< 4559 GB / 4246 GiB)
Check the harddisk size: HD jumpers settings, BIOS detection...

The following partitions can't be recovered:
     Partition               Start        End    Size in sectors
>  FAT16 <32M           334401 149  7 554335  59 35 3533234069
   FAT32                415820 234 31 504023 166 25 1416976906
I found the folders with the photos but when copying I get the following errors:

Code: Select all

TestDisk 7.0, Data Recovery Utility, April 2015

Please select a destination where /VB and any files below will be copied.
Keys: Arrow keys to select another directory
      C when the destination is correct
Copying, please wait... 0 ok, 9581 failed
The log-file says:

Code: Select all

...
Can't create file \/VB/Fotoalben/ABI/P6263101.JPG: No such file or directory
...
The fact that the files were found brought back some hope, I really hope they aren't lost. :(

Also I am note sure whether I should try to recover the partitions or better just try to recover the files (photos).

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3511
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Recovering photos after deleting partitions (diskpart cl

#2 Post by cgrenier » 27 Dec 2015, 18:50

Once TestDisk find your lost partition, set this partition as P(rimary). On next screen if all your partitions are listed, choose Write, confirm, Quit and restart your computer. You should be able to access your files normally.

MaKin
Posts: 6
Joined: 26 Dec 2015, 19:30

Re: Recovering photos after deleting partitions (diskpart cl

#3 Post by MaKin » 27 Dec 2015, 19:19

With PhotoRec I could recover 66GB of my photos (should be everything), I just started TestDisk QuickSearch again (with GPT selected) and it is supposed to take about 2 days. :shock:

When I ran the Quick Search with 'INTEL' as the selected option, the search was interrupted, it showed the partitions afterwards but I wasn't able to recover anything. I could see the files (not sure whether it was complete) but when copying it said "File or Directory not found" or something like that. :(

Is it possible that my selection of 'INTEL' instead of 'GPT' might have been the reason?

MaKin
Posts: 6
Joined: 26 Dec 2015, 19:30

Re: Recovering photos after deleting partitions (diskpart cl

#4 Post by MaKin » 28 Dec 2015, 08:09

I attached a screenshot of how it looks so far. I never had a Mac partition. :/
Attachments
image.png
image.png (98.86 KiB) Viewed 1046 times

MaKin
Posts: 6
Joined: 26 Dec 2015, 19:30

Re: Recovering photos after deleting partitions (diskpart cl

#5 Post by MaKin » 28 Dec 2015, 12:24

Now this Message popped up.

What should I do?
Attachments
image.png
image.png (93.51 KiB) Viewed 1044 times

MaKin
Posts: 6
Joined: 26 Dec 2015, 19:30

Re: Recovering photos after deleting partitions (diskpart cl

#6 Post by MaKin » 29 Dec 2015, 10:10

I'm doing a deep search and so far I'm seeing this. What the heck?

Why am I shown Mac HFS? I've never used it on my Mac...
Attachments
image.png
image.png (228.85 KiB) Viewed 1030 times

User avatar
Fiona
Posts: 2836
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Recovering photos after deleting partitions (diskpart cl

#7 Post by Fiona » 30 Dec 2015, 08:55

When TestDisk runs on EFI GPT, it can recognize any HFS-partition by remnants, because Intel-Mac uses the same partition table type too.
It has no significance and you should only look for your appropriate partition type (file system) like FAT32LBA or NTFS.
I've answered your german topic!

Fiona

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests