Partition write error?

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
Message
Author
PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Partition write error?

#1 Post by PassNGrin »

Initial context:

viewtopic.php?f=5&t=10145
viewtopic.php?f=5&t=10135

ok, so, I tried to write the partition since I didn't get an answer, then tried analysing again to see the file system type, then I finally notice the sector size mismatch warning.

after I noticed, I set the geometry setting to 512.

Turns out there were a bunch of partitions that actually counted as deleted.

I set the ones without damaged file systems to primary (whoops! checked the step by step again, should've set them to logical!) that ended up causing a write error, and the disk drive temporarily disconnected.

When it reconnected, I tried analyse again, but it didn't find anything. The Windows disk manager did list a correct partition size though.

Stay tuned for more. I'm going to try safely restarting testdisk

PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Re: Partition write error?

#2 Post by PassNGrin »

Oh yeah, bad GPT partition entries, invalid checksum was also mentioned when I set the sector size to 512

PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Re: Partition write error?

#3 Post by PassNGrin »

hm, I can't seem to set it to logical, but the files still seem to be there

maybe I'll see what I can find in the new E and F drives

PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Re: Partition write error?

#4 Post by PassNGrin »

Testdisk detected a none partition type in the two new drives.

The E: drive contained my files, but the F: drive contained the recovery partition

Windows has detected these drives, but is telling me to format them.

what do I do to get these files into my computer?

PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Re: Partition write error?

#5 Post by PassNGrin »

Dunno whether to use chkdsk, copy the disk, or do testdisk undelete.

I'll keep looking

PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Re: Partition write error?

#6 Post by PassNGrin »

and by chkdsk I nean chkdsk /f?

PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Re: Partition write error?

#7 Post by PassNGrin »

First I'll try advice from these links...

viewtopic.php?t=8067
viewtopic.php?t=5934

So chkdsk /f e: does not work on RAW drives...

PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Re: Partition write error?

#8 Post by PassNGrin »

Decided to use testdisk again, and selected Intel instead of None this time:

viewtopic.php?t=50

There's a bad relative sector and a space conflict between two partitions?

Proceeding to quick search...

PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Re: Partition write error?

#9 Post by PassNGrin »

The Quick Search is taking a while, but I have a question to ask:

Should I have selected the intel partition type in the beginning, even when the disk manager listed the disk as GPT? I get the feeling that I've been going about this problem wrong from the beginning...

PassNGrin
Posts: 32
Joined: 23 May 2020, 23:56

Re: Partition write error?

#10 Post by PassNGrin »

the quick scan listed a... Linux partition? My old drive was on a Windows computer though...

was this a result of the earlier GPT write that had an error?

Quick scan still ongoing... 10%

Locked