LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-11-2011, 01:08 PM   #1
javarunner
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Question How to change dual-boot order in Ubuntu 10


I have a dual-boot setup in which Ubuntu 10 LTS is the default choice on the menu, followed by 2 or 3 alternate choices and finally Win 7. I would like to know how to change that order, making Win 7 the default. Solutions I've looked at mention editing menu.lst in the /boot/grub directory, but this file does not exist anywhere as far as I can tell. There is a /boot/grub/grub.cfg but it's unclear how that alters the menu sequence.
Any help appreciated.
 
Old 02-11-2011, 01:36 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
In Ubuntu 10 they have started using grub2 which does not use menu.1st anymore. Instead you would have to edit /etc/default/grub and then run 'update-grub' in order for your changes to take affect.

Specifically you would change the line:

Code:
GRUB_DEFAULT=0
to the stanza that represents your desired OS.


Regards,


Fordeck

Last edited by fordeck; 02-11-2011 at 01:40 PM.
 
Old 02-11-2011, 01:57 PM   #3
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
To elaborate just a bit:

1. Older systems used "grub". Changing boot options/boot order was as simple as editing "menu.lst".

2. Newer systems often use "grub2". There's no longer a "menu.lst", and you cannot edit "grub.cfg" directly.

3. Instead, you must:
a) Edit /etc/default/grub
b) (Optionally) edit and/or create "custom steps" in /etc/grub.d/*
c) Update the whole shebang by running "update-grub"

4. Here's a link with many more details:
http://ubuntuforums.org/showthread.php?t=1195275

'Hope that helps .. PSM
 
Old 02-12-2011, 03:04 PM   #4
Inkit
Member
 
Registered: Feb 2011
Location: India
Distribution: Mint 10
Posts: 141

Rep: Reputation: 15
I'm no expert, but I use Mint 10 which is based on ubuntu, and I have an application called startup-manager in my menu. it gives a gui option to change the boot priority. Just putting in my 2 cents worth.
 
Old 02-12-2011, 09:54 PM   #5
sorbyl
LQ Newbie
 
Registered: Apr 2008
Location: Wakefield UK
Distribution: Debian Squeeze, Xubuntu Oneiric, Natty (Gnome Desktop)
Posts: 25

Rep: Reputation: 1
OK, this may sound like cheating, but the easiest way I have found to modify Grub 2 is to download Ubuntu Tweak from http://ubuntu-tweak.com
Open it and go to "Source Centre" and enable "Grub Customiser PPA"


Use the synaptic package manager to install "grub-customizer"

This will appear under the "System Tools" menu and you can change the order, the background and the font colours easily
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can i change the 30sec delay before loading in dual boot xp/ubuntu? black_wire Linux - Newbie 3 05-30-2010 07:36 PM
how to change boot order bcbotha Ubuntu 3 11-22-2008 09:16 AM
Have to change boot order in BIOS to boot ubuntu/winxp Minn3h Linux - Software 7 04-01-2006 06:17 PM
Change Dual Boot Order madhatter3 Linux - Software 2 03-22-2006 02:00 PM
Change boot order? panicboy Linux - Software 6 01-21-2004 06:55 PM


All times are GMT -5. The time now is 06:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration