Welcome to the most active Linux Forum on the web.
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 01-14-2012, 09:48 AM   #1
LQ Newbie
Registered: Oct 2011
Posts: 12

Rep: Reputation: Disabled
Where is my kernel version located under Linux?


the /prov/version command identifies the kernel version that is currently running.

[/] cat /proc/version
Linux version
But,where is that kernel located?

Cause under /usr/src/ folder, there is only a folder named
"linux-" and not "linux-"

Thanks, in advance
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-14-2012, 09:52 AM   #2
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
in /boot usually
2 members found this post helpful.
Old 01-14-2012, 09:53 AM   #3
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
Look in the /usr/src/linux- file

or in kernel config file (CONFIG_LOCALVERSION)

Last edited by Cedrik; 01-14-2012 at 09:55 AM.
1 members found this post helpful.
Old 01-14-2012, 09:59 AM   #4
LQ Newbie
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello and thanks for replying,

it's not in /boot folder.
Then i did:

nano /usr/src/linux-

But it's a huge file, how can i find the path i need?
Is there any keyword in order to search for it and find the location?

Also, i didn't find any file named config


What shall i do next?

Thanks, in advance
Old 01-14-2012, 10:12 AM   #5
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,661
Blog Entries: 56

Rep: Reputation: Disabled
The .config will be in /boot, with the kernel. It's the file used to configure the build/compilation of the kernel. That -ver2 is tagged on to the version number when building (like Cedrik mentioned: localversion).
2 members found this post helpful.
Old 01-14-2012, 10:37 AM   #6
Registered: Dec 2006
Distribution: Debian (Wheeze)
Posts: 391

Rep: Reputation: Disabled
Could a moderator please sticky and close this thread?
Old 01-14-2012, 11:15 AM   #7
Senior Member
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
It's more typical on LQ for you to just mark your thread as 'SOLVED' (there's a link at the top of the page) - that way people know your thread contains a solution, and people can look at the post marked as most helpful if they want to jump to a solution.

EDIT: Sorry, just realised redhead277 wasn't the OP. Um... In that case why do you want this thread closed?

Old 01-15-2012, 08:39 PM   #8
Registered: Mar 2011
Location: Surrey B.C. Canada (Metro Vancouver)
Distribution: Slackware
Posts: 183
Blog Entries: 1

Rep: Reputation: 25
usually ib /boot and it's not usually called Linux but something like vmlinuz
1 members found this post helpful.
Old 02-01-2012, 03:25 PM   #9
LQ Newbie
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Originally Posted by lisle2011 View Post
usually ib /boot and it's not usually called Linux but something like vmlinuz
Thanks, it was in /boot folder and named as "vmlinuz"


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
Problem installing ndiswrapper as the kernel version cannot be located. doublemac Linux - Newbie 6 01-12-2011 09:05 PM
Where are kernel modules located? wessam82 Linux - General 3 05-26-2007 04:33 PM
Where is the linux kernel source code located in mandrake 10? SGFHK321 Linux - Newbie 6 07-12-2004 11:52 PM
Where are sndconfig and isapnp tools located in RHEL3 (ws) kernel version 2.4.21-4 ( k_c_kumar Red Hat 8 02-04-2004 12:57 PM
where should kernel be located killer_bunny Linux - Newbie 14 12-21-2003 07:10 PM > Forums > Linux Forums > Linux - Newbie

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