Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 cancelled gparted operation by mistake.Now one of the partition became corrupted,what to next? Should I format it? Data is important to me

Edit1: I tried to recover partition using testdisk and successfully recovered losted partition,but another partition(an extended partition containing ubuntus ) gone,How to recover it? :)


testdisk saved my life ,it recovered all my partition without losing data

share|improve this question
I think you can still recover – Mitch Jun 7 '12 at 15:23
I agree with Takkat. If you need more, see my post… – Mitch Jun 7 '12 at 15:26
up vote 2 down vote accepted

You may be able to recover your partition with testdisk Install testdisk. Take the time to go through the Guide from CGSecurity that leads you through the steps you will have to take.

Take extra care to not overwrite other existing partitions. If your backups are old, it may now be a good idea to backup other partitions on that drive before you try recovery. Running testdisk is also possible on an image of your drive.

In case the partition recovery fails then you are able to recover your files with photorec (which is installed with testdisk). This will recover the content from all your data files but directories, file names, and permissions will unforunately be lost.

share|improve this answer
Thanks for the quick replay ,should I format that partition before proceed? – Tachyons Jun 7 '12 at 15:34
No, format is not needed - just leave it as is and try to recover the partition tables. – Takkat Jun 7 '12 at 15:54
That partition recovered ,but another(my linux partition gone) ;( – Tachyons Jun 7 '12 at 19:09
Maybe ,but that partition was ok before testdisk :( – Tachyons Jun 7 '12 at 19:42
Now I am trying recover via deeper search option in testdisk . It show many partitions :s – Tachyons Jun 7 '12 at 19:51

Your Answer


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.