How do I restore a partition without losing the data?

I lost the D-partition in My Computer

I opened My Computer, but couldn't find it and I don't know where it is or how to return it. I went to Disk Management and found it available as free space.

So I tried to make it NTFS, but I had to format the drive and I don't want to, since it will erase my data.

Does anyone know how I can restore my partition without losing my data?


Solution 1:

Try using TestDisk, which is excellent at rebuilding NTFS partitions. It's available on the Knoppix Linux distribution, so you can boot using the Knoppix Live CD and recover from there.

enter image description here

TestDisk is a powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

TestDisk can:

  • Fix partition table, recover deleted partition
  • Recover FAT32 boot sector from its backup
  • Rebuild FAT12/FAT16/FAT32 boot sector
  • Fix FAT tables
  • Rebuild NTFS boot sector
  • Recover NTFS boot sector from its backup
  • Fix MFT using MFT mirror
  • Locate ext2/ext3 Backup SuperBlock
  • Undelete files from FAT, NTFS and ext2 filesystem
  • Copy files from deleted FAT, NTFS and ext2/ext3 partitions.

TestDisk has features for both novices and experts. For those who know little or nothing about data recovery techniques, TestDisk can be used to collect detailed information about a non-booting drive which can then be sent to a tech for further analysis. Those more familiar with such procedures should find TestDisk a handy tool in performing onsite recovery.

Solution 2:

I deleted the MBR and the partition table of a hard disk in VirtualBox using "MBR Work" and "MBR Utility" intentionally, to see if I can restore the partition table. The hard disk had 3 primary partitions and 3 "logical" partitions inside an extended partition - all NTFS

I tried TestDisk and it restored only the first two partitions correctly. It could not guess the correct end of the third primary partition. Also it could not detect the extended partition.

After that, I tried utilities from HIRENS Boot CD:

  • DiskGenius (AKA PartitionGuru Pro 3.7) - it worked very nice. It could detect all the partitions and it restored them without any problem.

  • Partition Wizard 7.6 could detect all 6 partitions even with a "Quick Scan" (it also has "Full Scan" option). It restored the partition table and all partitions without any problem. Super fast and super easy.

Other programs that might be capable to restore the partition table (haven't tested them):

  • Active@ Partition Recovery - http://www.partition-recovery.com/

  • EaseUS® Partition Recovery 5.6.1 - http://www.easeus.com/partition-recovery/

  • DiskPatch - iRecover - http://www.diydatarecovery.nl/Partition_Recovery.htm

  • gpart - https://en.wikipedia.org/wiki/Gpart

I also tried DiskInternals Partition Recovery 4.2 - it detected my deleted partitions and I could save all the files from all those partitions on another disk. What I could not do is to actually restore the partition table. Also it took quite long to detect all partitions and files - at least 40 minutes for a 80 GB disk. So it's not optimal at all but it works.