LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-16-2004, 12:03 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Changing Grub order


I just set up a dual boot on my notebook and was wondering how I can edit the order of the boot list and also change "other" to ready Windows XP?

Thanks for any info on where this file is located and how I can make those changes.
 
Old 08-16-2004, 12:27 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
I bet a quick search could answer this one.

/boot/grub/grub.conf

It may look obvious when you see it.

 
Old 08-16-2004, 10:44 AM   #3
cincindie
Member
 
Registered: Jul 2004
Location: Zinzinnati, OH
Distribution: RH, FC 1-6, F 7-21, Debian, LinuxPPC, Knoppix, Ubuntu, Yellow Dog
Posts: 176

Rep: Reputation: 31
Just change the order of the listing in the grub.conf file. To default to a different OS, change the line default=appropriate-number on your list (default = 0 implies first item/OS in your listing and so on). To get the word "Windows XP", change the title in the line containing Windows from Other to Windows XP.
 
Old 08-29-2004, 09:23 PM   #4
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
I am just a NEWBIE in Linux, I modified the titles in /boot/grub/grub.conf but I found the result is just the same.
 
Old 08-29-2004, 10:01 PM   #5
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Rep: Reputation: 19
You've almost got it. Changing the titles by itself won't change the boot order; that's set by the 'default' setting in grub.conf - I'm posting mine as an example:

default=2
timeout=05
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.8-1.521)
root (hd0,5)
kernel /boot/vmlinuz-2.6.8-1.521 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.8-1.521.img

title Fedora Core (2.6.7-1.494.2.2)
root (hd0,5)
kernel /boot/vmlinuz-2.6.7-1.494.2.2 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.7-1.494.2.2.img


title Windows XP
rootnoverify (hd0,0)
chainloader +1


Here you can see that the first Fedora Core (1.6.8-1.521) would be position "0", while Fedora Core (2.6.7-1.494.2.2) would be position "1" and I have chosen to start Windows XP (position "2") as my default . Yes, SHAME ON ME, but I have one of my kids working on her resume and she isn't into Linux.
 
Old 08-29-2004, 10:12 PM   #6
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
Question

Thank you so much for the quick reply JustOl'Bob.

I can now change the order of the loader list. But I still can not change the name of the title. I still find "linux" and "DOS" when boot up.

By the way, I am just new in Linux and I wanna to know more about this not going back to the dark force.

I am using RedHat 9
uname -rv
2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003

Also, could anyone help me figure out how to upgrade packages in RedHat? apt-get in Debian can save most of works and that's the end of story, how about other distro like RedHat? I am using dial up.
 
Old 08-29-2004, 10:34 PM   #7
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Rep: Reputation: 19
Hmmm.... after you edit the grub.conf in terminal, are you saving the change and then typing 'exit' before closing the terminal? If not, the changes won't hold. Another suggestion would be to highlight, copy and then post your grub.conf here so we can see what might need to be changed.
 
Old 08-29-2004, 10:37 PM   #8
JustOl'Bob
Member
 
Registered: Apr 2004
Location: upstate New York
Distribution: SuSE 9.0, Fedora Core 2
Posts: 117

Rep: Reputation: 19
Wish I knew more about Red Hat; I'm a new user of Fedora Core 2 and use YUM, Synaptic and the bundled Up2date for upgrades. Maybe a fresh post about this separate question would get you some quick responses.
 
Old 08-30-2004, 10:47 AM   #9
cincindie
Member
 
Registered: Jul 2004
Location: Zinzinnati, OH
Distribution: RH, FC 1-6, F 7-21, Debian, LinuxPPC, Knoppix, Ubuntu, Yellow Dog
Posts: 176

Rep: Reputation: 31
You can either click on the flashing RedHat icon at the bottom right of your screen or go to system tools - redhat network and follow the instructions.
 
Old 08-31-2004, 02:35 PM   #10
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Just want to make sure that this is looking correct -

If I want XP as my primary booting OS - it should look like this?

#boot=/dev/sda
default=1
timeout=120
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.6.8-1.521smp)
root (hd0,1)
kernel /vmlinuz-2.6.8-1.521smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.8-1.521smp.img
title Windows XP Pro
rootnoverify (hd0,0)
chainloader +1
 
Old 09-01-2004, 09:52 AM   #11
cincindie
Member
 
Registered: Jul 2004
Location: Zinzinnati, OH
Distribution: RH, FC 1-6, F 7-21, Debian, LinuxPPC, Knoppix, Ubuntu, Yellow Dog
Posts: 176

Rep: Reputation: 31
Looks okay to me.
 
Old 09-01-2004, 10:16 AM   #12
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
As long as you don't mind that 2 minute timeout delay .
 
Old 09-01-2004, 04:09 PM   #13
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
nope, I set it at that for personal preference.
 
  


Reply



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
grub question changing boot order making windows boot first nfsutim Linux - Newbie 29 10-27-2012 12:53 PM
Changing boot order CornMaster Fedora 13 10-04-2005 10:13 AM
changing drive's order r_x Linux - Hardware 1 07-19-2005 04:56 AM
changing the boot order coopns Linux - Newbie 11 09-14-2004 07:20 AM
changing boot order vasu Mandriva 4 08-25-2003 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:50 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