Using TestDisk in chunks

Using PhotoRec to recover lost data
Post Reply
Message
Author
kabbotta
Posts: 1
Joined: 20 Sep 2013, 01:36

Using TestDisk in chunks

#1 Post by kabbotta » 20 Sep 2013, 01:41

I accidentally wrote over the boot sector of a 2TB external hard drive with an ArchLinux boot image that was about 500MB large. Obviously, the entire file system is unrecognized and asks to be formatted. It was formatted for a windows computer. TestDisk's deep scan failed to recover the partition and I was suggested to use PhotoRec. The problem is how large the external hard drive is. I have numerous extra hard drives but none are 2TB or larger. Is it possible to use PhotoRec in chunks and write to multiple recovery drives?

Or, even better, is there a simpler way to possibly rewrite the boot sector :cry:

Sponsored links

bartleby
Posts: 10
Joined: 26 Sep 2013, 01:49

Re: Using TestDisk in chunks

#2 Post by bartleby » 26 Sep 2013, 02:04

Photorec writes a file called photorec.ses to your home folder it seems. If you quit your session (and maybe works with "stop" as well but I'm not sure about that) on the drive you are recoverting from and restart it again photorec will check to see if the photorec.ses file exists and will ask you if you want to continue that recovery session. If you indicate yes photorec will prompt you for location to save the data. So you could manually check it every now and then and substitute a new drive to save the recovered files (or have crontab job automatically check and email you). Disclaimer: I'm no photorec expert :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest