Sunday, May 1, 2011

How to change default OS in grub2

Change the following line in file /etc/default/grub (the number corresponds to the grub2 boot menu item starting from zero):
GRUB_DEFAULT=0
Once you made your changes issue the following command:
update-grub
Once you reboot the default selected item will be changed per your changes above.

No comments :

Post a Comment