Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Linux kernel in my system


I have to have the source code for the mandriva.

My version is

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.


Last edited by jordanguyoflove; 10-21-2008 at 04:40 PM.
Old 10-21-2008, 04:38 PM   #2
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
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.

Old 10-21-2008, 05:03 PM   #4
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
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration