What I have:
Sony Vaio laptop (SVE1512E6EW) with preinstalled Windows 8. I disabled
Secure Boot some time ago in BIOS. I already had Ubuntu (previous version) installed on it, but removed it some time ago. After that, the default Windows boot menu is showing up every time I boot up computer, and the only entry is Windows 8.
What I did:
- Burned Ubuntu 13.10 DVD
- Restarted computer and booted from it
- Chosen Install Ubuntu (not Try Ubuntu)
- Created new ext4 partition from free space
- Installed Ubuntu on it
After the installation I restarted the computer. Windows default boot menu showed up (just as before) and the only entry was still Windows 8.
After running boot repair, I saw Ubuntu on boot list. I booted into Ubuntu and it worked fine, but after restart my computer was stuck at the black screen (with Vaio logo shown). So I decided to run boot repair again, but now when I try to boot into Ubuntu, I see the following error:
Windows failed to start. A recent hardware or software change might be the cause. To fix the problem: 1. Insert your Windows Installation disc and restart your computer. (Windows came preinstalled). 2. Choose your language settings, and then click "Next." 3. Click "Repair your computer." If you do not have this disc, contact your system administrator or computer manufacturer for assistance. File: EFI\ubuntu\grubx64.efi Status: 0xc000007b Info: The application or operation system couldn't be loaded because a required file is missing or contains errors.
Here's the url that boot repair generated http://paste.ubuntu.com/6321056/
After I changed boot type in BIOS from UEFI to Legacy and the back from Legacy to UEFI Grub showed up for the first time. I could but to Ubuntu as well as into Windows 8. But after booting into Windows 8 and restarting computer, Grub didn't show up. I changed boot type to Legacy and back to UEFI again and Grub showed again. So basically, every time I change boot type to Legacy and back to UEFI it works fine, but when I boot into Windows 8 it changes something and prevents Grub from showing up (only Windows default boot menu is shown and the only option is Windows 8).
If you have any additional questions I will try to answer them as quickly as possible.