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 https://www.cgsecurity.org/testdisk.pdf
Post Reply
Message
Author
hl3br
Posts: 1
Joined: 17 Jul 2019, 05:27

How to make Photorec start in specified sector

#1 Post by hl3br » 17 Jul 2019, 05:41

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

Ricardo

Sponsored links

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

Re: How to make Photorec start in specified sector

#2 Post by cgrenier » 17 Jul 2019, 06:17

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.

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

Re: How to make Photorec start in specified sector

#3 Post by recuperation » 17 Jul 2019, 06:37

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest