View Full Version : Multiple kernels listed

28th December 2006, 11:09 PM
Hi all,

After having not done a 'yum update' in a while, I decided to do one today. After quite some time, I finished the yum update. When I type "uname -r", I am shown "2.6.18-1.2868.fc6". However, when I do "rpm -q kernel", I am shown "kernel-2.6.18-1.2798.fc6" and "kernel-2.6.18-1.2868.fc6". Is there a way I can remove the old kernel "2798"? Is it is as simple as "yum remove kernel-2.6.18-1.2798"? Thanks in advance.

28th December 2006, 11:12 PM
yes, although you might want to make sure the new kernel isn't causing problems first

(can you recompile wireless and 3d drivers for instance)

29th December 2006, 10:49 AM
Why do I have two kernels: 2.6.18-1.2868.fc6 and 2.6.18-1.2868.fc6xen ?
Both are in grub list and I can boot both.
Currently I am using intel core duo with nvidia geforce go 7300

29th December 2006, 01:41 PM
There's a plugin option in /etc/yum.conf called "installonlyn". It's set to 2 by default. That means you'll keep 2 versions of those packages, like the kernel, that get installed (instead of updated) when you run yum update.

29th December 2006, 02:16 PM
Why do I have two kernels: 2.6.18-1.2868.fc6 and 2.6.18-1.2868.fc6xen ?

You chose to install the Xen (http://en.wikipedia.org/wiki/Xen) virtual machine software when you installed FC6. See also: http://www.fedoraproject.org/wiki/FedoraXenQuickstartFC6

29th December 2006, 02:22 PM
check this thread out


29th December 2006, 06:57 PM
I understand that I can remove one by yum remove kernel.....

29th December 2006, 07:17 PM
unless you are completely starving for space you might as well leave the older one. having to kernels allows you to boot the older one if you completely screw up your newest one