Photorec Stuck On A Sector

Using PhotoRec to recover lost data
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 https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
JimBop1209
Posts: 2
Joined: 18 Jan 2020, 04:57

Photorec Stuck On A Sector

#1 Post by JimBop1209 »

Hello, I accidentally formatted a 2TB HDD, and out of impulse used Photorrec to retrieve data back but overwrote only 6GB.

However, I have recently got an external hard drive with the same size as the drive I am recovering from, but I am stuck on a sector. I have run the recovery program twice (testdisk-7.2-WIP), but still gets stuck onto the same sector. Before those attempts, I used a later version (testdisk-7.1), but it gets stuck into a loop, scanning for the same 5 sectors.

Could this be resolved, although having 6GB overwritten?

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

Re: Photorec Stuck On A Sector

#2 Post by cgrenier »

I have uploaded a new 7.2-WIP version. Can you try it ?
Is a new file recovered each time before PhotoRec scans again this sector range ? If new files are found, lets PhotoRec work.


If you really want to avoid this sector range, stop PhotoRec, edit the photorec.ses file (vim under Linux, notepad++ or wordpad under Windows...), restart PhotoRec and choose to resume the recovery.
The new sector should respect the blocksize (new_sector = old_sector + x * block_size/sector_size).
You can also remove some sector range from the file.
JimBop1209
Posts: 2
Joined: 18 Jan 2020, 04:57

Re: Photorec Stuck On A Sector

#3 Post by JimBop1209 »

Thank you for your reply.

I had no choice but I sent my drive to a computer repair shop. I will keep your solution when a mishap happens.

Jim
Locked