GRUB (GRand Unified Bootloader) is the default bootloader for Linux Mint, Ubuntu, and a host of Linux Distributions. When we are dual-booting with Windows, Linux sets itself as the default boot choice. If we prefer Windows to be the default, though, it's easy to change the GRUB boot order.
We have prepared this guide in Linux Mint 17.2 and Ubuntu 15.10. It should also work for earlier and later versions, and for most distributions based on Ubuntu/Debian.
Change GRUB boot order with GRUB Customizer
GRUB Customizer is an easy, GUI way to change the GRUB boot order, without having to edit system files manually.
To install it, we first need to add the repository. We open a terminal with ctrl+alt+T and type:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer -y
If you 're new to Linux, remember that when we enter the password within the terminal, nothing will show as we type, no stars or dots. We just type the password and submit it with Enter.
After the repository is successfully imported, we type:
sudo apt-get update && sudo apt-get install grub-customizer -y
Once the installation process is done, we start GRUB customizer with
After that, it's only a matter of selecting the OS we prefer, and clicking the upwards arrow until it gets to the top.
Once on the top, we save the configuration.
On the next reboot, Windows is now the default operating system in the GRUB boot order.
Change GRUB boot order manually
If, for whatever reason, we can't or don't want to install GRUB customizer, we can change the GRUB boot order manually.
In fact, it is easier than installing GRUB customizer - but with a higher chance of breaking something in our system. So, we need to be careful.
First, we open a terminal with ctrl+alt+T, and we type:
This will seem to open our home folder. The difference is that we opened the home folder as root, which can be extremely dangerous because nothing will stop us from deleting an essential system file or folder by mistake.
On this home folder, we press ctrl+L and type /etc/grub.d/
The file 10_linux is the current default in the GRUB boot order. 30_os-prober is Windows.
We only need to rename 30_os-prober...
After that, we close nautilus. We need to press ctrl+C within the terminal to get the cursor back.
To apply the changes, we type:
On next reboot, Windows will be the default choice.
Easy as pie.
Did you have any problem changing the GRUB boot order?
If neither of the above ways worked for you, and you had any problem with changing the GRUB boot order, leave us a comment.