
For a Linux system it is ext2/ext3 in most cases which is auto detected by photorec. Here you need to choose your source partition’s filesystem. jpg and then type enter: Choose type of deleted file extension Photorec, Choose Partition Select File optionsĬhoose type of deleted file extension, in my case is a photo with extension. On the next screen, you’ll need to choose your source partition from which the files will be recovered. To install Photorec on RHEL/CentOS and Fedora simply type: # yum install testdisk -y For Ubuntu/Mint Linux: # sudo apt-get install testdisk -y How to use PhotoRecĪfter sucessfull installation go to terminall and type following command (You need to run photorec with root privileges): # sudo photorecĬhoose the HDD which contains partition from which you want to recover lost files and hit. Install PhotoRec Install PhotoRec on RHEL/CentOS and Fedora linux PhotoRec runs underĪnd can be compiled on almost every Unix system. PhotoRec is a companion program to TestDisk, an application for recovering lost partitions on a wide variety of file systems and making non-bootable disks bootable again.

PhotoRec is free – this open source multi-platform application is distributed under GNU General Public License (GPLV v2+). PhotoRec ignores the file system and goes after the underlying data, so it will still work even if your media’s file system has been severely damaged or reformatted. PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from hard disks, CD-ROMs, and lost pictures (thus the Photo Recovery name) from digital camera memory.
