View Full Version : [ubuntu] Hard disk recovery

January 17th, 2012, 12:34 AM
hello, i need help recovering lost data on a usb drive, it was ntfs then stopped working. i reformatted it several times to try to recover the files. nothing was written prior to the drive issue. ive tried gnu parted gpart, scalpel, foremost, testdisk. any help is appreciated

January 17th, 2012, 03:23 AM
Hi, coreychbt8295.

Reformatting tends to destroy the data.

Will the usb mount at all?

January 17th, 2012, 12:47 PM
ya, it mounts just fine now

January 17th, 2012, 01:08 PM
Any data on it now?

Mark Phelps
January 17th, 2012, 03:22 PM
Reformatting it WILL allow it to mount again, as it writes a new partition table, but that erased the OLD partition table.

However, even though the table has been rewritten, the old files are mostly still there.

You might be able to use data recovery apps to get the files and directories back.

January 17th, 2012, 10:03 PM
no, no data

January 17th, 2012, 10:12 PM
ill probably just redownload the media that i lost

January 18th, 2012, 12:49 PM
Thsi program will be able to locate the old data in the lost partiotion and copy it out from there.


I'ts opensource, this particular program can even restore the old partition if youre lucky. Used it several times, and in several ways it's better than some commercial software out there. (have med quite some data recovery's through out the years for several costumers)

I've just run this particular program through windows though, but they have support for linux aswell. The wiki is very good and contains good tips and guide to use the program for different tasks.

January 18th, 2012, 12:52 PM
ive tried test disk, too complicated/didnt work

January 18th, 2012, 01:13 PM
Getdataback for NTFS is probably the best software I've seen for NTFS recovery. It does however cost money.

Testdisk is also very good, but you'll need to read some guides as you go, if you don't know what you're doing.

Failing that, you'll need to be a lot more descriptive than "too complicated/didn't work".

January 18th, 2012, 02:13 PM
ive tried test disk, too complicated/didnt work

@coreychbt8295, since you've reformatted the partition, testdisk is not appropriate. Testdisk is for recovering lost partitions, not lost data. Your partition is not lost, simply that the filesystem has been reformatted, hence the lost data.

One option is photorec which comes with testdisk. Have a look at this guide:


Ignore the live CD bit - you can run photorec from your permanent Ubuntu installation - and scroll down past the testdisk instructions. The photorec instructions are not quite halfway down.

Having said that, photorec is not easy to use and the recovered filenames are not the original ones. Because of that, even though photorec is very effective at recovering lost files, you may find Grenage's suggestion better.

Mark Phelps
January 18th, 2012, 02:15 PM
Runtime Software produces both GetDataBack and RecoverMyFiles -- but they both run on Windows. You can download trial versions to Windows PCs, and while those will scan and find deleted files and directories, they won't actually restore them. You have to purchase the products to do that. But, if you can connect your disk to a Windows PC, you can at least see if their products detect your deleted directories and files.

January 18th, 2012, 11:09 PM
i mean that either i didnt do something right, or it simply couldnt find old partitions

January 18th, 2012, 11:56 PM
thank you everyone for the support, i am just going to redownload. this really is a great forum to post questions in!:D