grub question changing boot order making windows boot first
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
...
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
...
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
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
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.