Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I accidentally formatted my Ubuntu partition in Windows 7 (quick format). Is there any way to recover the partition and data?

share|improve this question

migrated from serverfault.com May 1 '12 at 2:23

This question came from our site for professional system and network administrators.

3 Answers 3

You're probably screwed. Try fsck -f -t ext# and see if that finds anything.

share|improve this answer

It's rather hopeless, but try PhotoRec and TestDisk. fsck will most likely not work: at best, it will complain because it doesn't find an ext4 filesystem, at worst it will cause more destruction.

share|improve this answer

TestDisk is likely your best option on this one; it's available on the RIPLinux live CD.

share|improve this answer

Your Answer

 
discard

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