help dual-boot CentOS 5/ WinXP
I installed WinXP on a spare hd by temporarily disconnecting hd0 and connecting hd1 in its place. It installed and booted, and then I was ready to switch back to CentOS 5 on hd0 and WinXP on hd1.
I reconnected hd0 as primary, /dev/hda, and hd1 as /dev/hdc. I added an entry to grub.conf to boot WinXP 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/hdc1
# initrd /initrd-version.img
title CentOS 5 (2.6.18-8.1.15.el5)
kernel /vmlinuz-2.6.18-8.1.15.el5 ro root=/dev/hda3 rhgb quiet
title CentOS 5 (126.96.36.199-al)
kernel /vmlinuz-188.8.131.52-al ro root=/dev/hda3 rhgb quiet
title Windows XP Home Edition
This much is correct, I think. Now, I'm pretty sure I need to edit the boot.ini file to account for the change from windows thinking it is mounted on hd0 to actually being mounted on hd1. This is the current boot.ini;
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
C:\ = "Unidentified operating system on drive C."
I'm not sure how this needs to be modified. Also, I'm mystified by the last line, C:\ = "Unidentified operating system on drive C.". When the only hd connected was hd1 in the hd0 spot, WinXP booted and ran just fine, with no errors. So, I don't know if I need to be concerned about this or not. But, until I get the necessary editing done to at least get it to start to boot, I won't know about this last line.
So, first things first. Does anyone know how this boot.ini file should be modified? Thanks for any help.