Raspberry Pi Binaries of TestDisk and PhotoRec

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
craig
Posts: 2
Joined: 19 Nov 2020, 21:44

Raspberry Pi Binaries of TestDisk and PhotoRec

#1 Post by craig »

19 Nov 2020
Can anyone point me to compiled binaries of PhotoRec and/or TestDisk that
I can run on a Raspberry Pi (ARM) Processor ?

of, if not, a link to the source from which I can compile, and any compile hints if you have any...

I have a GB image of a possibly corrupted disk from which i want to recover
many Photoshop files (my best friends' life work as a photographer),

If i can get a copy of PhotoRec working on my PI 4, I'll just let it run ...

thanks for your help,

Craig

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

Re: Raspberry Pi Binaries of TestDisk and PhotoRec

#2 Post by recuperation »

craig wrote: 19 Nov 2020, 21:56 19 Nov 2020
Can anyone point me to compiled binaries of PhotoRec and/or TestDisk that
I can run on a Raspberry Pi (ARM) Processor ?
There is no binary for your platform:
https://www.cgsecurity.org/wiki/TestDisk_Download

of, if not, a link to the source from which I can compile, and any compile hints if you have any...
https://www.cgsecurity.org/wiki/TestDisk_Download

rottenronnie
Posts: 1
Joined: 22 Nov 2020, 17:24

Re: Raspberry Pi Binaries of TestDisk and PhotoRec

#3 Post by rottenronnie »

They should be included in the current repository (note that I am running Raspberry OS buster 64bit beta)

From the command prompt issue:
sudo apt search testdisk

Code: Select all

pi@pi4:/mnt/storage $ sudo apt search testdisk
Sorting... Done
Full Text Search... Done
forensics-extra/stable,stable,now 2.8 all [installed]
  Forensics Environment - extra console components (metapackage)

testdisk/stable,now 7.0-3+b4 arm64 [installed,automatic]
  Partition scanner and disk recovery tool, and PhotoRec file recovery tool

testdisk-dbg/stable 7.0-3+b4 arm64
  Partition scanner and disk recovery tool, and PhotoRec file recovery tool
To install it:
sudo apt install testdisk

I hope this helps.

craig
Posts: 2
Joined: 19 Nov 2020, 21:44

Re: Raspberry Pi Binaries of TestDisk and PhotoRec

#4 Post by craig »

thank you, and, I was able build from source . I think I'm running Raspbian.
Amazingly, ./configure; make ; make install
actually worked !

Locked