LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2008, 04:32 PM   #1
jordanguyoflove
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 0
Linux kernel in my system


Hi,

I have to have the source code for the mandriva.

My version is 2.6.22.9-laptop-1mdv.

When I open the software management program.
I find that I have it on my hard drive( the kernel).

Not to mention that there is like a couple of dozen of kernel that you can download which are the same version.

Anyway, how do i find it.
What's the name of the dir or file of kernel?
Is it many files?

It's supposed to be in /usr/src/linux but i don't have that directory.


Thanks

Last edited by jordanguyoflove; 10-21-2008 at 04:40 PM.
 
Old 10-21-2008, 04:38 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Are you looking for the kernel executable file or for the source code?

The kernel is in /boot, and is typically named "vmlinuz....."

The source code is normally in /usr/src
 
Old 10-21-2008, 04:52 PM   #3
jordanguyoflove
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I have to compile the kernel,
and i have been told that it is in: /usr/src/linux.


But I don't have that directory.

thanks
 
Old 10-21-2008, 05:03 PM   #4
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Have you installed the kernel source code?
 
Old 10-21-2008, 07:04 PM   #5
henry_shadowjet
Member
 
Registered: Oct 2006
Posts: 55

Rep: Reputation: 15
Hi there,

I'm not sure we're on the same page here. If you have compiled the kernel, then you would have known where you compiled it from (the location of the source code)?? :\

Anyway, back as pixellany is saying, the executable for kernel file, is typically within the /boot folder. There you should find an ELF file like bzImage.. or vmlinuz...

Typically, the source code for kernels should be placed in /usr/src/kernels. But as you said, if it's not there, then it's somewhere else. If you compiled it, makes more sense that you know where you compiled it from.

Good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
minimal system to run ddd 3.3.1 on a 2.4.18 linux kernel powah Linux - Software 0 01-22-2007 04:32 PM
Need to compile a Linux kernel so that it can use the FATX file system... Nebetsu Linux - Software 9 04-18-2005 12:10 PM
Linux System not booting from new kernel pal Linux - Newbie 2 12-15-2004 07:41 PM


All times are GMT -5. The time now is 01:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration