0

How do you change the default O.S. in the grub, so that windows will boot if Ubuntu is not chosen?

1 Answers1

3

The simplest way is to have GRUB remember the last boot choice made at the GRUB menu.

Edit /etc/default/grub and change/add the following lines near the top of the file...

GRUB_DEFAULT=saved # change an existing line to this

GRUB_SAVEDEFAULT=true # add this line

Then...

sudo update-grub # update the GRUB menu

reboot # reboot the system

heynnema
  • 73,649