Ubuntu – Windows 10 UEFI Bootloader ignores Ubuntu

dual-bootuefiwindows 10

I've been working to install Ubuntu 16.04 on my Acer Aspire R 14 laptop which came pre-installed with Windows 10 and a UEFI Firmware system.

I've looked through nearly every thread and none of them seem to have any effect.

I've partitioned my hard drive and have now installed (and uninstalled) Ubuntu about a dozen times varying the mode in which I installed it (Secure Boot enabled vs. Disabled) and where I attempted to install the Grub Bootloader when given the option to do "something else" when installing ubuntu (/dev/sda, /dev/sda1 (efi partition), /dev/sda6 (linux partition)).

I've attempted to mount and install grub via:

$ sudo mount /dev/sda6 /mnt
$ sudo mount /dev/sda1 /mnt/boot/efi  # and /mnt/boot
$ for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
$ sudo cp /etc/resolv.conf /mnt/etc/ # for network compatibility
$ modprobe efivars
$ sudo chroot /mnt
# apt-get install --reinstall grub-efi-amd64

I've also tried using the automated boot-repair tool.

These runs completed successfully with the given output:

I even followed up afterward in entering the given windows command:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi

My issue is that no matter what I do, the ubuntu boot partition is not recognized by windows or the Firmware. For example, my boot order is:

  2. Windows Boot Manager
  3. USB HDD: KinstonDataTraveler 3.0 (My Ubuntu USB stick)
  4. USB FDD:
  5. Network Boot-IPV4:
  7. Network Boot-IPV6:

My boot system is the InsydeH2O Setup Utility.

My disk partitions are:

  • /dev/sda1 EFI System
  • /dev/sda2 Microsoft Reserved
  • /dev/sda3 Microsoft Basic Data
  • /dev/sda4 Windows Recovery
  • /dev/sda5 Linux Swap
  • /dev/sda6 Linux Filesystem

Ideally I'd like to get my computer booting to grub since I've never had issues booting windows from grub before. Any help would be greatly appreciated.

P.S. Thanks to all the members of the askubuntu forums for the answers they've posted to similar questions that have gotten me this far. I've read most of them, but was not allowed to cite them due to the limited number of urls that I could post.

Best Answer

Two things. Make sure you are in UEFI mode in your Live Session. You can test this by running this from the terminal:

$ dmesg | egrep "EFI v"

The output will be blank if you are in Legacy.

Also, be sure to include update-grub in your grub repair steps. The steps below should resolve your issue. The bold characters in the steps are unique for you based on the info in your question.

 1:$ sudo mount /dev/sda6 /mnt
 2:$ for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt/$i"; done
 3:$ sudo mount /dev/sda1 /mnt/boot/efi
 5:$ sudo chroot /mnt
 6:# grub-install /dev/sda
 7:# update-grub
 8:# exit
 9:$ for i in /sys /proc /run /dev; do sudo umount "/mnt/$i"; done
10:$ sudo umount /mnt/boot/efi
11:$ exit
Related Question