Adding OS to GRUB from non-ubuntu HD

Asked by Viknesh

I have 3 hdds on my computer, one with Ubuntu (Studio) and two others with winxp. I wish to use WinXP as my main OS, and so I made the hdd with it the first on the boot list according to the BIOS. However, when I boot, I still get GRUB. Since GRUB is not giving me an option to boot from the XP hdd...Well, just...how do you do it?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

To boot from that disk it needs to be bootable.

In any case, you can boot from it from grub, but you need to modify your /boot/grub/menu.lst file to add an entry for the new disk. This is an example:

title My beloved HDD
root (hd0,0)
savedefault
makeactive
chainloader +1

You need to modify (hd0,0) to match the hd you want to use.
Here is a link to the grub manual if you need an handy reference:

http://www.gnu.org/software/grub/manual/html_node/index.html

Can you help with this problem?

Provide an answer of your own, or ask Viknesh for more information if necessary.

To post a message you must log in.