Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I am using VAIO T series with Win 8 preinstalled, I have installed Ubuntu 12.04.3 on a different partition and set GRUB at default. But whenever I choose to boot Win 8, the next time I start the laptop, it Windows Boot Manager which shows up at default. How can I set GRUB default constantly?

share|improve this question

marked as duplicate by Rod Smith, Luis Alvarado Sep 25 '13 at 3:56

This question was marked as an exact duplicate of an existing question.

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 it 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.

share|improve this answer
Please do not just copy and paste answers without citing the source of the answer -… – fossfreedom Sep 24 '13 at 22:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.