Set Grub to boot your chosen operating system by default
Many Linux users have more than one operating system installed on a single computer. This entails having a boot menu from which you can select the operating system you wish to boot into, with the entry at the top of the menu being the default. Here's how to change that.
Open the file /etc/default/grub using root permissions in a text editor. Scroll down to this line:
GRUB_DEFAULT=0The 0 above represents the first entry listed on the Grub boot menu. So for example, if you wish to boot from the 4th entry on the menu, change 0 to 3 so that the line looks like this:
GRUB_DEFAULT=3Save and exit the text editor, and the next time you boot your computer you should find it will boot into the 4th entry in the Grub boot menu by default.
Edited by Al1000, 04 August 2017 - 06:32 AM.
split from deleted Tips and Tricks topic