Saturday, December 11, 2010

To set the Windows-XP as default booter when we use both XP and Ubuntu.

When we install both Ubuntu and XP in our system.It'll herritate us by going into Ubuntu when we reboot the system.
So to overcome from this,we have to set XP as default O.S..To do this,we have to change a small setting in Ubuntu.

Type this command in command line:

sudo gedit /boot/grub/menu.lst

(search where grub folder located).If you don't have gedit(notepad) in Kubuntu.To install the gedit type this command in terminal:

sudo kate /boot/grub/menu.lst

Then press Enter.One text document opens when we press Enter.In that document these lines will be located:

## 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

When we reboot the system,have to see at which line XP placed along with Ubuntu.Next we have to paste the XP Number in last line(default 0) in document means We should Enter the XP number that we we have seen when the system booting,instead of "0".Later save the the doucument and close it and restart the system.

Naturally Kubuntu and Ubuntu has booting number "6".So we have to Enter "6"instead of "0"in the document last line.i.e.default 6 in last line of document.