cygwin dd command

Using TestDisk to undelete files
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
Posts: 1
Joined: 02 Dec 2012, 03:11

Recover files from "DD" command in cygwin

#1 Post by wmmania »

Hi, all

I've just mistakenly erased my 2TB HDD files using "DD"(diskcopy in cygwin=emulated UNIX in Windows) command.
(32GB CF card) ----> (2TB HDD)

So after that, my 2TB HDD turned to 32GB HDD.

The thing is the 32GB CF card was empty. So no files was written in 2TB HDD.

How can I recover 2TB HDD data?
If TESTDISK is not fit in this case, could you recommand some other programs?

I tried R-studio program to recover but only 2% of data can be recovered.

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

Re: cygwin dd command

#2 Post by cgrenier »

If the partition table has been overwritten, the first step should be to use TestDisk to recreate the correct partition table.
If the partition table is ok or has been repaired, use TestDisk, Advanced, select the partition, Boot, BackupBS to repair the boot sector.
Use PhotoRec if some files are still missing.