File Recovery Tools · PhotoRec

Recovering files using PhotoRec

PhotoRec is an opensource software to recover media files from Hard Drives, Memory cards, Pendrives etc. It also supports file formats including document formats and archive formats.


PhotoRec can be installed using the following commands


$ yum install testdisk


$ sudo apt-get install testdisk

Recovering files using PhotoRec

Run the following command as root (use sudo in case of Ubuntu) to start PhotoRec.

$ photorec

After starting photorec select the partition from which the files need to be recovered and proceed

Select Drive

Select partition table type

Select Partition type

Select partition from the partition table Options and File options can be selected from the same screen.

Select partition

The options window leads to the following page


Selecting the file option leads to the following page

File Options

After selecting the Options and File types select the filesystem type below

Filesystem type

Select whether free space on the disk or Whole disk need to be checked for recoverable files

Free or whole

Select the path where the recovered files need to be stored

Restore path

Finally after restoring the files on the path use quit to exit PhotoRec


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s