After recovering a 4TB Partition, Disk Management says "2048GB RAW" 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
Architekt
Posts: 2
Joined: 21 Jul 2022, 21:06

After recovering a 4TB Partition, Disk Management says "2048GB RAW"

#1 Post by Architekt »

I accidentially erased a partition from my external hard drive. It's a Western Digital My Passport drive.

When I run testdisk, I first get:

Code: Select all

Error: size boot_sector 7813705695 > partition 4294967295
Invalid NTFS or exFAT boot
1 * HPFS - NTFS             16 113 34 267365 202 36 4294967295 
1 * HPFS - NTFS             16 113 34 267365 202 36 4294967295                                                                                                                          
Nevertheless, despite the error messsage, upon selecting "Quick Search", it finds the partition just fine:

Code: Select all

Disk \\.\PhysicalDrive1 - 4000 GB / 3725 GiB - CHS 486397 255 63                                                             Partition               Start        End    Size in sectors                                                        >* HPFS - NTFS             16 113 34 486397  33 36 7813705728 [My External Drive]  
It is also able to list all the files on the partition (which should be a good sign, right?)

The partition was originally 4TB. After I instruct testdisk to write the partition, it asks me to reboot the computer. I assume this is not applicable for an external hard drive, so I just disconnect and reconnect it.

Unfortunately, the partition hasn't been restored correctly. When I look in Windows Disk Management, it shows a partition titled "2048,00 RAW" and then 1677GB of unallocated space afterwards.

How can I restore this partition correctly?

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

Re: After recovering a 4TB Partition, Disk Management says "2048GB RAW"

#2 Post by recuperation »

Unfortunately you did not post your full logfile.
I can only guess that you should have selected GPT as type of partition table.
MBR combined with a sector size of 512 byte (estimate - your data is missing) can only address 2 TB.

Architekt
Posts: 2
Joined: 21 Jul 2022, 21:06

Re: After recovering a 4TB Partition, Disk Management says "2048GB RAW"

#3 Post by Architekt »

Thank you very much!

That was the problem. I selected "Intel" instead of GPT. After selecting GPT, the partition was restored successfully.

Locked