LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How to install/create kernel source directory in RH (https://www.linuxquestions.org/questions/red-hat-31/how-to-install-create-kernel-source-directory-in-rh-215598/)

acrors 08-09-2004 10:01 PM

How to install/create kernel source directory in RH
 
Pls. help me .....

How to install/create kernel source directory ....

ppuru 08-09-2004 10:22 PM

Please detail us with what you intend to do.

If you want to install a current kernel, you need to download it from kernel.org, untar it in /usr/src, and go about compiling it.

If you are planning to install a 2.6 kernel on a system running 2.4 kernel, there are certain things you need to take care of. you will need to download module-init-tools.

ppuru 08-09-2004 11:00 PM

In the light of your other post at

http://www.linuxquestions.org/questi...06#post1099206

Look for the kernel-source rpms. They should be on the RH9 cds. Install the rpm using
Code:

rpm -ivh kernel-source*
Once this is done, change directory to /usr/src. Create a softlink to your kernel directory
Code:

ln -sf /usr/src/linux-2.4.20-xxx linux
You may need to run a make dep from /usr/src/linux-2.4.20-xxx

acrors 08-09-2004 11:41 PM

thank for your help, i will try ....

i should upgrade my rh 9 (v 2.4.20-8) to higher one and i also have to install exabyte exb 8700 tape dive .... both require me start from kernel source directory

ppuru 08-10-2004 03:37 AM

suggest you download the upgraded kernel from RedHat/FedoraLegacy site. The current kernel on RH9 is 2.4.20-31.9.


All times are GMT -5. The time now is 03:51 AM.