Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 03-16-2012, 10:30 PM   #1
Registered: Feb 2008
Posts: 45

Rep: Reputation: 0
Question how to identify the kernel I built after install


I recompiled a new kernel and installed it. But there are 3 there already, now I have 4. How can I tell which is the one I installed? This must be a pretty stupid question.

thank you.
Old 03-16-2012, 10:47 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,621

Rep: Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088Reputation: 2088
Yeah, definitely an odd one.
Usually the version will be a give-away, unless you redid the same version you already had. Usually I use an obvious (to me) suffix.

What distro, what doco did you follow - post a link.
Old 03-17-2012, 03:20 AM   #3
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
The version of the source you used for compilation is the only way I can think of, and generally the new kernels get listed first in the grub menu.
Old 03-17-2012, 01:27 PM   #4
Registered: May 2007
Posts: 508

Rep: Reputation: 190Reputation: 190
If it otherwise is hard to distinguish, use the following command to see the date and time of when your booted kernel was built.

$ uname -a

And if it not the kernel you intended, do a listing of where your kernels are installed, i.e.

$ ls -lt /boot

And find the latest one, and trace that file and path to whatever boot loader/kernel name you want to use.

Last edited by the3dfxdude; 03-17-2012 at 01:30 PM.
Old 03-17-2012, 02:21 PM   #5
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
When configuring the kernel just go to General Setup and add a custom suffix with the Local version - append to kernel release option.
Old 03-19-2012, 08:09 AM   #6
Registered: Feb 2008
Posts: 45

Original Poster
Rep: Reputation: 0
thanks a lot for responding. It turned out I didn't read the complete document. I was too impatient, sorry.

However, after installing it. I keep getting kernel panic. In the make menuconfig, I deselected a lot of things I'm sure I don't need.


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
Install hardware driver under custom-built kernel worker Linux - Server 4 03-16-2012 04:25 AM
kernel panic while booting my own built kernel in fedora13 using grub RajuLinux Linux - Newbie 2 03-05-2011 09:57 PM
Can mount root drive with package kernel, but not built kernel RandomTroll Linux - Kernel 3 04-02-2010 03:19 PM
built kernel locally...need to install to a remote machine. how? ARCHIGAMER Linux - General 1 04-10-2005 02:52 PM

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