Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 installed Ubuntu 12.04 on my laptop and chose the option "Erase disk and install Ubuntu" from liveUSB without any backup. When I realized that this would format my whole HDD, I immediately unplugged the usb and turn off my laptop. However, it seems that my whole HDD had been formatted: I have 4 partitions before but there's only 1 partition formatted in ext4 now with the size equal the HDD's size.

Is there anyway I can get my data back? I believe that my data is still there on the disk. I've searched for a while and tried using Testdisk and parted but no luck: Testdisk cannot find any partition even after trying "Deeper Search"

share|improve this question
In theory, they should still be there. Try this: And by data you mean important files other than the previous OS files, right? – WikiWitz Dec 29 '12 at 10:03
@WikiWitz: Yes, I mean my document and media files, not the OS files – minhduc Dec 29 '12 at 11:06

You can use PhotoRec in sysresccd Live Distro.

Read PhotoRec's manual fisrt. It's here.

Download sysresccd here.

share|improve this answer

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.