I know this isn't the first time anyone has asked this question , I have looked around but that didn't solve my problem.
I recently purchased Toshiba c-50a , with preinstalled Windows 8.1. When I enable UEFI mode in setup , it boots directly into windows and I can't boot my USB Ubuntu installation.
If however I change from UEFI to CMS, I boot into ubuntu and install it (without it recognizing windows 8.1), but in the grub 2 menu option it doesn't display Windows at all. I tried boot-repair, but it says "you are in legacy mode, change to uefi". If i change to uefi , I boot directly to windows. I still continued using boot-repair, but it ended with error and corrupted grub2. I am currently trying to repair it in Live Disc. Any solutions would be appreciated.
This is the error message after boot-repair :
An error occurred during the repair. A new file (~/Boot-Info_2014-05-08__04h40.txt) will open in your text viewer. In case you still experience boot problem, indicate its content to: email@example.com You can now reboot your computer. You may want to retry after deactivating the [Backup and rename Windows EFI files] option. The boot of your PC is in Legacy mode. You may want to retry after changing it to EFI mode.
I clicked retry after changing the encoding in the text file, still no use. Here are the contents of the text file that opened: http://pastebin.com/bVWrnp3T