Different kernels coexisting on the same system..how does it work??

Marc Corel (sponton@microtec.net)
Mon, 12 Oct 1998 23:58:20 +0200


Hello...

Originally, I have redhat 5.0/kernel 2.0.32 on my linux box.
I went downloading kernel 2.0.34 and 2.0.35, did installed them in their
respective directories. That gives me following directories in /usr/src:

-/usr/src/linux
-/usr/src/linux-2.0.32
-/usr/src/linux-2.0.34
-/usr/src/linux-2.0.32
..What I did is to run make config/make dep/make clean/make_modules,
make modules_install in each directory and copied their zImage in
/boot:
- cp /usr/src/li/usr/src/linux-2.0.32/arch/i386/boot/zImage
/boot/vmlinuz-2.0.32
-cp /usr/src/li/usr/src/linux-2.0.34/arch/i386/boot/zImage
/boot/vmlinuz-2.0.34
-cp /usr/src/li/usr/src/linux-2.0.35/arch/i386/boot/zImage
/boot/vmlinuz-2.0.35
Of course I also did:
In /boot: ln -sf vmlinuz-2.0.32 vmlinuz
ln -sf vmlinuz-2.0.34 vmlinuz
ln -sf vmlinuz-2.0.35 vmlinuz
Finally, in /etc/lilo.conf , there are several stanzas of my several
kernels.

I) What I could understand is that whatever kernel I m bootin, there is
a "trusted" kernel (if I can all it that way) and it s the original one
that was installed on my system (kernel 2.0.32)
right???
II) Whatever kernel I m bootin, the config files stay the same...but
this cause a problem:
for ie..on kernel 2.0.32 IP_forwarding was not built in. On kernel
2.0.34 I specifically recompile IP_forwarding in, but there s no
appearent difference between both.

III) Is the way I ve configured my system right (with those 3 kernels)??
To make sure I m bootin the kernel of my choice, I copied the zImage of
ech kernel on a floppy. So I just boot with the right floppy
I

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/