title

René Jochum

Blog of René Jochum - A FOSS enthusiast who's programming since 2002.

Restore lost data with Photorec


A friend of mine lost his NTFS Partition (think it was a power outage). As he has some data on it he needs, i tought about restoring it.

Helpful Links:

This is what i came out with:

  1. Downloaded TestDisk (with Photorec)
  2. Extracted it.
  3. Make a store directory on the other disk: $ mkdir /media/<username>/<my_usb_disk>/<friends_name>
  4. run it as root: sudo photorec_static /media/<username>/<friends_disk>/the_dd_image_we_made_before.img
  5. I set it "whole" and "NTFS", after about 18 Hours it was over that 300GB.

To split the files up in one directory per extension: