Well, the install went pretty well, though I did have a hiccup with burning the disks - but that's probably just due to faulty CDs.
CentOS4 runs well and good.
Unfortunately, I've run into a problem with using GRUB.
Basically I'm running on 2 SATA hard disks of 80 GB each, one for Windows XP with 2 partitions, the other for Linux with 3 partitions (/, /home and swap partition).
Windows XP was installed first, followed by CentOS 4.0 (though I did install Mandrake 10.1 previously, but completely removed that install).
My CentOS install was a custom selection, but I did not go further in configuring grub, aside from changing the name of the Windows XP selection, and making Windows XP default.
The symptoms are: when trying to load windows xp, the boot parameters from the grub installation are displayed, and grub hangs.
From what I can remember, the output when grub hangs is:
Booting 'Windows XP'
rootnoverify (hd1,0)
chainloader +1
Here's my grub.conf file, grub having been installed on mbr:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS 4.0 (2.6.9-5.0.3.ELsmp)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-5.0.3.ELsmp ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.9-5.0.3.ELsmp.img
title CentOS 4.0-up (2.6.9-5.0.3.EL)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-5.0.3.EL ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.9-5.0.3.EL.img
title Windows XP
rootnoverify (hd1,0)
chainloader +1
Now, I tried searching for a solution, and the most comprehensive I've seen is one for Fedora Core 2:
Making Fedora Core 2 and Windows play well together.
Unfortunately, I dont seem able to use the preventive measures suggested, and the recovery solution does not seem to work at all.
Does anyone know of a working solution for CentOS4?
Thanks
Oh, in case this it is useful, here's my output from
sfdisk -d /dev/sda
Code:
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start= 63, size= 49158837, Id=83, bootable
/dev/sda2 : start= 49158900, size=104856255, Id=83
/dev/sda3 : start=154015155, size= 2281230, Id=82
/dev/sda4 : start= 0, size= 0, Id= 0