Compiling other kernels
hi,
I'd like to compile a kernel 2.2.19 for some programs of a PC-embedded I have. Now my question is if I compile it normally will it overwrite or affect the kernel 2.4.27 I'm actually using? Is there a way to compile another kernel and other programs for a kernel that is not the one u are using? I think I saw in the GRUB (or LILO) screen something about using another kernel, but don't know how to do that. I'm using a Debian (Knoppix) distro thanks in advance Jordi Vendrell |
If you just want to compile the kernel, google for 'Linux Kernel HOWTO'. It will help a lot.
After compiling, you will have to install the kernel and modules, also make sure to use proper version of gcc when compiling. You can find that info in the readme's or release notes. Finally, you will have to add your kernel in /boot/menu.lst (for grub) so that you can choose it at boot time. |
You can have multiple kernels for use, the default behavior when installing a new kernel is to add it to the list, not add it and remove the others.
A major area of concern is why you would want or need 2.2.19. Also, how you have knoppix running 2.4.27. That must be like the first generation of knoppix? The current 2.2 kernel branch is 2.2.26, and 2.4 is 2.4.32. If you are going to do a new kernel, you may as well at least make it the 2.6, which is now 2.6.17. If you have something that has to run on 2.2, it probably was abandoned in favor of better things years ago. It may well be worth your while to check if newer versions of the software you are looking to run exist. Peace, JimBass |
Thanks all for the help
Quote:
|
What app is it running? I'm intetesting in why you chose 2.2, instead of something a bit more modern? is it size of the kernel? Hardware support?
but, you can have as many kerenels as you want. At one time, I had about 5 installed, all for different things. Just dont' delete the other sources or grub entries. |
The App is about data acquisition using the comedi drivers and should work in a PC-Embedded (tiny kernel and tiny space :) )
And since the app "used to work" :rolleyes: under 2.2.19 it's one of my main options although I'll try some others |
Comedi's web-site says it works with 2.6, but I understand using what you know works!
|
All times are GMT -5. The time now is 05:35 PM. |