Accident - wrote image file to HD instead of SDCard

How to use TestDisk to recover lost partition
Post Reply
Message
Author
DuffMcShank
Posts: 1
Joined: 25 Aug 2012, 20:27

Accident - wrote image file to HD instead of SDCard

#1 Post by DuffMcShank » 25 Aug 2012, 20:33

Hi

I was in the process of writing an image of the Xbian OS for the Raspberry Pi computer to a SD card, using Win32DiskImager, when I accidentally selected one of my storage hard drives instead.

The drive total is 2TB.
The drive used to consist of a single 2TB partition.
The image that was partially (i aborted it after some seconds) written to it consisted of 3 partitions (FAT16, ext3 and a linux swap partition) of around 1,5GB in total.

I have tried various freeware/shareware products, but they only offer functionality for copying the files to another hd. I want restore as much as possible of the original partition onto the same HD.

Does Testdisk have functionality for this scenario?

Sponsored links

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

Re: Accident - wrote image file to HD instead of SDCard

#2 Post by cgrenier » 01 Sep 2012, 09:13

Run TestDisk, Analyse, QUick Search, Deeper Search. Your NTFS partition should be found at this stage using the NTFS backup boot sector. Using the arrow keys, switch this partition from D(eleted) to *(bootable). On next screen, choose Write, confirm, BackupBS, confirm, Quit and restart your computer.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests