Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Ubuntu 10.10 with Windows 7 Ultimate in dual boot configuration. Everything seems to be working fine. I have a small doubt, is it possible to Re-arrange the Boot menu that appears when you start your machine? Currently Ubuntu is at top and Windows is the very last one. If we dont make a choice for some seconds, it automatically boots Ubuntu(Default). Can I swap this with Windows being default in case user doesnt make any choice?

share|improve this question

4 Answers 4

up vote 6 down vote accepted

I found this on the forums, it is a little old, but the process should be the same. I just tried it and it does work as it should.

First install startup-manager via Ubuntu Software Center, you can find the package by searching for startup. alt text

Then, open the startup manager and select Windows 7 as the default, close, restart and it should work. alt text

share|improve this answer
    
your first screenshot shows a different package selected - can you update it to highlight startup-manager? –  ImaginaryRobots Nov 5 '10 at 15:28

Yes you can. Just edit /etc/default/grub file and change the value of GRUB_DEFAULT to the value you want. 0 is for first os in the grub list (I hope windows 7 in 4th position in your grub, if then the value of GRUB_DEFAULT should be 3). and then run update-grub command.

in short

open a terminal

 sudo vi /etc/default/grub

change the value of *GRUB_DEFAULT*

save and exit vi editor ( you can use this key combination :+x) then run the command

 update-grub 
share|improve this answer
    
Thanks aneeshep –  t3ch Nov 5 '10 at 14:47
    
@t3ch - you can say thanks on this site by clicking the upwards pointing chevron next to the answer :D . Also, click the tick next to the answer you think is the best. See the faq. –  dv3500ea Nov 5 '10 at 14:54
    
@dv3500ea :D will do –  t3ch Nov 5 '10 at 18:10
    
So what happens when Ubuntu releases an updated kernel and Windows shifts from position 4 to position 6? Is there a way to specify "the last one"? –  Marius Gedminas Feb 2 '11 at 22:58

Alternatively, you can

sudo mv /etc/grub.d/30_os-prober /etc/grub.d/09_os-prober && sudo update-grub
share|improve this answer
    
AFAIK this is the only method that will work even upon installing a second kernel –  Joril Dec 30 '10 at 10:47

StartUp-Manager install StartUp-Manager

StartUp-Manager can be used to select the default operating sytem for grub. Once installed, run it through System->Administration->Startup-Manager then choose Windows from the drop down menu.

alt text

share|improve this answer
    
Thanks dv3500ea –  t3ch Nov 5 '10 at 14:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.