Yesterday I used a live cd to install Ubuntu 14.04 on a computer already loaded with Windows 8. The Ubuntu install did NOT recognize any operating system on the computer, so I chose Something else and ended up with several partitions. (If it matters, I have four Windows partitions (recovery, boot, the main one with all my files, and some other one that's tiny so I didn't worry about it), plus a main Ubuntu one /
and swap.)
After installing Ubuntu and restarting, there has been no option to choose between Ubuntu and Windows at startup; it simply starts up as Windows. Ubuntu is now installed but I have no way to use it!
What I've tried:
- I tried using the Advanced System Settings on Windows to enable the boot selection, but Windows 8 didn't recognize any other operating systems either.
- I held down shift during startup to try and get the grub screen, but no luck. (After a full Windows 8 shutdown, not the fastboot crap.) Also, f8, no luck.
Other guides said to get boot-repair. I downloaded the image file, burned it to a cd, and tried to boot from it, but nothing happened; Windows booted normally. I booted from the live cd, opened the terminal, and (as instructed by this guide on Ubuntu Forums)
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
Everything goes fine until the very end, when the last two lines back read:
W: Failed to fetch http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.
That 404 HTTP error was talked about here: Can't find boot-repair package for the newest version of Ubuntu, so using that advice I did:
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo sh -c "sed -i 's/trusty/saucy/g' /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list" sudo apt-get update sudo apt-get install -y boot-repair && boot-repair
Boot repair worked (woohoo!) and it ran for a few seconds before a pop-up that says
EFI detected. Please check the options.
I selected to fix most frequent problems. It told me to disable SecureBoot in BIOS.
It did some thinking, then told me to put this into a new terminal:
sudo chroot "/mnt/boot-sav/sdb5" dpkg --configure -a sudo chroot "/mnt/boot-sav/sdb5" apt-get install -fy sudo chroot "/mnt/boot-sav/sdb5" apt-get purge-y --force-yes grub* shim-signed linux-signed*
I was prompted to go forward, and it said to copy-paste the following into the terminal:
sudo chroot "/mnt/boot-sav/sdb5" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
After going forward, it said an error occurred during the repair, and to write down this URL, and to email boot.repair@gmail.com if I still have boot problems. It also reminded me to disable SecureBoot in BIOS.
I disabled SecureBoot, but nothing had changed. Windows still booted, just like before.
I booted from the live cd again and opened my grub file.
sudo gedit /etc/default/grub
The grub file came up, I added a
#
in front ofGRUB_HIDDEN-TIMEOUT=0
, saved, and in the terminal wrote:sudo update-grub
This comes backs:
/usr/sbin/grub-probe: error: failed to get canonical path of '/cow'.
And that's as far as I've gotten. No luck whatsoever. Can someone help me figure out what I'm doing wrong here?