How to Change Grub Boot Menu order on Linux Mint or Ubuntu
Grub for dual boot operations where multiple Linux distributions or Linux and Windows are installed with the Grub Boot Manager, it may be preferable to change the boot order or the default boot entry occasionally so that the most frequently used operating system is selected first by default.
Assuming it is dual boot with Windows and Linux Mint, this boots first by default, now we would like to start Windows instead without making a selection.
To do this, load the grub file into the editor of your choice.
$ sudo nano /etc/default/grub
Search the content.
GRUB_DEFAULT=0
Then modify the entry.
GRUB_DEFAULT=2
Note: The index begins at 0, consequently Windows has number 2.
Save the file and exit the editor by pressing Ctrl + O then Ctrl + x to exit nano.
Now update grub menu with this command.
$ update-grub
Finished! Reboot the computer and check the new boot order.
