I have a computer with two different Debian operating systems installed on it. I usually use the first installed one, but I'm not able to correctly set up grub to use that as the default option: every time I turn on my computer, the second installation on Debian is selected.
- I tried to set the option
GRUB_DEFAULT
in/etc/default/grub
to 2 (as the first installed operating system is the third on the grub list). It did not work. - I tried to set
GRUB_DEFAULT=saved
andGRUB_SAVEDEFAULT=true
. It did not work too.
EDIT: In both cases I run sudo update-grub
after the editing.
I've run out of ideas and "duckduckgoing" for the problem does not help me.
Thanks in advance.
sudo update-grub
to regenerate your/boot/grub/grub.cfg
? – Freddy Dec 16 '19 at 10:15/boot/grub/grub.cfg
of the other installation. – Freddy Dec 16 '19 at 13:59