Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Data Recovery after Diskpart cleaned and created new partition

29 Apr 2015   #11
jumanji

Windows 7 Home Premium 32 bit
 
 

Quote   Quote: Originally Posted by gregrocker View Post
....Rest assured you are in the best possible hands with Jumanji.
Not infallible though as greg seems to imply :). We are also learning from user experiences and our mistakes and becoming wiser by the day .

Anyway @MycroftHolmes, thank you for your inputs in posts #5 and 9.

I agree totally with your idea of cloning the drive and making the data recovery effort on the cloned drive.

What software are you going to use to clone the drive? ddrescue???

After cloning run the Partition Recovery Wizard in Partition Wizard as indicated earlier and check whether it can pull out the lost/deleted partitions.

(Running a Quick Scan / Full Scan on the current drive also will in no way affect your data as long as you do not give a write command by cancelling and closing the PW after posting the Found Partitions Window.)

Things would have been simpler if you had immediately after partitioning ( the UDF and the encrypted partitions) saved the GPT data in Sectors 0 (the protective MBR), 1 (the GPT header), 2 (the GPT Partition Table ), LBA n ( the last sector - the GPT header backup) and n-32 ( backup of GPT Partition table)

And as Greg said all data which is your bread and butter should have not just one but two backups.( I know you lost the only backup)

Keep us posted.


My System SpecsSystem Spec
.
01 May 2015   #12
MycroftHolmes

Windows 7 Professional 32-Bit
 
 

Quote   Quote: Originally Posted by jumanji View Post
Quote   Quote: Originally Posted by gregrocker View Post
....Rest assured you are in the best possible hands with Jumanji.
Not infallible though as greg seems to imply :). We are also learning from user experiences and our mistakes and becoming wiser by the day .

Anyway @MycroftHolmes, thank you for your inputs in posts #5 and 9.

I agree totally with your idea of cloning the drive and making the data recovery effort on the cloned drive.

What software are you going to use to clone the drive? ddrescue???

After cloning run the Partition Recovery Wizard in Partition Wizard as indicated earlier and check whether it can pull out the lost/deleted partitions.

(Running a Quick Scan / Full Scan on the current drive also will in no way affect your data as long as you do not give a write command by cancelling and closing the PW after posting the Found Partitions Window.)

Things would have been simpler if you had immediately after partitioning ( the UDF and the encrypted partitions) saved the GPT data in Sectors 0 (the protective MBR), 1 (the GPT header), 2 (the GPT Partition Table ), LBA n ( the last sector - the GPT header backup) and n-32 ( backup of GPT Partition table)

And as Greg said all data which is your bread and butter should have not just one but two backups.( I know you lost the only backup)

Keep us posted.
Well, Sir, I cloned the hard drive using WinHex. And then I saved the Veracrypt Partition using WinHex to a file. Actually VeraCrypt (or even Truecrypt) doesnot have a header,rather the header is encrypted. Hence normal data recovery softwares could not detech it. I saved the sectors of the Veracrypt Partition manually, by selected the sectors, and then using Copy Block (to a File) in WinHex. I could then mount the file using Veracrypt. The data, thankfully, is intact, save one 1GB file. Thankfully I have other backup of that file. It was an illuminating experience for me.
My System SpecsSystem Spec
01 May 2015   #13
jumanji

Windows 7 Home Premium 32 bit
 
 

So finally you got everything done with your own efforts. Well done. If in future less knowledgeable folks come out with similar problems, we know whom to call :). So hang around.

I just have one doubt. What is that UDF partition, why did you create it and what data is in there??
My System SpecsSystem Spec
.

01 May 2015   #14
MycroftHolmes

Windows 7 Professional 32-Bit
 
 

Quote   Quote: Originally Posted by jumanji View Post
So finally you got everything done with your own efforts. Well done. If in future less knowledgeable folks come out with similar problems, we know whom to call :). So hang around.
Sure. I've tasted the despair of losing data, and will help anyone to alleviate it in future.
My System SpecsSystem Spec
01 May 2015   #15
MycroftHolmes

Windows 7 Professional 32-Bit
 
 

Quote   Quote: Originally Posted by jumanji View Post
I just have one doubt. What is that UDF partition, why did you create it and what data is in there??
That UDF Partition contained Portable versions of TrueCrypt and VeraCrypt, and the keyfile, so that I could mount it in systems which does not have the keyfile, or TrueCrypt or VeraCrypt installed. I made it UDF as it was better suited for a mere 50MB partition than NTFS. UDF is actually like the successor of FAT32. I'd never trust it to make my principal file system though, as it's not as robust as NTFS.
My System SpecsSystem Spec
01 May 2015   #16
jumanji

Windows 7 Home Premium 32 bit
 
 

OK, again well done. And one rep goes here.

This definitely requires familiarity with Sector Editors and knowledge of how a particular encryption works.( which I lacked )

Here is an expert who can get into sector level copying and accomplish things where lesser mortals would have given up.

You may mark this thread as solved and that may help others looking for a solution in similar conditions.
My System SpecsSystem Spec
02 May 2015   #17
MycroftHolmes

Windows 7 Professional 32-Bit
 
 

Quote   Quote: Originally Posted by jumanji View Post
OK, again well done. And one rep goes here.

This definitely requires familiarity with Sector Editors and knowledge of how a particular encryption works.( which I lacked )

Here is an expert who can get into sector level copying and accomplish things where lesser mortals would have given up.

You may mark this thread as solved and that may help others looking for a solution in similar conditions.
Thank you. You're too kind. Actually, luck was on my side as the hard disk was factory-fresh and was zero-filled. This made finding the starting sector of the partition easier.
My System SpecsSystem Spec
Reply

 Data Recovery after Diskpart cleaned and created new partition




Thread Tools




Similar help and support threads
Thread Forum
Data Recovery after using diskpart clean command
Hello! I wanted to install a fresh windows and here's what happened in details: 1. I couldn't install windows 7 on C Drive because it was a GPT partition (the error message stated that). 2. I followd a tutorial and i used diskpart but i selected partition 1 and then issued the clean command. I...
Backup and Restore
HDD Data lost, Diskpart Clean and Create Partition Primary Commands
Good day, afternoon, night. As the title explains I was trying to create a new primary partition in my Hard Disk Samsung HM500JI that I use as External Disk with an Acteck Enclosure USB 2.0 and with DISKPART I selected the Small Partition recently created and used the command "clean" (thinking...
Backup and Restore
Has this install created a recovery partition?
My recent fresh install of Windows 7 Pro 64 bit was to a pre formatted drive and I was hoping it would not create a recovery partition. Is this screen shot enough to say if the install has, or has not created a recovery partition please? If it has, can i get rid of it from the SSD C drive? Thanks!
Installation & Setup
Partition recovery - Diskpart issue
Hi there, Apologies if this is in the wrong section, feel free to move. My brother shrinked his laptop drive by 100GB and then made a new partition from that which he backed up data onto in order to format Windows for a fresh install. When installing he did diskpart and used the following...
Backup and Restore
Recovery partition created - suitable restore points now unavailable
My new notebook, running Windows 7, crashed 90 minutes after first boot and created a recovery partition. (Affects C:\ drive only. No programs or drivers were being installed. Starts up OK & is functional). Restore points are now unavailable from the time before partition was created. When a...
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 00:32.
Twitter Facebook Google+