Page 1 of 1

Photorec Stuck On A Sector

Posted: 18 Jan 2020, 05:04
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

Re: Photorec Stuck On A Sector

Posted: 18 Jan 2020, 09:05
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.

Re: Photorec Stuck On A Sector

Posted: 22 Jan 2020, 03:25
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