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.
Related content:
Try this for fedora
http://www.linuxreaders.com/2011/11/01/fedora-16-how-to-change-boot-sequence-grub2/