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

Re: LILO : 2 linuses on 2 different partitions



On Wed, 2001-10-24 at 14:11, Jan Schlesner wrote:
> On Wed, Oct 24, 2001 at 10:54:53AM -0200, Michel Loos wrote:
> > I would like to be able to boot from lilo 2 different linuxes (debian
> > and Connectiva) each of which is installed in a different partition
> > and uses a 2.4.x kernel.
> >
> > For the moment with the following configuration I have been sort of
> > unsuccesful (It searches the modules in the wrong place)
> >
> > boot=/dev/hda
> > map=/boot/map
> > install=/boot/boot.b
> > prompt
> > timeout=50
> > lba32
> > message=/boot/message
> > image=/boot/vmlinuz-2.4.5-9cl
> >         label=linux
> >         root=/dev/hda1
> >         read-only
> > image=/boot/memtest86
> >         label=memtest
> > image=/boot/vmlinuz
> >         label=debian
> >         root=/dev/hda3
> >         read-only
> >
> > the /boot/vmlinuz for debian should be on /dev/hda3
> 
> Hi,
> 
> try to mount /dev/hda3 on e.g. /mnt and use this lilo.conf
> 
> ...
> image=/mnt/boot/vmlinuz
>         label=debian
>         root=/dev/hda3
>         read-only
> 
> If you have a boot-Partition (for the Debian-System) mount the boot-Partition
> instead of /dev/hda3 an use image=/mnt/vmlinuz.
> 
> I think lilo store the postion of the kernel on the harddisk, not the name.
> 

Thank you very much, it worked just great.

Michel.



Reply to: