Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

Previously i was using the windows 7. When i try to replace the windows to ubuntu i lost all of my other drive files. Is there any way to recover these files. I have my project files and some important files in one of my folder. Anyone pls help...

Ok Is there any chance to recover a single file. I have photorec and testdisk and dono how to use them. I do now need "presentation.ppt" file is this possible.

share|improve this question
What do you mean you lost all your files? Do you still have windows installed but cannot boot to it? Have you completely removed windows? Do your windows partitions appear in your ubuntu session? – Flame_Phoenix Apr 21 '13 at 12:59
I lost all my drives. 3 drives become single drive.Windows was completely removed.Any idea? – user151010 Apr 21 '13 at 15:45
Sorry but ... you seriously did not think to back up that file when you started messing with your operating system? Not even think to copy it over to an USB stick before you stared? – Rinzwind Apr 22 '13 at 9:32

There is still hopes of getting some documents out from you old Windows Partition using an Ubuntu LiveCD or LiveUSB. From there you can use testdisk to get files from previous partitions. There is no guarantee, but i'm almost sure if you have not filled out your Ubuntu partition you will be able to get many files back:

Look at the guide here

share|improve this answer
Wow, I really didn't think that was possible sorry. When it says 'replace' Windows (and lose all your files) I thought it meant what it said. Surely when you make a new partition table with just Ubuntu in it, it is fixed and you lose your files? Or is Ubuntu not being very efficient and leaving Windows space? – Ads20000 Apr 23 '13 at 7:52
I guess you should dig more into partitioning then. Creating a new partition table does definitely not wipe the drive. The disk space that is use for Ubuntu i of course wiped, but the rest of the files are actually there until you write new data. The operating system just does not see them because of the new partition table. All this is of course only if you did not rewrite your whole disk with zeros :) – dhojgaard Apr 23 '13 at 10:09
I see, so, basically, the OS lies. Fair enough :D – Ads20000 Apr 23 '13 at 10:26

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.