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

Notices

Reply
 
Search this Thread
Old 07-30-2006, 05:00 PM   #1
sr_25
Member
 
Registered: Nov 2005
Location: Colorado
Posts: 110

Rep: Reputation: 15
How do I determine the kernel version I am currently running?


I am trying to get wireless working under Slackware 10.2 on a spare laptop I fixed. I need to know what kernel version I am running. Is there a command to determine what version of a kernel you are running?

Under /boot/grub there are two files one named 'vmlinux' the other 'vmlinux-ide-2.4.31' what is the difference between calling one versus the other at boot time. Obviously, 'vmlinux-ide-2.4.31' is kernel version 2.4.31 but what version is 'vmlinux', because in my menu.lst file this is the one I have called?
 
Old 07-30-2006, 05:07 PM   #2
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
uname -r

.
 
Old 07-30-2006, 05:10 PM   #3
sr_25
Member
 
Registered: Nov 2005
Location: Colorado
Posts: 110

Original Poster
Rep: Reputation: 15
Wow, that was fast. Thanks truthfatal, I appreciate it.
 
Old 07-30-2006, 07:02 PM   #4
sr_25
Member
 
Registered: Nov 2005
Location: Colorado
Posts: 110

Original Poster
Rep: Reputation: 15
Okay, one more question. What is the difference between the two files?
'vmlinux'
'vmlinux-ide-2.4.31'
 
Old 07-30-2006, 07:15 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Without knowing what config options they were compiled with, the only answer I can give is a general one. The first one doesn't provide any info about what it is. The second one looks like a version 2.4.31 kernel file for systems with IDE drives.

I'd have expected the second one to be named vmlinuz-ide-2.4.31 instead of vmlinux-ide-2.4.31. What date/times do they have on them when you run ls -l? How are they referenced in your grub conf file?

Last edited by gilead; 07-30-2006 at 07:16 PM.
 
Old 07-30-2006, 08:05 PM   #6
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
vmlinuz may just be a link to the actual kernel file.
 
  


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
How do I determine what version of Linux is running? DStrick64 Linux - Newbie 17 05-30-2012 09:29 AM
How to determine kernel/Xorg version numbers? pbb Linux - Newbie 4 01-22-2006 11:26 AM
I would like to be able to determine my kernel version. Gueron Linux - Newbie 3 10-10-2005 02:24 PM
determine kernel version linuxmandrake Mandriva 1 05-28-2005 05:38 AM
How to determine Kernel version stonesino Linux - General 2 03-13-2004 01:57 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration