How to Recover a data from Ubuntu using Test disk ?

Trouble No.003

Problem Statement:

Many of the times ,we Face a problem of Data lost.

  • Accidentally delete your NTFS partition.
  • Primary NTFS partition gets Damaged

This step by step guide takes you to learn “How to recover a data from Ubuntu.”

What is Testdisk?

Testdisk is an open source software licensed under term of GNU General Public License (GPL v2+).

TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

Now, we will see step by step guide,

Install Testdisk on your ubuntu system.

You can install TestDisk using apt-get. type or paste it on terminal

sudo apt-get update

sudo apt-get install testdisk

After complete install type,

sudo testdisk

Following screen will appear,


Select drive.


Select [ Analyse ] for your current partition structure and search for lost partition.


Then select continue on next screen.

Select quick search.

During Quick search, you will find partitions including lost partition.

Select partition to be recover.

Press “p” to list your files.

Select file , which you want to recover.

On the next step select destination to store that file.

Copy done!

Now, you can see your file on selected destination folder! 🙂

Internet Source: 1)



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s