LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I determine the kernel version I am currently running? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-determine-the-kernel-version-i-am-currently-running-469195/)

sr_25 07-30-2006 05:00 PM

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?

truthfatal 07-30-2006 05:07 PM

uname -r

.

sr_25 07-30-2006 05:10 PM

Wow, that was fast. Thanks truthfatal, I appreciate it.

sr_25 07-30-2006 07:02 PM

Okay, one more question. What is the difference between the two files?
'vmlinux'
'vmlinux-ide-2.4.31'

gilead 07-30-2006 07:15 PM

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?

masonm 07-30-2006 08:05 PM

vmlinuz may just be a link to the actual kernel file.


All times are GMT -5. The time now is 12:31 PM.