LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel compilation (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-compilation-395100/)

nick021 12-20-2005 10:57 PM

kernel compilation
 
hi there ,

i want to know that is it necessary to download kernel image for kernel compilation??
can't one can compile his current kernel that is installed in his system???

regards:Pengy:

jrdioko 12-21-2005 12:22 AM

It depends if you have the kernel source installed or not. Look in /usr/src, and see if your source is there. If not, you'll have to download it (or install it from a package that came with your distro) and put it there.

prasanta 12-21-2005 06:50 AM

Depends whether you have the sources available with you or not, for the current kernel you are running. If you have them you can go on re-compiling else download.

b0nd 12-21-2005 11:00 PM

Quote:

Originally Posted by nick021
hi there ,

i want to know that is it necessary to download kernel image for kernel compilation??
can't one can compile his current kernel that is installed in his system???

regards:Pengy:

What if you are about to upgrade the kernel from 2.4.x to 2.6.x ???

since you are using Slackware 10.0, so the kernel is 2.4.x. If you like to only compile it then there is no need to download the kernel image if the source is already present in /usr/src.
But if source is not there then download it from www.kernel.org/mirrors
Moreover if you like to upgrade from 2.4.x to 2.6.x then definitely you will have to download it.

regards

kcbanner 12-22-2005 12:20 AM

What distro are you running? I know debian has a really gret kernel compilation system. See aboutdebian[dot]com


All times are GMT -5. The time now is 01:48 PM.