Stephen McManus <step77 at f2s.com> wrote:
> Finally got my install working, Centos didn't recognise my m/board NIC
> so I had to install another NIC. Now, I've lost the windows install. I
> need it for my Walkman and Palm. Never, ever got any distro to see the
> Tunsgsten E. I can see the Win in Grub but it says there's a file
> missing, insert system disk. Where have I seen that before?
> Anyway, how do I get into Grub and what do I need to add to make win
> bootable? Win is on sda2 amd Centos is on sda3 + 5. In the grub folder
> all it says in the system map is (hd0) /dev/sda.
> Nothing else.
> Ta.
>
> Steve.
Working grub.conf for dual boot (CentOS 5 and Windows XP Home):
# 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,2)
# kernel /vmlinuz-version ro root=/dev/hda6
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.1.13.el5)
root (hd0,2)
kernel /vmlinuz-2.6.18-53.1.13.el5 ro root=LABEL=/ rhgb
initrd /initrd-2.6.18-53.1.13.el5.img
title CentOS (2.6.18-53.1.6.el5)
root (hd0,2)
kernel /vmlinuz-2.6.18-53.1.6.el5 ro root=LABEL=/ rhgb
initrd /initrd-2.6.18-53.1.6.el5.img
title Windoze
rootnoverify (hd0,0)
chainloader +1
with the following partition table (both Windoze and Linux on the same
disk):
[dave at spindle ~]# sudo fdisk -l /dev/hda
Disk /dev/hda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/hda2 1276 1530 2048287+ c W95 FAT32 (LBA)
/dev/hda3 1531 1563 265072+ 83 Linux
/dev/hda4 1564 12161 85128435 5 Extended
/dev/hda5 1564 1824 2096451 82 Linux swap / Solaris
/dev/hda6 1825 4435 20972826 83 Linux
/dev/hda7 4436 12161 62059063+ 83 Linux
Cheers,
Dave
--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce