Elementary OS 0.2-Luna/0.3-Freya/0.4-Loki/5.0-Juno/5.1-Hera Recovering Partition/Disk
Hi! The Tutorial shows you Step-by-Step How to Install and Getting Started with TestDisk Partitions Scan and Disk Recovery Tools on Elementary OS 0.2-Luna/0.3-Freya/0.4-Loki/5.0-Juno/5.1-Hera Tahr i386/amd64 Linux.
Inside the Article you’ll Find a Link to Detailed Guide on Get Started Scanning and Recovering Partitions on Elementary OS Linux.

Open Terminal Window
(Press “Enter” to Execute Commands).Ctrl+Alt+t
Install TestDisk for Elementary OS.
sudo su -c "apt-get install testdisk"
Getting-Started Recover Disk Partitions on Elementary OS
This recovery example guides you through TestDisk step by step to recover a missing partition and repair a corrupted one.