0

I installed Ubuntu 16.06 onto a separate partition of my drive as Windows, and checked the options to upgrade as I install and install 3rd party software. After install, on restarting, the grub menu does not appear and windows boots directly. I have tried using boot-repair using the liveuser mode through my pendrive, and it gives no results. I have also tried several manual methods that gave no effect. I have disabled secure boot in the bios, and I have disabled fast boot in windows as well. On trying to install Ubuntu, it says that it's already installed and I can reinstall, so I'm guessing the OS is installed. Boot-repair's report also said that Ubuntu is there and shows Ubuntu entries under the efi partition but it doesn't give any effect on restarting. Any help would be appreciated!

Edit: It's apparently possible to enter grub, but only through going into advanced start options from windows and then selecting it under other boot options. I think Windows recognises it as a USB boot drive or liveboot disc. Edit 2: This option is now also gone. :(

Thanks for your help everyone! It's working now! Apparently it was an issue with my laptop, Acer E15, it has a special security feature. Refer here for more: Acer Aspire E15 will not dual boot

Alkove
  • 1
  • 1
  • 5

2 Answers2

0

check your system setting boot order. If that doesn't fix it then

In the efi partition, there is efi/boot/bootx64.efi
This is the default boot loader, in this case windows.
Move it to the efi/windows folder
Now copy /efi/ubuntu/grubx64.efi or /efi/ubuntu/shimx64.efi (the file you have depends if you want secure boot)
rename the copy to bootx64.efi and move it to /efi/boot/

set you boot options to device boot first.

If the system setting aren't having an effect then we need to edit the NVRam.

boot from a liveCD and install efibootmgr
sudo apt-get install efibootmgr

type sudo efibootmgr to get a list of the logged OS's
type sudo efibootmgr -b 0000 -B to delete the first entry (windows)

continue to delete all except pxe net.

this will force the computer to use device boot. log into ubuntu first so it get's placed on slot 0000, then boot wiindows.

ravery
  • 6,924
0
  • First, download rEFInd.

  • Extract it.


NOTE: THE BELOW PROCESS WILL DESTROY ALL OF THE DATA PRESENT IN THE USB DRIVE. SO, MAKE SURE TO TAKE A BACKUP BEFORE PROCEEDING.


  • Then, copy refind-flashdrive-0.10.8.img to a USB drive using dd command:

    sudo dd if=/path/to/refind-flashdrive-0.10.8.img of=/path/to/mounted/USB bs=8M status=progress oflag=direct && sync
    

If there are any errors regarding status=progress command not found or similar, then remove the argument status=progress from the above command.

OR

If on windows burn it to a USB drive using Rufus.

  • Now, boot from the USB drive and it should boot into a rEFInd menu. There you will get an option of Ubuntu if it still exists.

  • Boot to Ubuntu and install efibootmgr.

  • Next, check your boot order using:

    sudo efibootmgr -v
    
  • And then change the order using:

    sudo efibootmgr -o 0001,0003,0002
    

NOTE: Please edit the relevant parts of above command before continuing.

If the above method doesn't work, then, boot to windows:

  • Run Command-Prompt as administrator.
  • Issue the command:

    bcdedit /set {bootmgr} path \path\to\your\grubx64.efi
    
Raphael
  • 8,135