Changing Default Boot OS in Ubuntu 11.04


I am writing this post cause after upgrading the Ubuntu kernel I have to change OS boot order agin. I don’t want to do this again and again after every kernel update.
Workaround is change the boot order in /etc/grub.d/ folder. Run following command in ubuntu,

mv /etc/grub.d/30_os-prober /etc/grub.d/06_os-prober

Then update grub,

update-grub

Again this will not work if you are having more than one other OS. In such scenario you need to edit /etc/default/grub and change the GRUB_DEFAULT value so that it matches the OS you want.

Subscribe / Share

Article by Vidyadhar

My name is Vidyadhar Sarmalkar & I work as a consultant and have done RHCE & CCNA.
Vidyadhar tagged this post with: , , , , , , , , Read 214 articles by

One Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Notify me of followup comments via e-mail. You can also subscribe without commenting.

rss twitter facbook

Categories

Archives