LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-09-2003, 04:28 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Checking what kernel version is running...


I think I installed 2.6.0test7 last night, but I'm not sure. When I check KDE's config, it says that I'm still using 2.4.22, not 2.6.0test7. Is there any way I can tell for sure what version kernel I'm using? I ended up doing as follows:
#make menuconfig
#make
#make modules
#make modules_install
#make install

I'm pretty sure that I'm running my new kernel, but I'm not positive. And how can I get KDE's Control Center to see that my version is 2.6.0test7, not 2.4.22?
 
Old 10-09-2003, 04:38 PM   #2
Cimmerian
Member
 
Registered: Sep 2003
Location: Trondheim, Norway
Distribution: Slackware10 + Dropline Gnome
Posts: 47

Rep: Reputation: 15
Do a "uname -r" (without the "") in a shell prompt, and what you see is the kernel version you are currently running
 
Old 10-09-2003, 05:37 PM   #3
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
It says 2.4.22. So how do I end up getting my kernel to work? I reinstalled LILO....
 
Old 10-09-2003, 05:39 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
what's your lilo.conf look like? Does the image entry to the right kernel?
 
Old 10-09-2003, 05:41 PM   #5
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
make sure u moved your kernel vmlinuz into your /boot directory and have it named to something that will separate out from the other kernels

then in your lilo.conf, make a new entry and point to the kernel /boot/vmlinuz-2.6test7 or something

then type lilo and it will install lilo

ok, wait, u didn't use all the commands; after make menuconfig, do make dep, then make clean, then make, then make bzimage, then make install, then make modules, then make_modules install

Last edited by TheOneAndOnlySM; 10-09-2003 at 05:43 PM.
 
Old 10-09-2003, 05:41 PM   #6
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Is it safe for me to replace my vmlinux in /boot manually by typing:
mv vmlinux /boot/vmlinux when I'm in my directory for 2.6.0?
 
Old 10-09-2003, 05:44 PM   #7
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
do not replace your old kernel, because u don't know if you will like the new kernel or if it will work

rename the kernel, keep the old kernel and the old lilo entry for the old kernel
 
Old 10-09-2003, 06:48 PM   #8
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
I have a few too many kernels on my machine so I thought I would post my lilo.conf if you need a reference.

# This is a custom kernel for WD
# has support for USB mass storage
image = /boot/2.4.20.c2
root = /dev/hda1
label = linux-USB
read-only # Non-UMSDOS filesystems should be mounted read-only for checking

# This is a custom kernel for WD
image = /boot/2.4.20.c1
root = /dev/hda1
label = linux-c1
read-only # Non-UMSDOS filesystems should be mounted read-only for checking

# This is a custom kernel backup for WD
image = /boot/bzImage
root = /dev/hda1
label = linux-b
read-only # Non-UMSDOS filesystems should be mounted read-only for checking

# Generic Kernel
image = /boot/vmlinuz
root = /dev/hda1
label = linux-g
read-only # Non-UMSDOS filesystems should be mounted read-only for checking

# This is a custom kernel for hdc1
image = /mnt/hdc1/boot/vmlinuz
root = /dev/hdc1
label = linux-ibm
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
 
Old 10-09-2003, 09:37 PM   #9
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
K, thanks. Now I just need to figure out how to get my sound to work. For some reason it won't see a mixer(Not sure if it's KDE or Linux, I'll try Gnome later). I know I didn't see my soundcard listed in the soundcard list for the kernel config, so I just left all the sound stuff as default, so it *should* work.
 
Old 10-10-2003, 11:40 AM   #10
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
Have you read the Kernel Compile HOWTO?

Followed it step by step and I had no problem getting 2.6 test3 working.

slight
 
  


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 can I see what Kernel version I am running? carlosinfl Linux - Newbie 3 05-28-2004 02:47 PM
how do i find out what version of kernel i am running? rosscopeeko Linux - Newbie 1 04-30-2004 12:18 PM
Checking your kernel version rhraz Linux - Newbie 2 02-27-2004 11:49 PM
What kernel version are you running? Shak Linux - General 6 04-23-2003 07:59 AM
what kernel version am i running? WindozBytes Linux - General 5 11-18-2001 01:54 AM


All times are GMT -5. The time now is 02:34 AM.

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