Add Windows XP entry to GRUB

This time I am writing this post for those new to Linux environments like me. A few days back, a friend helped me make my Windows XP default operating system when it boots. But it was not done correctly, so I decided to solve the problem. For Adding/ Changing boot option, one has to change the settings in the Menu.lst file in Linux (Mine is Ubuntu 7.10).

For editing the Menu.lst file, you have to enter the command as shown in the following image.


It will ask for an administrator password if you do not have enough privileges. Once you are in that file, you will find an explanation, of how to edit and all that stuff. Lines starting with # indicate that they are comments. Go through the below image how to make an entry of Windows XP in Menu.lst

In your Menu.lst file, you will find option root(hd0,0) or similar. You have to set that option based on your hardware configuration and what partitions Operating Systems are installed. If you cannot see it in the screenshot, you can go through the lines below.

title Windows XP 64 root (hd0,0) savedefault makeactive chainloader +1

It would be better to add the above lines after all the entries of your Linux Operating System (Ubuntu), or you might not be able to set it as default O/S.

If you are Windows User and find it somewhat difficult, you can download one GUI Tool, “StartUp-Manager.” StartUp-Manager, or SUM, is a python-glade GUI tool for configuring some things in Grub and usplash.

To download and install StartUp-Manager, download the DEB package attached to SUM’s official spot on the Ubuntu Forums here. The homepage can be found here.

Here’s the screenshot of it.

I hope this helps!!






Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: