RSS
 

How to Change Boot Order in Ubuntu Server 11.10

12 Apr

If you’re dual booting Ubuntu with other Linux distributions or Windows, you may wish to change the which operating system starts by default. Ubuntu uses the GRUB boot loader to display a menu of installed operating systems and boot them. If you don’t see the menu before Ubuntu starts, hold down the shift key while your system starts up.

This guide is intended for Ubuntu 11.04 and 11.10, which both use GRUB version 1.99. If you’ve upgraded from an older Ubuntu installation, you may still have an older version of GRUB. Search in Ubuntu Software Center for grub-pc and check the version if you’re not sure.

There’s a graphical configuration tool for GRUB called StartUp-Manager. Unfortunately, judging by its reviews in Ubuntu Software Center the application has not been updated for the latest version of GRUB and has some problems. But if you’re comfortable with editing a configuration file and running some terminal commands it’s not difficult to change the default operating system manually.

a GRUB menu with Ubuntu and Windows

GRUB can be configured using the /etc/default/grub file. Before you make any changes to it, it may be a good idea to back it up by creating a copy:
sudo cp /etc/default/grub /etc/default/grub.bak

You can restore the copying the backup over the original:
sudo cp /etc/default/grub.bak /etc/default/grub

Open the file using the text editor with root privileges:
vi /etc/default/grub

The line GRUB_DEFAULT=0 means that GRUB will select the first menu item to boot. Change this to GRUB_DEFAULT=saved . This change will make it easier to change the default item later.

Save and close the file. Run this command to apply your changes to GRUB’s configuration:
sudo update-grub

The configuration change we made allows the grub-set-default and grub-reboot commands to be used at any time. These allow you to change the default boot item permanently or only for the next boot, respectively.

Run grub-set-default or grub-reboot (with sudo) with the number of the menu item to boot (the first item is 0). This command will change the default to the second item:
sudo grub-set-default 4

In the screenshot above, Windows XP is menu item 4. If you want to select an item from a submenu like Previous Linux Versions, you can specify the position in the main menu, followed by a greater-than sign (>), followed by the position in the submenu. You can also name an entry instead of giving its position. There’s a great Ubuntu Forums post about how this works. The Ubuntu Wiki also has more details on configuring GRUB.

Taken from: http://tombuntu.com

 
22 Comments

Posted in Linux

 

Leave a Reply

 

 
  1. Zeltner@zyjzdrowiej.pl

    August 25, 2012 at 1:51 am

    In case of party with such type of leadership, the statements and actions of its leader must be considered as the action and statements of whole party. In fact Front National, as a party has never separated the “official party line” from the statements of Jean Marie Le Pen, which is a silent approval for his controversial activity in the French public sphere.

     
  2. yerba mate

    August 25, 2012 at 2:07 am

    The social support for Front National is not a major one. Currently this party does not have any deputies neither in National Assembly (lower chamber of French Parliament) nor in Senate.

     
  3. Jeromy Strunk

    September 16, 2012 at 10:55 am

    You have mentioned many ways to make money. It is very important for me. I highly appreciate your opinions. Thanks.

     
  4. Marguerite Stender

    October 17, 2012 at 10:53 pm

    aidasdoipao

     
  5. how to save money fast for teenagers

    January 26, 2013 at 7:41 am

    After examine a couple of of the blog posts in your website now, and I really like your method of blogging. I bookmarked it to my bookmark website record and will likely be checking back soon. Pls try my website as nicely and let me know what you think.

     
  6. Guy Jarecki

    November 21, 2014 at 1:07 am

    Web Design Company Philippines. Are you looking for a Responsive WordPress developer? Web design company outsourced solutions for US & Australian … http://bitboxed.com

     
  7. furtdsolinopv

    December 10, 2015 at 6:59 pm

    My brother recommended I may like this blog. He was entirely right. This post truly made my day. You can not consider just how much time I had spent for this information! Thanks!

     
  8. Gareng Palur

    December 13, 2015 at 7:39 pm

    Thank you for another essential article. Where else could anyone get that kind of information in such a complete way of writing? I have a presentation incoming week, and I am on the lookout for such information

     
  9. lower

    December 16, 2015 at 3:27 pm

    Pretty! This was a really wonderful post. Thank you for your provided information.

     
  10. gareng palur channel

    December 18, 2015 at 8:51 am

    Very usefull. thaks

     
  11. Credit

    December 20, 2015 at 11:41 pm

    I think this website has some very fantastic information for everyone. “The best friend is the man who in wishing me well wishes it for my sake.” by Aristotle.

     
  12. pizza sibiu livrare la domiciliu

    December 22, 2015 at 7:48 pm

    Nice post. I study something tougher on different blogs everyday. It can all the time be stimulating to learn content from different writers and observe a bit of something from their store. I’d favor to make use of some with the content material on my blog whether you don’t mind. Natually I’ll offer you a hyperlink in your internet blog. Thanks for sharing.

     
  13. prescription eyeglasses

    January 20, 2016 at 12:55 pm

    Hiya very nice blog!! Man .. Beautiful .. Wonderful .. I’ll bookmark your web site and take the feeds additionallyKI am glad to search out a lot of helpful information here in the post, we want develop more techniques in this regard, thanks for sharing. . . . . .

     
  14. lake-grande-condominium.com.sg/site-plan

    January 25, 2016 at 1:20 pm

    Thanks , I’ve just been searching for info approximately this topic for a long time and yours is the greatest I have discovered so far. But, what concerning the bottom line? Are you sure about the source?

     
  15. corporate cupcakes reading

    February 4, 2016 at 4:39 pm

    Your style is so unique compared to many other people. Thank you for publishing when you have the opportunity,Guess I will just make this bookmarked.2

     
  16. WWW.DENONSALONAi.lt

    February 4, 2016 at 5:51 pm

    I couldn’t resist commenting

     
  17. gta 5 pc download

    February 10, 2016 at 12:44 am

    I have recently started a website, the info you offer on this web site has helped me greatly. Thank you for all of your time & work.

     
  18. straight 2 voicemail

    September 23, 2016 at 4:22 pm

    This is wonderful! Thank you for sharing this wonderful blog. I read few articles on this web site and I conceive that your web site is really interesting and has sets of great info .
    Thanks alot

     
  19. school of applied science

    October 11, 2016 at 3:31 pm

    I really appreciated to you on this quality work. Nice post, these tips may help me

     
  20. Kursus Pemrograman Python

    February 12, 2019 at 8:34 am

    Thanks For Sharing

     
  21. Hania

    July 15, 2019 at 4:07 pm

    its really amazing

     
 
Skip to toolbar