LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-17-2001, 08:44 AM   #1
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
Question Compiling new kernel with Redhat 7.1


Hello

I have read a dozen of how to's but they al say if you want to compile your kernel you go to /usr/src/ and there is the symlink linux .

Well i have installed RedHat 7.1 But no such file or directory

Can any body tell me how to compile kernel 2.4.12 on redhat 7.1 and please tell me what to do with the file modutils

I am a newby (8 months of linux ) so be gentle


Thanks ..
 
Old 10-17-2001, 11:06 AM   #2
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
I don't think RH7.1 automatically installs the kernel sources, 7.0 certainly doesn't, I had to specifically install them. Do you have a usr/src/ and is there anything in it??

Jim
 
Old 10-17-2001, 11:12 AM   #3
Infamous Tim
Member
 
Registered: Mar 2001
Location: Under a Rock
Distribution: Slackware 8.0 with KDE 3.0
Posts: 47

Rep: Reputation: 15
before any kind of kernel re-do, you should always check your packages to make sure you can do it. Otherwise, you may have to go out and find the CD you installed from. Or, if you're like me, and you borrowed the CD, then you'll have to find a copy of the RPMs online. They've got them stashed away somewhere, I dunno though. Just go out and download the newest kernel and use that instead.
 
Old 10-17-2001, 11:17 AM   #4
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Original Poster
Rep: Reputation: 15
I just want them to compile from source


linux-2.4.12.tar.gz and modutils-2.4.10.tar.bz2 are the files needed (As far as i know)

But in the dir /usr/src is only the dir redhat ???

Must be Redhat specific i guess
 
Old 10-17-2001, 04:18 PM   #5
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
no... it's not redhat specific.

those should be the only files you'll need... i think. the only other package that comes to mind is the ppp - if you're upgrading from a 2.2 kernel, you'll probably need to update the ppp also. if you're upgrading from a lower 2.4, then it should be fine.

anyway, it sounds like you just didn't install the sources. not a problem. just untar the linux-2.4.12 into your /usr/src directory. this should give you a directory called /usr/src/linux-2.4.12 ...now make a symlink using:

ln -s linux-2.4.12 linux

this will create the symbolic /usr/src/linux directory, which will just point to the 2.4.12 sources. if you ever upgrade your kernel again, you don't need to get rid of the old sources, just change the symlink.
 
Old 10-18-2001, 02:31 AM   #6
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Original Poster
Rep: Reputation: 15
Ok i get the picture with linux 2.4.12.tar.gz



But what about the file modutils-2.4.10

And i guess it is not possible to do a make oldconfig?

Because i don't have the appropiate .confige file.


Thanks all for your time

Exuce my bad english




Red Hat 7.1
Kernel 2.4.2-2
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem compiling kernel 2.6 on RedHat Ninja_212 Red Hat 210 07-17-2004 01:49 AM
Problems compiling 2.6.x kernel on RedHat 8.0 africantiger Linux - Newbie 0 07-13-2004 09:42 PM
RedHat kernel compiling tarballedtux Linux - General 3 05-23-2002 06:56 AM
Help on Compiling the Linux Kernel FOR Redhat 7.2! Alinuxnoob Linux - Software 4 02-21-2002 11:51 PM
Redhat 7.2: Kernel Compiling wildbillm Linux - General 3 11-10-2001 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:50 PM.

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