SSD lost after starting reinstall win7 from recovery 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
argh
Posts: 1
Joined: 27 Oct 2019, 14:22

SSD lost after starting reinstall win7 from recovery partition

#1 Post by argh »

My SSD had dual boot linux/win7 plus a shared NTFS 32GB partition for files.

SSD crucial MX200 250GB

sda1 12GB win 7 recovery partition
sda2 104MB system reserved
sda3 156GB windows 7
sda4 80GB EXT linux mint 18
sda5 32GB NTFS shared files

I accidentally ran the recovery partition wizard and it formatted the entire disk and started reinstalling windows!
The reinstall failed at the first reboot due to no OS found possibly due to GRUB.

I used a live linux USB to run testdisk analyse but it only found the new partitions for the new windows sda1, sda2, sda3
I also tried device recovery with gparted for the same outcome
I ran gpart /dev/sda3 but did not understand the output.

I do not have a spare drive so I did not clone first. I can buy one on Monday if needed.

The SSD has TRIM support. Is all my data lost?

What can I do to get the old partitions back step by step please.

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

Re: SSD lost after starting reinstall win7 from recovery partition

#2 Post by cgrenier »

If TRIM has been used, your data is unfortunately lost.
When running TestDisk, try Deeper search after Analyze and Quick Search. If you are lucky, you should recover your old partitions.
In this case case, use the arrow keys to set the partitions to recover from D(eleted) to P(rimary) or *(bootable). On next screen, choose Write, confirm, Quit.
If it doesn't work, you can try PhotoRec. Be careful to store the recovered files on another disk than the source.

Locked