LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-20-2005, 09:12 PM   #1
nfsutim
LQ Newbie
 
Registered: Dec 2004
Location: Kandos
Distribution: Fedora core 3
Posts: 22

Rep: Reputation: 15
grub question changing boot order making windows boot first


g'day how can i make it so that instead of fedora core 3 loading atuomatically, windows loads instead?

in other words i want windows to boot first (countdown 5,4,3,2,1 thingo)
i really need to know how to do this asap plz!!!

so heres the question properly:
how to change the boot sequence in grub changing order: linux windows to windows linux.

i had it right until i did a automatic kernel update via up2date which changed it god damn it.
 
Old 01-20-2005, 09:29 PM   #2
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
Re: grub question changing boot order making windows boot first

to boot the 3rd menu entry as default modify /boot/grub/menu.lst:

Code:
e.g.
color white/blue ....
default 0
gfxmenu (hd0,0)/boot/message
timeout 10
...
title linux
 kernel ....
...
title linux2
 kernel ....
..
title windoof
...
change the "default" option :

Code:
...
default 3
...
 
1 members found this post helpful.
Old 01-20-2005, 09:32 PM   #3
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
in /boot/grub/menu.lst, change or add this line
Code:
default n
where n is a number position of your windows entry, starting from 0.
 
Old 01-20-2005, 09:35 PM   #4
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
Re: Re: grub question changing boot order making windows boot first

Quote:
Originally posted by AltF4
to boot the 3rd menu entry as default modify /boot/grub/menu.lst:

Code:
e.g.
color white/blue ....
default 0
gfxmenu (hd0,0)/boot/message
timeout 10
...
title linux
 kernel ....
...
title linux2
 kernel ....
..
title windoof
...
change the "default" option :

Code:
...
default 3
...
it should be default 2. (starting from 0)
 
Old 01-20-2005, 09:36 PM   #5
nfsutim
LQ Newbie
 
Registered: Dec 2004
Location: Kandos
Distribution: Fedora core 3
Posts: 22

Original Poster
Rep: Reputation: 15
i guess this is located in the root directory also i forget to tell u that grub is in mbr not on a partition.
 
Old 01-20-2005, 09:39 PM   #6
nfsutim
LQ Newbie
 
Registered: Dec 2004
Location: Kandos
Distribution: Fedora core 3
Posts: 22

Original Poster
Rep: Reputation: 15
Cool

thx guys ill try it now have to reboot as im in windows
also what is the easiest way to get games working in fedora core 3? thx!!!!!!!!!
 
Old 01-20-2005, 09:40 PM   #7
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
Quote:
Originally posted by nfsutim
also i forget to tell u that grub is in mbr not on a partition.
this is not a problem. you're only modifying the configuration file--sometimes you don't see a menu.lst but you see a grub.conf--that grub will read.
 
Old 01-20-2005, 11:39 PM   #8
nfsutim
LQ Newbie
 
Registered: Dec 2004
Location: Kandos
Distribution: Fedora core 3
Posts: 22

Original Poster
Rep: Reputation: 15
did not work proberly did something wrong anyhow here is the file can u tell me what it should be?
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=3
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.741_FC3)
root (hd0,1)
kernel /vmlinuz-2.6.10-1.741_FC3 ro root=LABEL=/
initrd /initrd-2.6.10-1.741_FC3.img
title Fedora Core (2.6.9-1.667)
root (hd0,1)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/
initrd /initrd-2.6.9-1.667.img
title windows xp
rootnoverify (hd0,0)
chainloader +1

Last edited by nfsutim; 01-20-2005 at 11:41 PM.
 
Old 01-21-2005, 01:04 AM   #9
nfsutim
LQ Newbie
 
Registered: Dec 2004
Location: Kandos
Distribution: Fedora core 3
Posts: 22

Original Poster
Rep: Reputation: 15
i changed it and winxp now boots first only problem now is that grub dont show up at all i changed to things the lines are marked ith a ?
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0) ?
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=3
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz ?
hiddenmenu
title Fedora Core (2.6.10-1.741_FC3)
root (hd0,1)
kernel /vmlinuz-2.6.10-1.741_FC3 ro root=LABEL=/
initrd /initrd-2.6.10-1.741_FC3.img
title Fedora Core (2.6.9-1.667)
root (hd0,1)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/
initrd /initrd-2.6.9-1.667.img
title windows xp
rootnoverify (hd0,0)
chainloader +1
 
Old 01-21-2005, 03:02 PM   #10
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
change the splashimage line back to (hd0,1). this might fix the "grub not showing up" problem. and --did you read my previous post?-- change default to 2 to make windows boot first.

Last edited by rgiggs; 01-21-2005 at 03:09 PM.
 
Old 01-21-2005, 06:58 PM   #11
OmnipotentOscar
Member
 
Registered: Jan 2005
Distribution: Fedora 5, Debian
Posts: 56

Rep: Reputation: 15
As for games have a look at the wine project... open source
 
Old 01-21-2005, 08:11 PM   #12
nfsutim
LQ Newbie
 
Registered: Dec 2004
Location: Kandos
Distribution: Fedora core 3
Posts: 22

Original Poster
Rep: Reputation: 15
i will try and thanks hoppefully it aint hard to set up
 
Old 01-25-2005, 05:02 PM   #13
nfsutim
LQ Newbie
 
Registered: Dec 2004
Location: Kandos
Distribution: Fedora core 3
Posts: 22

Original Poster
Rep: Reputation: 15
works thks
 
Old 09-13-2007, 09:27 PM   #14
comhead
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Thumbs up Gdday Newbie

Try this, go to your /boot/grub directory on your boot drive ie (hda or hdb) and edit a file called menu.lst, it's only in Ascii so you cant do any harm (make a copy b4 u start). You will need to login as root so you can save your changes! Now look for these 2 entries on the first few lines



timeout 10
default 1

Pretty simple stuff really timeout is the number of seconds the system waits

"default 1" is the title number in the menu of the program you wish to launch ie,

title Fedora 7
root (hd0,0)
makeactive
chainloader +1

title Fedora failsafe
root (hd0,0)
makeactive
chainloader +1


title Your menu option
root (hd0,0)
makeactive
chainloader +1

Please note the first title entry is 0 & then 1,2,3 etc

So if you wanted "Your menu option" to load first after 20 seconds you would change the entries to:

timeout 20
default 2

Hope this helps
email if you need any help nigelrptaylor@hotmail.com

Regards
 
Old 03-17-2010, 03:10 PM   #15
k_goos
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
file missing

i have a question i go to my /boot/grub/

and there is no file caled grub.config or menu.lst
 
  


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
Changing boot order CornMaster Fedora 13 10-04-2005 10:13 AM
changing the boot order coopns Linux - Newbie 11 09-14-2004 07:20 AM
Changing start order of tasks at boot..? stellarmarine1 Linux - Enterprise 4 08-25-2004 07:20 AM
changing boot order vasu Mandriva 4 08-25-2003 02:24 PM
changing redhat 7.3 boot order CyberSteve Linux - Software 1 04-20-2003 08:14 PM


All times are GMT -5. The time now is 11:52 PM.

Main Menu
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