Tech Support Forum banner

Help Configuring Grub [a second question]

1181 Views 8 Replies 3 Participants Last post by  Aeuzent
as you may have seen in my previous post i asked how to take out old Kernel entries, and have taken care of that, now i have another question, in grub.conf i have WinXP Pro as an entry at the bottom with FC3 default boot after 3 seconds, if i want to boot into WinXP i need to choose that before FC3 boots up, seeing as how i play WoW very often in small increments of time i need to keep restarting the comp if i shut it down, and or if i am using programs only available for Windows i.e. games, which cannot be used in Wine, i moved the WinXP Pro entry from the bottom of the grub.conf entry to the top above the FC3 entry, the default boot is set to one, which i ignorantly assume is the first entry, or as in the case of refering to the windows registry or hex values that means yes or as i thought at one point it could have meant the second entry, but it always booted into the first so that ruled that out. i restarted and yet it still chose FC3 over WinXP Pro entry. could someone explain how i can go about editing to choose WinXP first as default boot.? i know sad isn't it? but if Wine was capable of playing WoW i would be using FC3 for everything, other times i am in FC3 really.

thanks again

norin
Status
Not open for further replies.
1 - 9 of 9 Posts
Not absolutly sure,but I think you need to run Make Config after
configuration changes.
Another way is to reinstall grub after changes.
if i need to make a new config how can i go about that.
Usually,you open a terminal window like bash and CD to the directory
that the config file is located,then type in makeconfig and hit enter.
ok, i can do that but once i make a config file will it just use the current config? or will i have to edit it? basically if i can edit my current config without making a new one, how can i edit it to use the WinXP Pro entry as the default entry to boot into rather than FC3
leroys1000 said:
Not absolutly sure,but I think you need to run Make Config after
configuration changes.
Another way is to reinstall grub after changes.
That's silly

All you need to do is edit one single line. Somewhere in the config file there is a number code that tells Grub which entry is the default boot. It counts down from the top so just figure out which one is XP and set it for that. The script varries from distro to distro so I'd need to see your Grub config file to tell you exactally what to change.
Yeah,I'm silly.
Here it is:

Looks like you need to set it to 0 instead of 1.

GRUB Configuration
Grub's configuration and system files are usually stored in /boot/grub. Many of these files we will not be important to us. We will focus on menu.lst (that's a lower-case "L" and not a "1").
menu.lst is the file which defines the boot menu and options. In the UNIX tradition, lines beginning with '#' are ignored and many lines are in an 'option = value' format. The file begins with a few optional global settings:


# By default, boot the first entry.
default 0

The first entry (here, counting starts with number zero, not one!) will be the default choice.


# Boot automatically after 30 secs.
timeout 30

As the comment says, GRUB will boot automatically in 30 seconds, unless interrupted with a keypress.


# Fallback to the second entry.
fallback 1

If, for any reason, the default entry doesn't work, fall back to the second one (this is rarely used, for obvious reasons).
See less See more
yes current'y it is set to 1 so i will set it to 0 and see if that works thanks for the help.
norin said:
yes current'y it is set to 1 so i will set it to 0 and see if that works thanks for the help.
That's assuming that XP comes first
The script is gennerated by the Annaconda installer so who knows.
1 - 9 of 9 Posts
Status
Not open for further replies.
Top