[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lilo and 2 diff distribs



On Sun, 22 Sep 2002 the mental interface of 
messmate told:

> Hello all,
> I readed some doc about to setup lilo but didn't find 
> anything to boot 2 different linux distributions from the MBR as for 
> exemple a redhat and a debian distrib.
> So how can I do that ?

i.e 

##########################/etc/lilo.conf###########################

#LILO global section
boot=/dev/hda              #mbr of first ide-device
compact
#lba32
install = /boot/boot.b
map = /boot/map
timeout = 100
prompt

# End LILO global section
#
image = /boot/Debian/vmlinuz-2.4.19 # Whereever the db kernel is
  root = /dev/hda6            #The Partition where your deb root is
  label = DEBIAN-2.4.19
  read-only
  initrd = /boot/initrd.img-2.4.19  # Only if needed!
  vga = 791                         # Did you compiled framebuffer
                                    # support in your kernel?
#
image = /boot/ReadHat/vmlinuz-2.4.18   # Whereever the RH-kernel is
  root = /dev/hda1            #The partition where your RH-root is
  label = RH-2.4.18
  read-only
  vga = normal                # Without framebuffer at vt

##########################/etc/lilo.conf###########################

Try also man lilo.conf. You can also try grub as your bootmanager!

HTH

Elimar


-- 
  Excellent day for drinking heavily. 
  Spike the office water cooler;-)

Attachment: pgpaq26F1UMKN.pgp
Description: PGP signature


Reply to: