LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


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

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


Hello,

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
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,814

Rep: Reputation: 2171Reputation: 2171Reputation: 2171Reputation: 2171Reputation: 2171Reputation: 2171Reputation: 2171Reputation: 2171Reputation: 2171Reputation: 2171Reputation: 2171
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
bsat
Member
 
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
the3dfxdude
Member
 
Registered: May 2007
Posts: 517

Rep: Reputation: 191Reputation: 191
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
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,137
Blog Entries: 2

Rep: Reputation: 4840Reputation: 4840Reputation: 4840Reputation: 4840Reputation: 4840Reputation: 4840Reputation: 4840Reputation: 4840Reputation: 4840Reputation: 4840Reputation: 4840
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
bfzhou
Member
 
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.

http://www.howopensource.com/2011/08...ora-15-and-14/

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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:37 PM.

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