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.

I recently had a hard drive partition vanish on me while moving the drive from one machine to another. In an attempt to fix the problem I took it out of my Ubuntu box and put it in a Windows machine to recover it. The program I used found what looked perfectly like the ext4 partition (correct disk usage, size, free space etc) so I wrote it to the disk. When I put it back in my Ubuntu machine the partition is there, with the right amount of free space left etc, but there is no data on it.

I've run testdisk but I only get info on the "empty" partition I already recovered and photorec just finds alot of rubbish.

After reading around a bit I know I should have dd'd the drive first and I'll never make that mistake again.

Is there anything else I can try or is my data never to be seen again?

Any more details anyone needs just ask, Thanks in advance.

share|improve this question

closed as too localized by Eric Carvalho, Basharat Sialvi, Thomas W., Seth, Amith KK Apr 4 '13 at 3:15

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
was the partition encrypted ? What is photorec finding exactly ? See also help.ubuntu.com/community/DataRecovery –  bodhi.zazen Mar 5 '12 at 4:27
    
No, the partition was not encrypted, just a standard partition which spanned the entire disk. Photorec outputs lots of files seemingly named sequentially, i.e ff00345, ff00346, ff00347 etc etc, which, if necessary, I could sort through but I'm talking about 1.5tb worth of data. If it comes to this I'll have to do it but even if i cant recover a full directory structure just some correct file names would help no end. I'm about to try the ddrescue process described in the link above but it's a 2tb drive so it may take a while (Iv already bought another 2tb drive to recover it to) –  Bruce Mar 5 '12 at 12:31
    
That is the problem with photorec, you will have to look at the files to see what they are. –  bodhi.zazen Mar 5 '12 at 13:04
    
Well, photorec finds a lot of random files and so does foremost (grouped by type this time) so I know most of my stuff is there.Is it possible to recover the whole directory structure instead of just all the files that make it up? Or would that information be in the partition table I replaced?! Failing that, Does ubuntu keep a record of this info anywhere? I know it logs most things. Is this one of those things? Thanks for helping this noob out. –  Bruce Mar 9 '12 at 14:25
1  
This question appears to be abandoned and unanswered, are you still looking for an answer? If this question no longer applies then you can either delete it or answer it yourself if you've solved the problem. Thanks! –  Eric Carvalho Apr 3 '13 at 0:45

Browse other questions tagged or ask your own question.