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.
This is what i came out with:
- Downloaded TestDisk (with Photorec)
- Extracted it.
- Make a store directory on the other disk: $ mkdir /media/<username>/<my_usb_disk>/<friends_name>
- run it as root: sudo photorec_static /media/<username>/<friends_disk>/the_dd_image_we_made_before.img
- 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: