I dual-boot between windows and Linux, below is a portion of my lilo.conf file.
boot=/dev/hda # this instructs lilo to install to the mbr
default=linux # default OS, if no user intervention
prompt # shows the boot: prompt to allow user to select OS
timeout=100 # miliseconds before default OS is loaded
image=/boot/vmlinuz # location of kernel
root=/dev/hda5 # location of / partition
append=" hdc=ide-scsi hdd=ide-floppy " # sets up CDRW and Zip
read-only # mounts / in ro mode during boot up
other=/dev/hda1 # location of windows C: drive
label=windows # label shown at prompt, may have to hit TAB to make it visible
I'm not sure if RH6.2 sets this up for you during the install, if not you'll have to edit /etc/lilo.conf by hand and then re-install lilo. To edit lilo.conf, as root just enter:
from a terminal. When that is complete install lilo by entering the command:
That should install lilo to the MBR and you should be able to boot to either windows or linux. When you get the boot prompt you should be presented with the choice to either boot windows or linux, if you do nothing linux will boot automatically, if you want windows, just type windows at the prompt and hit enter. Once you strike a key the countdown will stop.
Hope this helps.