Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What is the best tool for recovering deleted data from a flash drive (pen drive)?

share|improve this question
    
How did you delete the data? What did you do AFTER you deleted them? –  arrange Mar 22 '11 at 11:22
add comment

2 Answers

up vote 15 down vote accepted
  1. TestDisk

find lost partitions and data for External and Internal Drive for all of these file systems, ext2, ext3, ext4 and encrypted partition. for windows FAT12/FAT16/FAT32 and NTFS boot sector.

Fore Recovering data from external Hard drive
type testdisk on your terminal and follow this step TestDisk Step-By-Step

For Recovering files from internal and External hard drives there is PhotoRec that comes with TestDisk

type photorec on your terminal enter image description here

Select the driver you have and inter on Proceed and follow the instruction. for help read the NOTE help on the footer.

2.Extundelete

extundelete is a utility that can recover deleted files from an ext3 or ext4 partition

share|improve this answer
1  
PhotoRec is not just for internal hard drives. I regularly use it to recover files from corrupted flash drives. –  ændrük Mar 22 '11 at 17:25
add comment

The Ubuntu Wiki has an excellent page on Data recovery.

I've recently used the command line tool foremost for recovering 9000 photos off a SD card.

  1. Install foremost: sudo apt-get install foremost
  2. Mount and create the target directory for storing recovered data, make sure it's large enough to hold the data. I assume it's located at /media/backup/recover now.
  3. Assuming your flash drive to be named /dev/sdb, run:

    sudo foremost -i /dev/sdb -o /media/backup/recover
    
  4. Do something else, it might take a while to read and recover the data over USB.

(source: DataRecovery - Foremost)

share|improve this answer
add comment

protected by Community Dec 17 '13 at 9:13

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.