LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-17-2006, 03:02 PM   #1
Madone_SL_5.5
Member
 
Registered: Oct 2006
Location: Ogden, Utah
Distribution: Fedora 10
Posts: 66

Rep: Reputation: 15
Kernel downloaded with "yum", but not installed.


My current kernel version is 2.6.18-1.2798

The last time I used the command "yum update" a new kernel version 2.6.18-1.2849.fc6-x86_64 was downloaded. This is now the directory /usr/src/kernels/2.6.18-1.2849.fc6-x86_64/ sitting along with the directory 2.6.18-1.2798.fc6-x86_64/.

My kernel version is still the same as is was before. What do I do to update the kernel? It must be a simple answer, but I have never updated a kernel before.

Thanks.
 
Old 11-18-2006, 10:35 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you update your kernel using Yum, the new (binary) version is automatically "updated", i.e. new kernel is installed to your /boot and your bootloader's configuration is altered respectively. If you are sure the new binary kernel was installed, list the files under /boot and you should see the new kernel version there (vmlinuz-versionnumber and some other files); then just make sure it appears in your bootloader configuration (/boot/grub/menu.lst for Grub, or /etc/lilo.conf for LiLo - for LiLo remember to run lilo after altering the config, for Grub this step is not needed).

If you instead have updated the kernel sources (or installed them), you must compile the kernel yourself to be able to use it. As you probably use stock kernels, I suggest you just stick to them since they're easier (updating is automatic, no need for manual compiling every time and wondering which modules you want). Packages kernel-versionnumber differs from the same package that has ".src" or "-src" (means "source") in it's version number; binary kernel package installs the precompiled kernel, kernel source package installs just the source code for the kernel. For some drivers you need both the kernel and the source, and the versions must be exactly the same, but plain sources won't make you a kernel unless they're compiled.
 
  


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
"yum info python" gave me 2 installed items. Why? gneeot Linux - General 3 06-29-2006 01:07 AM
Message: Package "kernel-source" needs to be installed by YaST2 first! snarvey SUSE / openSUSE 3 03-17-2006 10:22 PM
Initializing hardware hangs after "yum update kernel-smp.x86_64" jandersonlee Fedora - Installation 1 03-14-2006 09:39 PM
pkgconfig problems with softwares downloaded through "yum" ankur_linuxfan Linux - Software 2 01-16-2005 03:28 AM
"No kernel packages were installed... Boot loader will not be changed..." error messa ptexpress Linux - Newbie 1 11-03-2003 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:41 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