Grub bootloader - Help!!

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.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar03.webp

2 Posts
Location -
Joined 2003-06-11
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

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar02.webp

169 Posts
Location -
Joined 2003-03-02
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)

data/avatar/default/avatar06.webp

122 Posts
Location -
Joined 2001-10-22
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