sudo gedit /boot/grub/menu.lst
This will open the grub configuration file
Find the line “default 0″
Change the numerical value from 0 to 1 less than the XP position in the list
(If XP is in the 3rd position change the value to 2 if it’s the 7th item change it to 6).
Yes. Edit the file /boot/grub/menu.lst (or /boot/grub/grub.conf in some distros but I beleive it’s menu.lst in Ubuntu).
First, change the timeout number to a reasonable one. It says timeout (big space) 3. Up it to 10 or 15 or something.
The second thing is this: check the list of OSes. It sounds like Windows is the second on the list. Don’t change it. Just go up to the top and you will find 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’.
# WARNING: If you are using dmraid do not change this entry to ’saved’ or your
# array will desync and will not let you boot your system.
default 0
If you have Ubuntu top of your list, and Windows directly underneath, then set default to 1. This will make Windows boot by default, not Ubuntu, or should.
The pound signs (#) are comment lines — they aren’t executed they are just there to document them.
You generally edit by opening a text editor. In this case, if you have gedit installed hit alt-f2 and you will get the run menu and type “gksudo gedit /boot/grub/menu.lst” or open a terminal and type “sudo gedit /boot/grub/menu.lst”.
Also, read the documentation which on most distros (I’ve never checked it on Ubuntu) is accessed by typing “info grub” in the terminal.
By zbalat, November 15, 2008 @ 8:19 am
Yep. Open terminal
sudo gedit /boot/grub/menu.lst
This will open the grub configuration file
Find the line “default 0″
Change the numerical value from 0 to 1 less than the XP position in the list
(If XP is in the 3rd position change the value to 2 if it’s the 7th item change it to 6).
Exit and reboot.
By jplatt39, November 18, 2008 @ 6:26 am
Yes. Edit the file /boot/grub/menu.lst (or /boot/grub/grub.conf in some distros but I beleive it’s menu.lst in Ubuntu).
First, change the timeout number to a reasonable one. It says timeout (big space) 3. Up it to 10 or 15 or something.
The second thing is this: check the list of OSes. It sounds like Windows is the second on the list. Don’t change it. Just go up to the top and you will find 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’.
# WARNING: If you are using dmraid do not change this entry to ’saved’ or your
# array will desync and will not let you boot your system.
default 0
If you have Ubuntu top of your list, and Windows directly underneath, then set default to 1. This will make Windows boot by default, not Ubuntu, or should.
The pound signs (#) are comment lines — they aren’t executed they are just there to document them.
You generally edit by opening a text editor. In this case, if you have gedit installed hit alt-f2 and you will get the run menu and type “gksudo gedit /boot/grub/menu.lst” or open a terminal and type “sudo gedit /boot/grub/menu.lst”.
Also, read the documentation which on most distros (I’ve never checked it on Ubuntu) is accessed by typing “info grub” in the terminal.
By LUG, November 19, 2008 @ 12:44 pm
Here is a detailed tutorial on changing the Boot order
Reference is made to XP but same should apply if you are running Vista.
LUG.