Windows 8: I had windows 8 on my laptop - lenovo G500 essential, 1TB hard disk. I shrinked C drive and obtained 435GB as unallocated space.
BIOS:
I disabled secure boot
and enabled uefi
.
Installing Ubuntu: I installed Ubuntu 12.04 from DVD. It was working fine. I did shutdown Ubuntu. When I started again I saw Ubuntu, Windows etc. I was able to boot Ubuntu without any trouble. But when I tried to boot Windows I got a "Disk error". I pressed enter which took me back to the OS menu. I clicked on System setup which took me to BIOS screen. Whenever I change the Boot order and give priority to Windows or Ubuntu in BIOS, the corresponding OS worked.
Then I wanted to fix this, so I tried to do Ubuntu boot repair
. I go got prompts like, "Win efi detected. Do you want to actiavate(Take backup and rename windows efi files). Do you want to continue(Yes/No)"
for which I selected "Yes"
. I got message like boot repair was successful.
From my next restart, I only get grub screen. If I type exit, I get boot menu option. When I select Ubuntu, It works fine. But if I select Windows, I get a "disk error"
How should I fix this?
RESULTS.txt
file that it produces to a pastebin site, and and post the URL to your document here. Briefly, I suspect you've got a mixed-mode EFI/BIOS installation, but the details from Boot Repair/Boot Info Script are necessary for a complete diagnosis.