LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-29-2006, 12:18 PM   #1
bandrei
LQ Newbie
 
Registered: Aug 2005
Posts: 12

Rep: Reputation: 0
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
 
Old 06-29-2006, 01:28 PM   #2
jaideep.dhok
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Rep: Reputation: Disabled
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.
 
Old 06-29-2006, 06:14 PM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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
 
Old 07-03-2006, 07:19 AM   #4
bandrei
LQ Newbie
 
Registered: Aug 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks all for the help

Quote:
Originally Posted by JimBass
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
 
Old 07-03-2006, 02:20 PM   #5
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
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.
 
Old 07-06-2006, 11:33 AM   #6
bandrei
LQ Newbie
 
Registered: Aug 2005
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 07-06-2006, 06:13 PM   #7
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
Comedi's web-site says it works with 2.6, but I understand using what you know works!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
after compiling 2.6.11.7, none of the kernels will boot hubabuba Fedora 1 05-02-2005 11:31 AM
Compiling kernels 2.6.10 aufomechanic Linux - Newbie 2 02-08-2005 08:13 AM
getting/compiling kernels ninmonkeys Linux - General 1 11-06-2004 07:19 PM
compiling kernels for different systems alaios Linux - General 2 11-06-2004 03:48 PM
compiling kernels Doug Hammond Linux - General 4 02-18-2003 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration