-   Slackware (
-   -   How do I keep the kernels separate? (

Wolfy 10-22-2004 01:48 AM

How do I keep the kernels separate?
Hey all,
It's been a long time since my last post here.
I've learned so much that I can do a lot on my own now.:)

My question is,
I want to keep the original kernel, and the new kernel separate.
Basically I want the two kernels to be completely independent of each other.
To compile I use the following format,
#make xconfig
#make bzImage
#make modules
#make modules_install
P.S. thanks to Shilo for this procedure.
If anyone has any thoughts or advice I would appreciate it.

synapse 10-22-2004 02:12 AM


First unpack the kernel, it should unpack to a folder named linux-2.6.x etc
then do a make menuconfig within that folder and make the choices for your system.
once done do as you have stated above.

When you complete this cp .config to the /boot dir and at the same time rename it to config-2.6.x
do the same with system map
and bzimage

cp .config /boot/config-2.6.x
cp System Map /boot/SystemMap-2.6.x
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.x

then do lilo
and you should have two different kernels to boot.

linux 2.4.x
linux 2.6.x


Wolfy 10-22-2004 04:01 AM

Thank you for replying, Synapse.
Will this make the two kernels independent and most importantly bootable?????
Providing of course the new kernel is compiled correctly.
Let me know,

Cedrik 10-22-2004 04:02 AM

I will add that with these naming convention each kernel will use the good system map, eg :

If a is named, vmlinuz-2.6.9 will use it
If a is named, vmlinuz-2.4.26 will use it

Wolfy 10-22-2004 04:30 AM

Thank you Cedrik,
That is the key I was looking for.
I will then proceed with that idea in mind.
Thanks again for everyones help.

All times are GMT -5. The time now is 05:26 AM.