[Tfug] Dual boot linuxs

Paul Scott tfug@tfug.org
Mon Jun 3 21:53:01 2002


Keith Smith wrote:
> Hi it is me again.
> 
> I've loaded Win2000 in hda1 & hda5
> hda6 is swap
> /home is hda7
> hda8 is / for Debian
> hda9 is / for Mandrake
> Both will boot however I cannot figure out how to reference both in
> one lilo.conf.
> 
> What I did was install Mandrake to dual boot with win2000 and it did.
> 
> Then I installed Debian and got it to dual boot with Win2000.  I could
> not boot into Mandrake.
> 
> I rescued into mandrake and ran lilo and can dual boot win/mandrake.
> 
> When I mod lilo.config on either side I can not get it to recognize
> the other Linux.

You have to make a choice as to which lilo.conf is going to generate 
your boot configuration.  That may not be exactly true but I don't think 
the variations are worth it.  Your two lilo.conf's were probably 
fighting each other.

Here are relevant lines from my /etc/lilo.conf that defaults to the 2.4 
kernel Debian Linux and gives me a choice of the 2.4 kernel, the 2.2 
kernel, memtest and Windows 2000.

#This line writes a new MBR on /dev/hda
boot=/dev/hda

# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hdb2


default=Linux2.4

image=/vmlinuz
         label=Linux
         read-only

image=/vmlinuznew
         label=Linux2.4
         read-only

image=/vmlinuz.old
         label=LinuxOLD
         read-only
         optional


# Memory test
image = /boot/memtest86.bin
  label = memtest

#Windows 2000
other=/dev/hda1
         label=Windows2000


HTH,

Paul Scott