Jump to content
Compatible Support Forums
Sign in to follow this  
TheChos3n1

Grub bootloader - Help!!

Recommended Posts

HI,

 

I have Windows XP and Linux RedHat 9.0 on my machine. When i power on the machine i only get Linux RH 9.0 appear in Grub bootloader.

 

How can i add Windows XP to the Boot list?

 

Thank you

 

Anthony

Share this post


Link to post

edit /boot/grub/grub.conf

 

add this

Code:
title=WindowsXProot (hd0,X)        chainloader (hd0,X)+1

 

X being the partition.

 

The most critical part of understanding GRUB is getting comfortable with how GRUB refers to harddrives and partitions. Your Linux partition /dev/hda1 is called (hd0,0) under GRUB.

Harddrives count from zero rather than "a" and partitions start at zero rather than one.

For example:

hda5 in grub is (hd0,4)

hdb2 in grub is (hd1,1)

Share this post


Link to post

Greetings,

 

Before you make any permanent changes within your bootloader's conf file you can try :

 

su root|grub|reboot

 

when grub appears you ( with all you've heard before from the other guy)

 

root (hd0,x)

setup(hd0,x)

*kernel=/boot/vmlinuz

*initrd=/boot/initrd

chainloader (hd0,x)+1 ( or +21 +22 ) and check if you can load windows

 

You know,the manual way

 

Farewell

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×