While trying to solve the problem of video resolution in grub , I came across a parameter of the configuration file that allows you to save your choice of which operating system has booted, so that the next reboot again off again with that ... (handy for a session as a WINDOWS ™, when you are doing installations / upgrades and the mess of SO constantly asking to restart).
- edit the file / etc / default / grub where are the grub default settings, and change the line:
GRUB_DEFAULT = 0
This parameter determines what should be the operating system (or kernel) to be loaded by default, the number indicates the position in the list that appears to boot normally. By changing the parameter by putting "saved" (without the quotes) instead of the number, is stored each time the OS used, and will be for the next boot.
Of course once you make changes, you need to regenerate the configuration file with a fine:
update-grub2 It is obvious that all these changes and commands must be done by root.

