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...




Topic Options
#2032 - 06/11/03 12:21 PM Grub bootloader - Help!!
TheChos3n1 Offline
stranger

Registered: 06/11/03
Posts: 2
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

Top
Advertisement
#2034 - 06/11/03 02:35 PM Re: Grub bootloader - Help!!
blueworm Offline
member

Registered: 03/02/03
Posts: 169
edit /boot/grub/grub.conf

add this
Code:
title=WindowsXP
root (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)

Top
#2038 - 06/11/03 06:16 PM Re: Grub bootloader - Help!!
TheChos3n1 Offline
stranger

Registered: 06/11/03
Posts: 2
Thank you i will give it a try :p

Top
#2319 - 07/15/03 03:57 PM Re: Grub bootloader - Help!!
GhostSong Offline
member

Registered: 10/22/01
Posts: 122
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

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
Carmageddon 2 weird
by Kuikie
12/29/09 04:32 PM
Computer Repair Utility Kit
by gailerl
12/28/09 01:26 PM
x86 OS, RAM, & Virtual Machines
by Myke
12/22/09 08:16 PM
Ram Question
by JohnnyAshes
12/21/09 09:50 PM
NEWBIE needs help with REALTEK
by SerryJW
12/21/09 06:09 AM
Who's Online
0 Registered (), 216 Guests and 52 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91435 Members
24 Forums
59414 Topics
189950 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22