I'm trying to change the default OS in grub, but when I do
sudo gedit /boot/grub/grub.cfg and change it to option 3 instead of 0 and run update-grub, nothing changes. The default selected OS is still the first one and when I look in grub.cfg it's back to 0. What am I doing wrong?
Best Answer
As stated on the top of
/boot/grub/grub.cfg
:Edit
/etc/default/grub
instead.Here are details on how to configure the grub file; see the other answers there for a GUI-based method.