Ubuntu – Dual boot but only Windows boots

14.04bootboot-repairdual-bootwindows 8

So I just made a fresh install of Windows 8.1 and then Ubuntu 14.04.1.
The problem is, that I can't make GRUB as the main boot option, it is not listed in BIOS so my computer just loads into Windows. I can, however access it through the boot menu (pressing F12).

Log from boot-repair

I did the bcdedit command but it didn't do anything.

I have an Acer Aspire VN7-591g laptop if it helps to know.

Best Answer

Do not know how your got grub legacy installed to MBR, but you only have UEFI boot and data in MBR will never be used.

Many vendors now modify UEFI to only boot Windows by description. So ubuntu entry does not work. But UEFI also boots hard drive entry as /EFI/Boot/bootx64.efi. So we copy grub into /EFI/Boot and rename it ot bootx64.efi and system will boot from hard drive entry.

From live installer mount the efi partition on hard drive Mount efi partition. check which partition is FAT32 with boot flag. Often sda1 or sda2 but varies.

sudo mount /dev/sda1 /mnt

mkdir only if not already existing, your have this but others may not:

sudo mkdir /mnt/EFI/Boot
sudo cp /mnt/EFI/ubuntu/* /mnt/EFI/Boot

If new folder created, the bootx64.efi will not exist, skip this command

sudo mv /mnt/EFI/Boot/bootx64.efi /mnt/EFI/Boot/bootx64.efi.backup

make grub be hard drive boot entry in UEFI. If not existing, may have to update UEFI also with efibootmgr.

sudo mv /mnt/EFI/Boot/grubx64.efi /mnt/EFI/Boot/bootx64.efi 

Other work arounds:

Dual boot Win 8 / Ubuntu loads only Win

windows 8.1 changes boot order

How do I get my HP laptop to boot into grub from my new efi file?

Related Question