Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to compile the Redhat 2.4.20-8 kernel

Status
Not open for further replies.

PIPIL

MIS
Jul 15, 2003
57
US
here is what Im doing:
First I'm new in linux, I would like to setup Freeswan but in order to do this I need to compile the kernel. I've been reading sites that only refers to upgrading the kernel but not how to compile the current kernel, I don't want to upgrade I just need to make some changes to it and compile it.
I have redhat 9(srike) kernel 2.4.20-8, I tried to compile it but I don't know where to start. normally have to go to:
cd /usr/src/linux but there is not any linux folder there to change to. can somebody help me with this? or just refer me to the right place to do this.

thanks.
 
For a start have you installed the kernel-source RPM? Try rpm -qa |grep kernel to find out. If not install it from the RH cds or rpmfind.net
 
thanks for your reply.
Well,I have not install the kernel, the kernel is just the way it came when I installed redhat. I'm assuming that is an rpm install.

thanks.
 
what ianicr means is have you installed the kernel-source?

The actual kernel cannot be modified while working, therefore you install the kernel-source, modify that as you want then install it and make it your system kernel.

Now in the CDroms you find a package called kernel-sourcexxx.xx.rpm, install that one and then you will be able to run menuconfig to create a new kernel.


Bye


Qatqat

Life is what happens when you are making other plans.
 
Thanks a lot QatQat, now I understand why I see no tutorials to do it this way, I appreciate you have taken time to help me with this.

thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top