I am not sure if this question is appropriate to be posted here but I have really no idea and I really need to fix this problem ASAP and I am so frustrated right now. I was dual booting windows 8.1 with ubuntu and after a successful installation in which both OSes boot fine, I installed gnome on Ubuntu and I could not get Ubuntu booting again, so I decided to reinstall Ubuntu but I didn't know that the reinstall and wipe data option will remove the Windows drive. Now I am left with Ubuntu but I still need Windows as my primary OS, I have backup up a system image of Windows 8.1 and my question is how to restore from that, loosing Ubuntu isn't an issue, any ideas would be greatly appreciated
Some computer manufacturers that pre-install Windows provide a Windows recovery/re-installation CD or DVD with the computer. However, many companies no longer ship a physical disc but instead create a hidden partition on the hard drive in which the recovery-disk information is stored. A utility is then usually provided which allows the user to burn a recovery/re-installation CD or DVD from it. If you are buying a new computer and intend on dual-booting, make sure you have (or can make) a physical Windows recovery/re-installation CD or DVD. If neither a CD/DVD nor a recovery partition/burning utility is provided by your computer manufacturer, you may need to contact your vendor and ask for a CD or DVD (to which you are normally entitled under the Windows EULA).
You may need to request a physical recovery/re-installation Cd or Dvd directly from your computer manufacturer. Here are some resources:
Windows 8, being an inconsiderate/ignorant OS, ignores the possibility of dual-booting; and just replaced your boot-loader. Reconfigure GRUB 2 using a USB or DVD.
Install Windows following the above mentioned procedure and while installing leave a certain amount of space(in GB)for installing Ubuntu in that space.
After you have succesfully installed Windows then install Ubuntu in the space u have left earlier.Now after you have done that you will see that only ubuntu is loading but not windows but don't panick. Load Boot Loader in an USB drive (the procedure is well explainded here https://help.ubuntu.com/community/Boot-Repair ) and then click the recommended repair option.That will definately recover your Grub2 and you will see both of your operating system in the boot option.
Hope it will help you.If you have any problem in any step feel free to ask anytime.