How to make Photorec start in specified 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
Posts: 1
Joined: 17 Jul 2019, 05:27

How to make Photorec start in specified sector

#1 Post by hl3br »

Hi, I would first like to thank you for the great software!

I have a hdd with problems (very slow), which I believe to have problems in the first head or in the first few thousand sectors, so I wanted to know if have possibility to bypass photorec to start the process from a certain sector: example sector 24000000

sorry for bad english and thanks in advanced


Sponsored links

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

Re: How to make Photorec start in specified sector

#2 Post by cgrenier »

Stop PhotoRec, edit the 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.

Posts: 960
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: How to make Photorec start in specified sector

#3 Post by recuperation »

Apart from modifications explained above, have a look at ddrescue.
It was programmed with the idea in mind to copy the readable part of a harddisk trying to jump over error ranges and handling them later.