Problems with installing two Linux's - 'setup' and 'lilo'

Problems with installing two Linux's - 'setup' and 'lilo'

Post by kris.. » Mon, 06 May 1996 04:00:00



Hi,

I am trying to install two Linux distributions on two partitions of the same disk.
The idea is to install the new Slakware 3.0 ELF  and check it out before
discarding the old one. The problem is that I cannot really follow the logic
behind the 'setup' utility and 'lilo' program. The questions are:

  1. The 'setup' utility when run in my current Linux does not behave the
       same when run originally after installing with the original boot and root
       disks. Its 'TARGET' option does not ask for partition at all.  I have
       created two 'Linux Native' partitions (code 83) and the 'setup' does not
       display them. I looked into the script for 'setup'.  It seems to look for
       these partitions  but it  does not do anything with them. It simply
       displays directory / by default and accepts a new directory. No operations
       on partitions. Does it mean that there are two different versions of 'setup'
       utility?  Where is the version which asks for partitions, file system, formating, etc.

  2. The 'lilo'  is weird  too. It asks for partition and puts it as root in /etc/lilo.conf
       but the image file name is not relative  to the specified partition. Instead it
       seems to be relative to  the current partition. For example, when I put
           image=/zImage
             root=/dev/sda3

       lilo complains about missing file /zImage because it cannot find it on /dev/sda3
       partition and instead is looking for the currently installed /dev/sda1 partition.

  3. What is the way to install two independent Linux distributions? With lilo (which I would
      prefer to be on a floppy)?

Chris

 
 
 

Problems with installing two Linux's - 'setup' and 'lilo'

Post by Aart Koelewi » Mon, 06 May 1996 04:00:00



>Hi,
>I am trying to install two Linux distributions on two partitions of the same disk.
>The idea is to install the new Slakware 3.0 ELF  and check it out before
>discarding the old one. The problem is that I cannot really follow the logic
>behind the 'setup' utility and 'lilo' program. The questions are:
>  1. The 'setup' utility when run in my current Linux does not behave the
>       same when run originally after installing with the original boot and root
>       disks. Its 'TARGET' option does not ask for partition at all.  I have
>       created two 'Linux Native' partitions (code 83) and the 'setup' does not
>       display them. I looked into the script for 'setup'.  It seems to look for
>       these partitions  but it  does not do anything with them. It simply
>       displays directory / by default and accepts a new directory. No operations
>       on partitions. Does it mean that there are two different versions of 'setup'
>       utility?  Where is the version which asks for partitions, file system, formating, etc.

When you install your "second" Linux, you will have to act as if no
Linux is installed yet. So, start your computer with the boot and root
floppy, then run setup. It will notice that Linux is already installed
on a partion and will suggest this partition, but you can tell it,
that you want to install on an other partition. Proceed like when
installing Linux from scratch

Quote:>  2. The 'lilo'  is weird  too. It asks for partition and puts it as root in /etc/lilo.conf
>       but the image file name is not relative  to the specified partition. Instead it
>       seems to be relative to  the current partition. For example, when I put
>           image=/zImage
>             root=/dev/sda3
>       lilo complains about missing file /zImage because it cannot find it on /dev/sda3
>       partition and instead is looking for the currently installed /dev/sda1 partition.
>  3. What is the way to install two independent Linux distributions? With lilo (which I would
>      prefer to be on a floppy)?
>Chris

You must have been doiing something wrong, I have no problem at al
starting two different Linuxes with lilo, but from your short
describtion I can't imagine where you went wrong, sorry

Aart

--
Aart Koelewijn                          

Phone : +31-55-5423521