Here is the deal: While installing Ubuntu 11.04 I was asked to choose a swap area for better performances, So I chose my 1T hard drive(which had only one partition). The problem is that I did not know it will use the partition as swap area rather than just put a swap file in the selected partition...(there was unmarked "format" check box so I guess that my data will be saved) This hard drive holds all my program files and etc so I want it back!

So far I made: sudo swapoff -a

What can I do in order to make my hard drive come back with its data? note that I do not wish to retrive only selected files with some recovery tools. P.S: it was 5-10% used before the accident and I immediatly invoked the swapoff so I hope that my data was untoched.

link|improve this question
feedback

1 Answer

As I just answered to another question, if the damage is only a lost partition, you can check TestDisk.

link|improve this answer
I read your answer, however it does not suit my problem. while running TestDisk it finds the "Linux swap" partition. I want to get my previous partition back. Do you know of any way to solve this? (maybe i am using the TestDisk wrong...?) – talel Oct 10 '11 at 21:22
feedback

Your Answer

 
or
required, but never shown

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