I know there's a ton of info here on dual boots, grub, and lilo, but I've been sifting through it and I'm stumped. I even tried reading the info page on GRUB.
I installed XP (fat32/30gb) first, then RH 7.3 (ext2/30gb), putting GRUB on the first sector of the boot partition. The XP manager took over, not offering a dual boot option. The only way into RH was via boot floppy. I tried copying the bootsect.lin file with command:
# dd if=/dev/hda3 bs=512 count=1 of=/mnt/bootsect.lin
Placing the command in C:\ with the appropriate line in my boot.ini file gave me the option to boot to RH, but choosing the option gave me a blinking cursor. I logged in as root and ran:
# grub-install --root-directory=/boot /dev/hda
This caused the box to boot to a grub> prompt. When running command:
# find /boot/grub/stage1 (or stage2)
both are found on hd0,1. Running
# setup (hd0)
completes successfully, but I still boot to a grub> prompt. At this point I'm considering wiping the drive and starting from scratch. Problem is I've done that a couple times without being any more successful :-/ On my last drive it worked, which is wierd. I've included a bit of information below, just in case it's helpful. Is there anything I can do to enable the grub menu, or any boot-manager menu?
Many thanks for any suggestions you can offer!
Andrew
P.S. Please let me know if I can give other information.
Partition table:
hda1=xp hda2=/boot hda3=/root hda4=extended hda5=swap
Hardware:
WD 80gb IDE, ASUS A7M266 mobo, 256mb ram, geforce2 gtx 32mb, tdk cd-rw, Intel dsl/pro ethernet, Sylvania f92 19" monitor
file:/boot/grub/device.map:
(fd0) /dev/fd0
(hd0) /dev/hda
file:/boot/grub/grub.conf:
# 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,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda2
default=1
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-3)
root (hd0,1)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda3 hdc=ide-scsi
initrd /initrd-2.4.18-3.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1