Windows 8 removes Grub as default boot manager

I can make no promises, but try this from a Windows Command Prompt window launched with Administrator privileges:

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

Note that {bootmgr} should be typed exactly; that's not a variable. If that doesn't work, you could try this in Linux:

  1. Back up the entire contents of /boot/efi (your EFI System Partition, or ESP).
  2. Type sudo mv /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi /boot/efi/EFI/Microsoft.
  3. Type cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi.
  4. Create a new /etc/grub.d/40_custom file entry that refers to EFI/Microsoft/bootmgfw.efi. Model it after the existing entry in /boot/grub/grub.cfg that refers to EFI/Microsoft/Boot/bootmgfw.efi; just remove Boot from the boot path and give the entry a new name.
  5. Type sudo update-grub to install the new GRUB entry.

When you reboot, GRUB should come up. The trouble is that if/when Windows decides to re-install its boot loader, the system will start booting straight to Windows again.

For step 4, you can:

  1. Copy the 40_custom entry beginning with menuentry 'Windows ...' situated between a set of ### BEGIN <path> ### and ### END <path> ### tags/comments. This is the entry having the path containing Boot.
  2. Create a new entry in file /etc/grub.d/40_custom by adding the copied menuentry.
  3. Change the name of the new entry (original should be Windows Boot Manager or something similar).
  4. Change the path from EFI/Microsoft/Boot/bootmgfw.efi to EFI/Microsoft/bootmgfw.efi.

EDIT:

Since writing this answer, I've become aware of a third-party Windows tool called EasyUEFI, which is an easier GUI tool than bcdedit for adjusting the EFI boot order from Windows. I don't know if EasyUEFI will stop Windows from making changes, though, if Windows has a habit of setting itself as the default on every boot. Thus, bcdedit may still be required, but EasyUEFI is definitely worth trying, too.


How do I change this in Windows 8? I read something about bcdedit, but it does not work or I >don't know how to use it...

Same issue here, I finally figured out that this latest W8.1 update did that, and I know that because I just updated today and haven't for 33 days or so my HP Pavilion told me..

Anyhow, here is what worked:

I followed this Utube video to stop 'Automatic [Boot] Repair': http://www.youtube.com/watch?v=VRQYmtysFkg

Then changed the bootmgr using the above solution supplied by Rod: bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

Bingo!

btw: Boot Repair from my LiveUsb did nada but cause a short flash while W8 repaired its boot entry..