Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
I don't think Ubuntu might have completely installed by now, has it? Else, what do you see when you boot up? –  i08in Dec 29 '12 at 10:04
The only thing I ever saw working: partition-tool.com/partition-recovery-wizard/… –  Dr_Bunsen Dec 29 '12 at 10:04
@Jobin: Yes, Ubuntu has not been completely installed cause I stopped the installation process. When I boot up now, the screen just shows "No operating system found" –  minhduc Dec 29 '12 at 10:50
maybe read this and the answer given.. forum.cgsecurity.org/phpBB3/post6135.html#p6135 –  marc-andre benoit Dec 29 '12 at 12:53
also some links to possibly useful software.. forensicswiki.org/wiki/Tools:Data_Recovery –  marc-andre benoit Dec 29 '12 at 12:56

Your Answer


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

Browse other questions tagged or ask your own question.