LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-03-2003, 03:19 PM   #1
orca
LQ Newbie
 
Registered: Mar 2003
Location: Rio de Janeiro, Brazil
Distribution: Debian
Posts: 20

Rep: Reputation: 0
kernel recompilation: /usr/src/linux


I was reading some directions for kernel recompilation and it seems there should be a directory called /usr/src/linux on Mandrake 9.0 particularly, but, alas, in my installation there is no such a directory (???). So how can I proceed to run make xonfig or menuconfig or the like here??
 
Old 03-03-2003, 03:37 PM   #2
nouse66
Member
 
Registered: Feb 2003
Location: O.C., CA
Distribution: Kubuntu
Posts: 70

Rep: Reputation: 15
what directories DO you have in /usr/src? /usr/src/linux is usually (maybe always?) a sym link to a directory in /usr/src with the full name of the kernel i.e. /usr/src/linux-2.4.20
 
Old 03-03-2003, 03:47 PM   #3
orca
LQ Newbie
 
Registered: Mar 2003
Location: Rio de Janeiro, Brazil
Distribution: Debian
Posts: 20

Original Poster
Rep: Reputation: 0
Hi,

The one and only directory I have under /usr/src is RPM and then under it I have: BUILD, RPMS, SOURCES, SPECS and SRPMS, all of them empty, except RPMS, which has several empty other directories, and that's all...
Weird, isn't it??
 
Old 03-03-2003, 04:36 PM   #4
nouse66
Member
 
Registered: Feb 2003
Location: O.C., CA
Distribution: Kubuntu
Posts: 70

Rep: Reputation: 15
i think that just means that you dont have kernel source installed. you can install it via rpm from mandrake or get it from www.kernel.org.
 
Old 03-03-2003, 07:36 PM   #5
jgr220
Member
 
Registered: Feb 2003
Distribution: mandrake9.0
Posts: 100

Rep: Reputation: 15
Or from disk #3
 
Old 03-04-2003, 08:53 AM   #6
viciousfish
Member
 
Registered: Jun 2002
Location: UK
Distribution: Debian Sarge, Gentoo
Posts: 70

Rep: Reputation: 15
Yes, installing Mandrake's kernel source creates that directory.
 
  


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
kernel compile - no /usr/src/linux dir epoo Linux - General 2 02-18-2004 09:33 PM
Kernel Compiling not possible, Directory /usr/src/linux-2.4 isn't there rover Linux - Software 4 09-24-2003 08:05 AM
Building new kernel in /usr/src/linux is WRONG? jisse Linux - Software 3 09-14-2003 04:57 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM
no kernel in usr/src/Linux elite Linux - General 11 10-28-2002 05:10 AM

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

All times are GMT -5. The time now is 10:48 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