LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2006, 07:30 AM   #1
n e r d
Member
 
Registered: Oct 2003
Posts: 46

Rep: Reputation: 16
Adjusting Dual Boot Menu


I dual boot Ubuntu Linux and Windows XP Pro. I use Windows XP much more than Ubuntu, and need to change the boot order list in the boot menu so I do not have to page down to Windows XP. I want XP to be the default OS in that menu so I don't have to hit anything to get into Windows.

Where is this option to fix this?
 
Old 08-02-2006, 07:41 AM   #2
deroB
Member
 
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Rep: Reputation: 30
you need to edit /boot/grub/menu.lst

change the "default" option
Code:
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 1
so if windows is second on your list change default to 1

Last edited by deroB; 08-02-2006 at 07:44 AM.
 
Old 08-03-2006, 10:05 PM   #3
n e r d
Member
 
Registered: Oct 2003
Posts: 46

Original Poster
Rep: Reputation: 16
Thanks, I had done that and it worked. Now windows starts by default. However, every time a new kernal is installed I would have to edit the file again. Is there a way I can just put windows at the top of the list so all the new kernals are added below?
 
Old 08-03-2006, 10:11 PM   #4
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
perhaps there's a comment in your config file that tells the lines where a third party program modifies the file.

something like

Code:
###### the following lines are automatically updated by ... ######

title Windows
....

###### done #######
just change it to
Code:
title Windows
...
###### the following lines are automatically updated by ... ######

###### done #######
 
  


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
Dual Boot Menu Options MarcoTUX Linux - Software 3 03-06-2005 01:25 PM
Dual Boot : Making Windows First Option in boot menu Maxwell Rain Linux - Software 3 11-27-2004 03:00 PM
About boot menu on a dual boot sys Gethyn Linux - Newbie 4 10-15-2004 11:30 AM
Need help adjusting my menu.lst file herkdrvr Linux - General 1 10-15-2004 07:01 AM
No Windows on Suse dual boot menu Adzland Linux - Newbie 4 05-07-2004 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:41 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
Open Source Consulting | Domain Registration