Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have to hdds in my PC. I used to have Windows Vista (one current installation, one old) on both of them. I was trying to install Linux on my old windows disk. I backuped all data and started Linux installation. But I used cfdisk on wrong disk (main vista instalation that I didn't backuped).

I saw that before any file was copied, but unfortunately after i saved changes in cfdisk (I only deleted partitions not crated any new).

What is best way to recovery my data? If possible I would like to recovery full install and don't have to install OS again.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

All you need to do is create new partitions in EXACTLY the same layout as they were previously. Make sure to not reformat, and all your data should still be there. Creating/deleting partitions simply edits the partition table, which is stored at the beginning of your disk. As long as you don't reformat, the actual data on the disk stays untouched.

share|improve this answer
    
Thank you for answer. I now theory, but how to find my previous partition layout? –  Maciek Sawicki Dec 10 '09 at 17:34

Try TestDisk. That page also contains links to TestDisk's documentation.

share|improve this answer
    
Thank You I will try that. –  Maciek Sawicki Dec 10 '09 at 17:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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