Hi, I have a Gateway pc with a single sata hard drive. It has three partitions, c:, d: and e:.
Partition c: has windows xp media center edition installed on it and uses NTFS.
Partitions d: and e: are not used.
I then installed enterprise linux CentOS version 5 onto the E partition.
I would like to be able to boot into linux or windows. Booting into linux is OK, but booting into windows has a problem.
When I pressed a key during boot up, grub allowed me to select the "Other" option (for windows?)
title Other
rootnoverify (hd0,1)
chainloader +1
which is the last entry in grub.conf.
When I selected the "Other" option, the error msg says:
Insert Recovery DVD 1 into the CD drive.
I do not have the Recovery DVD 1 (this is a used PC, running on windows xp media center edition), so I tried the windows xp professional cd, but it was rejected.
So,
1) How do I make the pc boot into windows or linux as needed?
2) If (1) is not possible, how do I retrieve the lost data from partition c:, as my pc only has cable connection for only one sata drive and linux does not see the c: partition at all when I boot into linux.
3) If I use partition magic to wipe out partition e: where linux is installed, will I be able to boot into windows xp then?
Thank you for your input.
cat grub.conf:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-164.el5xen)
root (hd0,5)
kernel /xen.gz-2.6.18-164.el5
module
/vmlinuz-2.6.18-164.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module
/initrd-2.6.18-164.el5xen.img title CentOS-base
(2.6.18-164.el5)
root (hd0,5)
kernel /vmlinuz-2.6.18-164.el5 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd
/initrd-2.6.18-164.el5.img
title Other
rootnoverify (hd0,1)
chainloader +1
Partition c: has windows xp media center edition installed on it and uses NTFS.
Partitions d: and e: are not used.
I then installed enterprise linux CentOS version 5 onto the E partition.
I would like to be able to boot into linux or windows. Booting into linux is OK, but booting into windows has a problem.
When I pressed a key during boot up, grub allowed me to select the "Other" option (for windows?)
title Other
rootnoverify (hd0,1)
chainloader +1
which is the last entry in grub.conf.
When I selected the "Other" option, the error msg says:
Insert Recovery DVD 1 into the CD drive.
I do not have the Recovery DVD 1 (this is a used PC, running on windows xp media center edition), so I tried the windows xp professional cd, but it was rejected.
So,
1) How do I make the pc boot into windows or linux as needed?
2) If (1) is not possible, how do I retrieve the lost data from partition c:, as my pc only has cable connection for only one sata drive and linux does not see the c: partition at all when I boot into linux.
3) If I use partition magic to wipe out partition e: where linux is installed, will I be able to boot into windows xp then?
Thank you for your input.
cat grub.conf:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-164.el5xen)
root (hd0,5)
kernel /xen.gz-2.6.18-164.el5
module
/vmlinuz-2.6.18-164.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module
/initrd-2.6.18-164.el5xen.img title CentOS-base
(2.6.18-164.el5)
root (hd0,5)
kernel /vmlinuz-2.6.18-164.el5 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd
/initrd-2.6.18-164.el5.img
title Other
rootnoverify (hd0,1)
chainloader +1