Page 1 of 1

Is it possible to start photorec at a particular sector?

Posted: 26 Jul 2021, 06:06
by Mike314
I tried to open a jpg file while photorec was writing to the same directory. That caused confusion, and photorec stopped until I provided a new directory to continue. That was hours ago, and although it has scanned millions of sectors since, it hasn't found a single new file. I terminated photorec and will restart it, but rather than starting at the beginning, I'd like to start photorec at a particular sector, specifically at the sector where it last found a file. Is that possible?

In other words, can I supply the number of a sector where photorec should start searching?

Re: Is it possible to start photorec at a particular sector?

Posted: 26 Jul 2021, 08:46
by recuperation
Normally, when restarting Photorec and you have a unfinished recovery session you are being asked if you want to continue the previous session.

Otherwise do the following:

Please interrupt your running Photorec application.
Modify the file named "photorec.ses" in the Testdisk folder with a text editor. There is a line similar to the following example:

\\.\PhysicalDrive0 partition_i386,1,blocksize,512,fileopt,options,paranoid,keep_corrupted_file_no,wholespace,search,status=ext2_off,3784777

Please modify the last number marked red accordingly and restart Photorec.