[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Upgrading Fedora kernel



Strong wrote:
> Want to add my question to the kernel removal talk.
> When i have compiled my own kernel, i want to sweep up the files the
> default kernel has on my system, how to do that?

It's a good idea to keep at least one Fedora kernel on the system: it's
there for testing purposes, or if anything goes wrong with your
self-compiled kernels (like over-writing the kernel image without
installing the modules just after there's been an incompatible ABI
change in the IDE code...)

You should also note that (on my system):

$ rpm -q --whatrequires kernel
initscripts-8.11.1-1
lvm2-2.01.08-2.1
hal-0.5.2-2
hal-0.5.2-2
prelink-0.3.4-3
pcmcia-cs-3.2.8-4.12
quota-3.12-6
rp-pppoe-3.5-27
gnome-volume-manager-1.3.1-1
libpcap-0.8.3-13.FC4
nfs-utils-1.0.7-11

(i.e. these packages require at least one kernel RPM installed).

The Fedora kernels you have installed can be identified with
$ rpm -q kernel
kernel-2.6.11-1.1369_FC4
kernel-2.6.12-1.1387_FC4
kernel-2.6.12-1.1390_FC4
kernel-2.6.12-1.1398_FC4
kernel-2.6.12-1.1420_FC4
kernel-2.6.12-1.1447_FC4

and uninstalled with
# rpm -e kernel-2.6.12-1.1387_FC4

If you really want to get rid of all Fedora kernels, then you have these
options:

 * making an RPM out of your custom kernel and installing that instead.
   (preferred: investigate make rpm)

 * uninstalling the last Fedora kernel with rpm -e --nodeps

 * identifying all files in the last RPM with 
   rpm -ql kernel
   and manually deleting them.

Hope this helps,

James.

-- 
E-mail address: james | Telsa ruthlessly depopulates the cuddly toy pile.
@westexe.demon.co.uk  | There is only room for so many penguins in any one
                      | house. Alan wakes. Telsa throws cuddly toys down the
                      | stairwell. Alan is struck by a blinding flash of
                      | penguin.  -- Telsa Gwynne's Diary.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]