Execute the command in console in Ubuntu. The commands are made for Ubuntu 12.04 LTS (Precise Pangolin). For your Ubuntu Version replace “precise” in these commands with your Ubuntu Version name:
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu precise universe miltiverse" sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu precise-updates universe miltiverse" sudo apt-get update sudo apt-get install testdisk testdisk device
You can use also alternative
fsck.ext4 -p device
For further Information how to use testdisk visit the following sites.
http://www.cgsecurity.org/wiki/TestDisk
http://www.cgsecurity.org/wiki/Data_Recovery_Examples

Leave a comment