My Partition vanished after writing it to disk Topic is solved

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
kaze
Posts: 2
Joined: 15 Sep 2020, 23:43

My Partition vanished after writing it to disk

#1 Post by kaze »

What I did:
- I deleted partition thru os installed but did not format
- I run search, didnt saw my partition, did deep search and saw my parition there that was labled correctly "Mechanik" which was 1TB size (correct)
- pick it as L and hit "write", rebooted

I probably pick wrong source of table (there was backup or org) because there were error about them being different

Now I have partition "Reserved by system (D:)" which is correct size but dont contains my data.

When I run testdisk search/deepserach I cannot see my partition that was labeled.

This is my disk:
Disk /dev/sdb - 1000 GB / 931 GiB - SAMSUNG HD103SJ
CHS 121601 255 63 - sector size=512


When entering into Rebuild BS I get:
TestDisk 7.2-WIP, Data Recovery Utility, September 2020
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Partition Start End Size in sectors
5 L HPFS - NTFS 0 32 33 121600 247 55 1953517568 [Zastrze]
filesystem size 1953517568 102400
sectors_per_cluster 8 8
mft_lcn 4266 4266
mftmirr_lcn 2 2
clusters_per_mft_record -10 -10
clusters_per_index_record 1 1
Extrapolated boot sector and current boot sector are different.


Any suggestion what can I do now ?

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

Re: My Partition vanished after writing it to disk

#2 Post by cgrenier »

Run TestDisk, Advanced, Boot, RebuildBS, List. If you can see your lost files, choose Write, confirm, Quit and restart your computer.

kaze
Posts: 2
Joined: 15 Sep 2020, 23:43

Re: My Partition vanished after writing it to disk

#3 Post by kaze »

cgrenier wrote: 17 Sep 2020, 10:05 Run TestDisk, Advanced, Boot, RebuildBS, List. If you can see your lost files, choose Write, confirm, Quit and restart your computer.
sorry for late response I was freak out by the issue and handle it in other way.

Im not sure how it was when I was doing it but just in case some lost soul will struggle, testdisk would only show bad size partition, same with files.
When I was listing files some of them were missing. I tried few other tools but most of them (the "free" if was showing parition size correct then it would need to "unlock" premium function).

As a last resort I tried non-free application and was able to somehow read correct parition size - looks like I mess with those tools too much, I overwrite bad MBR and so on (inside RebuildBS)

To be honest I had decent success rate wtih TestDisk but that was not enough of knowleght to be able to use it to recover my partition.

Somehow I end up with 100% intact (can't check crc but im using day even now, so what was lost wasn't important)

Locked