Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

GRUB boot loader questions - change default OS?


  • Please log in to reply

#1
gust0208

gust0208

    Member

  • Member
  • PipPipPip
  • 311 posts
Hello everyone,

I am hoping a few GRUB masters read these forums. I have been a happy dual-booter of Ubuntu and Win XP for quite some time, but I am interested in modifying the GRUB boot loader so that it will either change the order of selections or change the default OS that is loaded if no selection is made. I browsed through the GRUB website, but did not have much luck finding the info I was looking for. I have gone into the command prompt option in GRUB, but wasn't sure how to save any changes made during that process.

Cheers and thanks for your help with a Linux newbie,
Tom
  • 0

Advertisements


#2
tictoc

tictoc

    Member

  • Member
  • PipPip
  • 13 posts
Try this:
sudo gedit /boot/grub/menu.lst
In this section:
## 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  0
Change the "0" to whatever OS you want to boot by default. If you want windows to boot by default and you only have one kernel, this is very likely a "3"

Edited by tictoc, 03 September 2005 - 07:28 PM.

  • 0

#3
gust0208

gust0208

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 311 posts
Hello!

Thank you for the post and I will give that a try tonight.

Cheers,
Tom
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP