LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel source missing (https://www.linuxquestions.org/questions/linux-general-1/kernel-source-missing-152498/)

nedian 03-02-2004 03:13 AM

kernel source missing
 
hi
iam using red hat linux 9, i want to recompile the kernel, for which i need to backup my existing kernels source code, which i cant find in /usr/scr directory, its empty. can anybody tell my where its gone , if the loc is correct tell me how to get soiurce again, n if its wrong then what is the correct path.
thanX in advance

motub 03-02-2004 03:26 AM

The path is correct. You simply don't have the kernel-source installed (some distributions don't install it by default). Fire up up2date or yum or whatever you might use to install software and locate the kernel source package for your currently-running kernel (type "uname -r" in a terminal window to find out what kernel you're running).

Once installed, you will be able to recompile the kernel (you don't need to "back up" the source, as you now know that you can get it again if you need it-- at most you might want to back up the package).

Hope this helps.


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