D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Fedor 2 Kernel Updates

 


PL-J said:
Hi

I keep Fedora Up to date using the Update Tool.  Fine.  However I now find
I
have a number of Kernels.  I can "comment" them out on the bootloader, no
problem. (No real risk if I screw up, either).

However in /boot each kernel appears  to have 4 files, Config, initrid,
system.map and vmlinux.

Do I just delete them all (in / boot) apart from the 4 which refer to my
current kernel? (Real risk If I screw up).

Thanks

Peter


Hi Peter,

from the command line, as root, type rpm -q kernel

you will get a list of installed kernels
I suggest you keep the current kernel, and the next oldest (as a backup).

To remove the others, you must type rpm -e kernel-x.x-x where the x is the
numbers as shown in the rpm -q command.

For example I currently have 3 kernels installed

[smoker@xxxx smoker]$ rpm -q kernel
kernel-2.6.9-1.11_FC2
kernel-2.6.10-1.8_FC2
kernel-2.6.10-1.9_FC2
[smoker@xxxx smoker]$

to remove the oldest kernel, I would type

rpm -e kernel-2.6.9-1.11_FC2

and hit enter.
This will automatically remove the corresponding entry from the grub boot
menu too.

regards

alan

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.