Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 system and network administrators.

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

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

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


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