Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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 2.2.19 is for a small PC-embedded with sort of 'hand-made' aplication I have here, and about the knoppix it's that I really don't use this other computer that much
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" under 2.2.19 it's one of my main options although I'll try some others
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.