LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-07-2004, 08:35 PM   #1
j91935
LQ Newbie
 
Registered: Apr 2004
Location: San Diego
Posts: 3

Rep: Reputation: 0
'uname -a' gives old kernel version


Just installed (?) kernel 2.6.4 using kernel-package in debian sarge.
My old kernel is 2.6.3 . Now have:

# ls -l /vmlinuz
returns> /vmlinuz -> boot/vmlinuz-2.6.4

but

# uname -a
returns> Linux msi 2.6.3 #1 Sat Mar 13 13:14:03 PST 2004 i686 GNU/Linux

I boot using grub which is installed on a different partition with the entries
> title Linux
> kernel /vmlinuz root=/dev/hda3
in menu.lst to select this system.

/usr/src/kernel-source-2.6.4# head Makefile
returns:
> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 4

Would greatly appreciate help on this matter.
 
Old 04-08-2004, 01:44 AM   #2
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
I am a newbie just like you but if i am not mistaken you installed the source package but you dont metion have compiled and configured your new kernel.

If this is correct... you have lots of work ahead of you :P

you would need to search for kernel HOW-TO's for that. and better know well your hardware !
 
Old 04-08-2004, 03:04 AM   #3
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
What does uname -r give?
 
Old 04-08-2004, 12:24 PM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
he didn't compile and install kernel 2.6.4 and he is still booting on 2.6.3, no suprise.
 
Old 04-08-2004, 04:15 PM   #5
j91935
LQ Newbie
 
Registered: Apr 2004
Location: San Diego
Posts: 3

Original Poster
Rep: Reputation: 0
sorry if I did not make it is not clear that I created the debian kernel image and installed it. I have /vmlinuz -> boot/vmlinuz-2.6.4 as a result.

'uname -r' returns 2.6.3
 
Old 04-10-2004, 07:27 PM   #6
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
if you have installed it, you sure don't boot with it. You might have mistakes in you lilo.conf .
i guess you copied and paste your kernel 2.6.3 stuff, changed the displayed label and forgot to change the image name...
 
Old 04-12-2004, 07:59 AM   #7
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
dumb question. I know lilo is more advanced than grub, but did you actually install the new grub config? (I don't have much experiance with grub)
perhaps man grub if you are unsure.
 
Old 04-12-2004, 03:10 PM   #8
j91935
LQ Newbie
 
Registered: Apr 2004
Location: San Diego
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks to everyone who replied. I had failed to specify the
partition in my grub menu.lst file.

I corrected the grub menu.lst entry to read

kernel (hd0,2)/vmlinuz root=/dev/hda3

Now everything is ok.
 
  


Reply



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
uname -r reports wrong kernel version branque Fedora 5 09-16-2005 10:26 AM
uname -a Does that show the actual kernel info? BajaNick Linux - General 2 01-11-2005 10:51 PM
uname hack/modules in kernel 2.6 mandeltuete Linux - General 8 10-14-2004 03:42 PM
uname kernel version sk8ercool2001 Linux - Software 1 04-07-2004 10:03 PM
uname -r gives incorrect version no. neonair Linux - Software 2 03-04-2004 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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