Page 1 of 1

Raspberry Pi Binaries of TestDisk and PhotoRec

Posted: 19 Nov 2020, 21:56
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

Re: Raspberry Pi Binaries of TestDisk and PhotoRec

Posted: 19 Nov 2020, 22:37
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

Re: Raspberry Pi Binaries of TestDisk and PhotoRec

Posted: 22 Nov 2020, 17:28
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.

Re: Raspberry Pi Binaries of TestDisk and PhotoRec

Posted: 23 Nov 2020, 04:21
by craig
thank you, and, I was able build from source . I think I'm running Raspbian.
Amazingly, ./configure; make ; make install
actually worked !