LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Multiple kernels, one partition -- possible? (https://www.linuxquestions.org/questions/linux-newbie-8/multiple-kernels-one-partition-possible-112815/)

Tino27 11-05-2003 04:57 PM

Multiple kernels, one partition -- possible?
 
I currently have SuSE 8.2 successfully installed (kernel 2.4.20-4GB) on my Inspiron 8200. Over the last 3 months or so I've managed to figure out how to get 95% of my cards, gadgets, and other electronic do-dads to work correctly. Unfortunately, one thing that isn't implemented completely is ACPI (as we are all painfully aware). I started playing around with the idea of updating my kernel to the latest test kernet (2.6.0-test9) -- not only to get ACPI, but also just to figure out how to install a new kernel. I've managed to download the new kernel source, configure it, compile it and actually install it. I even managed to upgrade GRUB so that I can boot off of the old kernel image or the new one. However, there are many things that do not work when I boot up into 2.6.0-test9.

Now my question: While everything using the old kernel still works, I am concerned that if I start tweaking files (such as the X11 files and the nVIDIA drivers) to work with the new kernel, things will stop working when I boot using my old kernel. Is it possible to have multiple kernels co-exist on the same partition or would the best avenue for me to take is to set up a brand new partition so that each kernel can have it's own copy of the files necessary to run X, KDE, etc.

I guess the problem lies in:

1) I want to make sure I have a working laptop so that I can continue to use it for e-mail, surfing, documents, etc.

2) I don't want to have unnecessary duplication of files if I can help it

3) I want to have the freedom of working on getting the new 2.6.0-test9 kernel working correctly before I stop using the 2.4.20-4GB kernel.

Any suggestions?

TIA!

Coproscefalo 11-05-2003 05:14 PM

Maybe the problem you have is that the needed modules are not compiled or they are not loading, the new kernel 2.6.x read the module configuration from modprobe.conf and not from modules.conf.
Besides of the new kernel, you will also need the latest version of the module-init-tools, which i think it is 0.9.14, you can get em from

here.

read the instruction on how to set em up and you will be fine.
Also you need to tweak a bit the mkinitrd script from SuSE, i can provide the modified one i have so the initrd image is creaded properly.

Tinkster 11-05-2003 05:14 PM

Just go for it mate :)

All you need to do is give them different names,
and use them accordingly from lilo, and don't
copy all the sources into the same directory :)

Make sure that you have sensible version
number in each kernels Makefile, like
Code:

VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 21
EXTRAVERSION = sf-acpi

That way all modules will live in separate,
appropriate subdirectories of /lib/modules

Cheers,
Tink


All times are GMT -5. The time now is 08:42 AM.