HD Install :: Lilo Conf Edit



In order to add another linux boot to lilo, you first have to have that hda mounted to your redhat system.
Say you create a mnt point like /mnt/dsl
then you would add the stanza:

image = /mnt/dsl/boot/vmlinuz
 root = /dev/hda2
 label = DSL
 initrd = /mnt/dsl/boot/initrd
 read-only

you may not need the initrd line.
By default I create mount points for all my distro's read only, with fstab entries also, in case I want to compare scripts etc.
Lilo needs to know where to look for the boot files to build the record it writes to mbr.
It can get complicated, I have 4 os's on one laptop, and have to go thru that everytime I add a distro.


original here.