I installed ubuntu 12.10 using something else. I made 2 new partitions in which I installed the swap and the file system. After I installed it, I found I couldn't boot windows 8. It booted straight into ubuntu 12.10! What do I do? If I can't fix this I'm going to be in some serious trouble with my dad... I didn't use any windows partitions... What happened? I need to find out how to boot windows 8 again. Please, somebody help me...
Boot into your Ubuntu system, or if you cant boot with a LiveCD or LiveUSB.
You should install boot-repair in order to restore your GRUB settings easily. Open a terminal and type:
Then press enter.
After that type:
in the terminal to launch boot-repair.
Then click recommended repair and do what it ask from you.
I wish you didn't delete your windows partition, but you can add windows 8 entry to grub in this way:
to get your windows 8 UUID:
add windows 8 to grub
2) sudo gedit /etc/grub.d/40_custom
3) copy and paste these lines into the file [REPLACE UUID_FROM_WIN8 with what you got from number 1]
again i wish you didn't delete your windows partition. confirm if solved.
I'd try Rescatux instead of Boot Repair. I believe Boot Repair is now only available as part of a specialized Ubuntu live DVD, a 900+ MB download, whereas Rescatux you just download the program .iso image, burn to CD, run on boot. Much faster and easier to use. It's never failed me.
Then to set Windows as the default, boot into Ubuntu, then go to this page
and follow the instructions to download and install grub-customizer. Once installed, you can access it via the Settings Manager and set the computer to boot by default into Windows.
You might also try using testdisk (you can install it from the software center) to locate and restore the windows partition if you've deleted it.
If all else fails and your dad has to reinstall Windows, he can access the Windows partition by booting into the Ubuntu live DVD. When the window asking if you want to try or install Ubuntu pops up, click Try, then you'll see the Windows partition near the bottom of the Unity bar showing up as a separate drive or volume - it'll have some strange gobbledygook name, more likely than not. That way your dad can copy the files he needs (documents, photos, email, etc.) to a separate HD before doing the Windows reinstall.
I found out how to make it work! I went to boot options just before ubuntu booted and selected UEFI OS. Now all I need to do is show the grub menu. I edited the grub file but I still can't see it.