How do you change the default O.S. in the grub, so that windows will boot if Ubuntu is not chosen?
Asked
Active
Viewed 2,052 times
1 Answers
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