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.
For Recovering data from external Hard drive
Type testdisk on your terminal and follow this well written step TestDisk Step-By-Step
For Recovering files from internal and External hard drives there is PhotoRec which comes with TestDisk.
type photorec on your terminal
Select your drive and hit enter to proceed and follow the instruction.
I've recently used the command line tool foremost for recovering 9000 photos off a SD card.
Install foremost: sudo apt-get install foremost
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.
Assuming your flash drive to be named /dev/sdb, run:
For Recovering data from external Hard drive
Type
testdisk
on your terminal and follow this well written step TestDisk Step-By-StepFor Recovering files from internal and External hard drives there is PhotoRec which comes with TestDisk.
type
photorec
on your terminalSelect your drive and hit enter to proceed and follow the instruction.
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.sudo apt-get install foremost
/media/backup/recover
now.Assuming your flash drive to be named
/dev/sdb
, run:(source: DataRecovery - Foremost)
recoverjpeg
works perfectly for a formatted USB disk / thumb drive.Recover the pics
$ sudo recoverjpeg /dev/sdc -o ~/recover_usb/
Restored 1056 pictures