Results 1 to 3 of 3
I have an existing desktop with Windows XP. I have added another hard drive on which i have installed CentOS5. I have updated grub.conf as follows:
# grub.conf generated by ...
- 05-12-2010 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
Dual boot Windows XP and CentOS5
I have an existing desktop with Windows XP. I have added another hard drive on which i have installed CentOS5. I have updated grub.conf as follows:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=20
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title CentOS (2.6.18-164.15.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-164.15.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-164.15.1.el5.img
title CentOS (2.6.18-53.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-53.el5.img
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader +1
the hard drive mapping is : hd0 = hdc = CentOS
hd1 = hda = WindowsXP
I did this as I believe Windows likes to be the first hard drive.
The desktop boots into the grub menu ok but on selecting WindowsXP I get a new screen with:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader +1
and a flashing cursor
I am not sure what to do next. If I remove the new hard drive the machine boots into WindowsXP so the I am not getting to the Windows bootloader from CentOS.
Advise please.
- 05-12-2010 #2
Hi and Welcome !
If GRUB Menu appears at startup, it means Machine is booting up from CentOS Hard disk and Windows OS is Secondary disk.
Edit Windows XP title block in grub.conf
Code:title Windows XP rootnoverify (hd1,0) map (hd0) (hd1) map (hd1) (hd0) chainloader +1
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-12-2010 #3


Reply With Quote

