LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2006, 09:33 AM   #1
aliamiri
LQ Newbie
 
Registered: May 2006
Posts: 6

Rep: Reputation: 0
Question Which compiled kernel has been used to boot system?


Hi dudes,

Sorry if this is a stupid old question, but I'm a newbie here and found nothing with search feature!

Consider there are some different compiled kernel modules in a Linux/FreeBSD system. By which command can I find that what kernel is used to boot the system?

Thanx for your kind answers.

Regards,
Ali
 
Old 05-02-2006, 09:42 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
One way, though not complete, is to do

Code:
uname -a
which tells you some info, including the running kernel version. that means, if you have multiple compiled kernels and their version numbers differ, that tells you which one got booted. but if you have two with the same version (but with different filename), then I'm a bit unsure..

yeah, there probably is a better way, but this is a start
 
Old 05-02-2006, 10:17 AM   #3
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Uname's good, or just look at the bootloader & see what kernel the menu option you selected is set to load
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot from compiled kernel in debian with grub loader fightforhonor Linux - Networking 1 02-02-2006 12:50 PM
[2.6.11 just compiled] kernel panic at boot-time MD3 Slackware 10 04-24-2005 11:39 AM
help Compiled kernel destroyed system-config-packages database bvknapp Fedora 1 03-03-2005 11:06 AM
cannot boot compiled kernel in grub (SUSE 9.1) stupidloser Linux - Newbie 4 08-10-2004 04:22 AM
newly compiled kernel, boot fails class_struggle Linux - Newbie 2 07-30-2004 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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