On Mon, 14 Jun 1999 21:59:30 +0200 (CEST), Bruno Goncalves Russo
<[EMAIL PROTECTED]> wrote:

[Two Linux partitions]

>This is exactly what I want to do. I just tried to do it, but wasn't
>totally successful because I didn't configure lilo correctly.
>I was using the unstable version and when I tried to switch back to
>stable, lilo loaded the incorrect kernel and some things didn't work
>because of that. How should I configure it in this case?

  It's advisable to set up LILO on both partitions. Use the LILO on the
stable partition (I'm assuming /dev/hda1) for the boot menu. E.g.:

boot=/dev/hda
root=/dev/hda1
delay=50

image=/vmlinuz
label=Stable
read-only

other=/dev/hda2
label=Unstable

  (Note: this probably isn't a full working configuration, this is just
to give you an idea.) Then, in the unstable Debian (I'm assuming
/dev/hda2), configure LILO to boot from the bootsector of it's own
partition:

boot=/dev/hda2
root=/dev/hda2
delay=0

image=/vmlinuz
label=Stable
read-only

  The advantage of this setup is that if you recompile your kernel on
your unstable partition, all you have to do is rerun LILO (which
make-kpkg will do for you) to keep things working (the same goes for the
stable partition, of course).

  HTH,
  Gertjan.

-- 
Gertjan Klein <[EMAIL PROTECTED]>
The Boot Control home page: http://www.xs4all.nl/~gklein/bcpage.html

Reply via email to