LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-09-2004, 10:01 PM   #1
acrors
Member
 
Registered: Aug 2004
Posts: 72

Rep: Reputation: 15
How to install/create kernel source directory in RH


Pls. help me .....

How to install/create kernel source directory ....
 
Old 08-09-2004, 10:22 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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.
 
Old 08-09-2004, 11:00 PM   #3
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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

Last edited by ppuru; 08-09-2004 at 11:04 PM.
 
Old 08-09-2004, 11:41 PM   #4
acrors
Member
 
Registered: Aug 2004
Posts: 72

Original Poster
Rep: Reputation: 15
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
 
Old 08-10-2004, 03:37 AM   #5
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

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


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
Create a directory & install from konsole? suse2166 Linux - Software 2 12-26-2004 03:38 PM
Create Install Source Buelldozer SUSE / openSUSE 3 11-16-2004 12:58 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM
mozilla 1.7 cant create directory on install AnimaSola Linux - Software 4 06-26-2004 01:52 AM
where is my kernel source directory? Veivann Linux - Newbie 3 02-19-2004 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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

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