I previously had Heron 8.04 installed. Today I decided to upgrade.
During the partition phase of the install of 10.10 it asked me what portion of the drive I should use. There were a few options:
- Drag the partition size to indicate what I wanted to use
- A button that said use entire partition
- A button that said use entire drive
I selected use entire partition as the Windows partition did not appear on the screen I assumed this was just displaying the existing Ubuntu partition.
After install I think I have wiped my entire Windows partition, I can't see it anywhere.
I would appreciate some advice as to find if it really is gone forever (My stupidity I didn't back up my Windows partition which includes 3 years of baby photos).
UPDATE: Thanks all for your great answers. I read on a forum last night about Active Partition Recovery. I didn't realise it was a commercial product, so the demo doesn't let you recover, but it did allow me to see that the whole partition still exists somewhere on the drive. It even let me see the individual files.
As suggested I have stopped doing anything with the drive until I can give Testdisk a try. If this works I will confirm it in a separate answer for future reference.
You can see all of your partitions by running System->Administration->Disk Utility. Once the window opens, click on your hard drive on the right hand side. Have a look at the partitions.
If one of the partitions is an NTFS partition, it is likely that this is your Windows partition. If it is there, you can access the partition from the Places menu.
Until you know what happened, stop using the computer. Even if you did re-use the partition, there is a chance you did not overwrite all of the stuff on it and you may be able to recover. But the chance of recovering goes down the longer you use the partition!
All the work you do to recover should be from a bootable CD or USB key so you don't risk overwriting something.
Personally, I like the System Rescue CD as it bundles a lot of good stuff in one place.
Good Luck.
I want to add this as a reference to others. Here is how I fixed it:
Try to avoid doing anything else with the disk. I installed TestDisk on my drive as part of the recovery effort, but I only had a single drive. A safer option would be to install Ubuntu to a thumb drive and then install the TestDisk package there.
Ran TestDisk and recovered the partitions and wrote back to disk. Note this still didn't fix my MBR with Gnome 2 installed.
Booted from 10.10 CD and was able to mount the 2 previous partitions. Copied contents including my precious photos onto a 16GB thumb drive.
Wiped drive and reinstalled Windows and Ubuntu (carefully reading instructions this time to correctly specify partition).
Lessons learned:
In case you can't see your NTFS Windows partition by using Disk Utility as recommended by dv3500ea, or by typing
from the command line you may indeed have messed up your partition from the bug psusi mentioned.
To recover the remainders of your data I suggest you try to do this with PhotoRec, quite a powerful tool to recover data even from heavily corrupted partitions or drives.
Funny, I was just reading this related askubuntu post: recovering files with Testdisk or Foremost.
Yes, you have trashed your Windows install. That screen normally shows what it is going to do with your Windows partition. By default it splits it and shows Windows on one side, and Ubuntu on the other. Choosing to use the entire partition does away with the split and has Ubuntu use the whole partition, replacing Windows. This was a bad user interface choice in 10.10 and is a known bug. See https://bugs.launchpad.net/bugs/655950.
Probably you had installed ubuntu on your windows partition.If so maybe you can recover some of your files with TestDisk http://www.cgsecurity.org/wiki/TestDisk
Please post output of this command:
It shows information about your partitions.
If you can't find the disk you can use TestDisk to recover the parititon, otherwise you can recover the files from the partition using foremost.
Please enter in terminal:
Can you please put the results here?