Grub bootloader - Help!!

This is a discussion about Grub bootloader - Help!! in the Everything Linux category; 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 1800 This topic was started by , . Last reply 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 in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jun 11
Created
Jul 15
Last Response
0
Likes
1 minute
Read Time
User User User
Users

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