I use Linux Mint or Ubuntu and I installed Testdisk using:
Code: Select all
sudo apt-get install testdisk
http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step
it states that under Unix/Linux/BSD, you need to be root to run PhotoRec:
i.e.
Code: Select all
sudo testdisk-6.13/photorec_static
This did not work and it took me a little while to realise that I should have simply used:
Code: Select all
sudo photorec
Thanks for two great programs.