So I was previously dual booting to Windows 10 and Ubuntu 14.04, both running on separate disks. However, Windows decided it wanted my entire computer recently and in process made it impossible to boot to either OS.
It all began while restarting my computer to change operating systems from Linux to Windows 10 at which time Windows detected some issues with the hard disk and started repairing them. After several hours I noticed that neither OS worked anymore. The GRUB menu no longer appears and only a black screen loads. I get the same result when I remove the disk that is running Linux, so the computer appears to be trying to load Windows 10.
I booted the computer using a Linux boot disk and most of my data appears to exist on both disks. The only thing I noticed is that my Ubuntu disk is missing a huge chunk of disk space. Paced on previous readings, I believe this disk space may have been where the OS was previously stored.
Repair Attempts
- Using gparted I tried reallocating the disk space that was deallocated by Windows using the "unformatted" format option in hopes that something would still exist there. After doing so I ran "Attempt Data Rescue" and nothing useful was found.
- I used boot repair to try to fix the MBR, but this did not work either. If interested, the output of this operation is available here.
So, what should I do from here? I assume Ubuntu is no longer installed and I need to reinstall it on the partition that was unallocated by Windows. If so, does anybody have any tips so I don't loose any data?
Image of gparted
Update
I tried following the instructions at the site you mentioned by markkirby, but it seems nothing was actually copied over to the HD. I made the partition ext2 and set the mount point as /
without formatting the partition. Gparted is reporting the partition as ext2, but it says the partition is empty and it still can't boot. Looks like my last option is to format the partition and risk loosing whatever data was on the partition that also stored the OS.
repair
anything, it thinks it is the only OS in the world and messes with everything. You can reinstall Ubuntu and save your home folder, see http://askubuntu.com/questions/269880/re-install-ubuntu-without-losing-data-in-home-folder – Mark Kirby Dec 04 '15 at 14:09