Wednesday, April 18, 2007

How to recover lost partitions

My 200GB hard disk used to have 6 partitions. The first partition was where Windows system files located (NTFS), the second partition was formatted as Linux Swap, third as Linux Ext3 and the rest as NTFS again.
For some strange reasons, I lost all other than the first partition. I was in a state of panic, for I have about 100GB data in these lost partitions.

Fortunately, I found TestDisk, a powerful OpenSource free software.

  1. I downloaded the software from http://www.cgsecurity.org/wiki/TestDisk_Download and unzipped it.

  2. I opened the file executable file, testdisk_win.exe.

  3. I chose [ Append ] and I could see that my hard disk appeared in the menu. I pressed [ Proceed ] and then chose my partition table media [ Intel ].

  4. Then, I pressed [ Analyse ] and my current (wrong) partition table appeared.

  5. I pressed Enter to proceed. Then it showed "more correct" partition structure, for the program mistook my Linux partitions as a NTFS one.

  6. After I pressed Enter to continue I chose [Search! ]. At long last, the program did recognise that the partition might be Linux one.

  7. To resolve the conflict, I used Left/Right Arrow keys to Delete the NTFS one while select the Linux one as Logical drive.

  8. After that, I chose [Write ] and restart my computer.
And yes, all the partitions came back.

No comments: