LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   'uname -a' gives old kernel version (https://www.linuxquestions.org/questions/debian-26/%27uname-a%27-gives-old-kernel-version-167525/)

j91935 04-07-2004 08:35 PM

'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.

Qucho 04-08-2004 01:44 AM

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 !

Chris H 04-08-2004 03:04 AM

What does uname -r give?

mrcheeks 04-08-2004 12:24 PM

he didn't compile and install kernel 2.6.4 and he is still booting on 2.6.3, no suprise.

j91935 04-08-2004 04:15 PM

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

mrcheeks 04-10-2004 07:27 PM

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...

urzumph 04-12-2004 07:59 AM

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.

j91935 04-12-2004 03:10 PM

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.


All times are GMT -5. The time now is 04:31 AM.