Click to See Complete Forum and Search --> : Ok, another Lilo question


johnmann
05-25-2001, 12:02 AM
Well,I have 2K and SuSE with Lilo in MBR.Both boot fine.I installed Redhat with Lilo in /.So What command should I run to get vmlinuz from RH / to SuSE /boot.Should I move or copy?Does sys.map from RH need to be in SuSE /boot also? SuSE on dev/hde5 and Redhat on dev/hde6.Guess this is what I need to get RH on boot menu.Tired of using a boot floppy.

willk
05-25-2001, 12:14 AM
This is the way I do it:
(I am sure there is a better way...but this works well for me)
make an entry in fstab in SuSe where your RH /boot is like:
/dev/hd* /rh * * * *
then:
mkdir /rh
mount it and make sure you can "see" that directory.

lilo.conf:
add an entry

image = /rh/boot/vmlinuz
root = /dev/hd*
label = RH
read-only

run lilo

you should be good to go

Linuxcool
05-25-2001, 09:40 PM
Willk, couldn't he just add some lines to his lilo.conf file instead of creating a new mount point and editing his fstab file?

I was thinking he could add these lines to his SUSE lilo.conf file:

image = /boot/vmlinuz
label = RH
root = /dev/hde6
read-only


He should also install Red Hat's lilo in Red Hat's boot ' /dev/hde6 ' partition.

[ 25 May 2001: Message edited by: Linuxcool ]

bdl
05-25-2001, 10:34 PM
You've installed RH's LILO in it's own root partition, so just add this stanza to your MBR's lilo.conf file. This way it boots it's own kernel, in a self-contained system.


other=/dev/hde6
label=Redhat


That's it. The MBR LILO will turn control over to /dev/hde6. Luck!

johnmann
05-25-2001, 10:47 PM
Thanks for your help.I managed to get RH up and running with the info all of you gave me.THANKS A BUNCH.