Index

grub

edit grub settings:
sudo vi /etc/default/grub
apply changes
sudo update-grub
remember last selected OS
GRUB_SAVEDEFAULT=true

changing the default os to boot

create backup of grub config:
sudo cp /etc/default/grub /etc/default/grub.bak
edit the file
sudo vim /etc/default/grub
change the line that contains:
GRUB_DEFAULT=0
apply changes
sudo update-grub