How to install testdisk on Ubuntu and to add universe repository

Execute the command in console in Ubuntu. The commands are made for  Ubuntu 12.04 LTS (Exactly 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 also use alternative

fsck.ext4 -p device

For further information on how to use testdisk visit the following sites.

http://www.cgsecurity.org/wiki/TestDisk

http://www.cgsecurity.org/wiki/Data_Recovery_Examples

 

Leave a Reply

Discover more from Velislav Krastev Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading