uninstalling custom kernel and query on stale files from previous kernels

Mike Klinke lsomike at futzin.com
Sun Feb 22 07:32:38 UTC 2004


On Sunday 22 February 2004 00:45, Matt H. wrote:
> Hi
> I built a custom kernel from the 2166 sources --
> 2.4.22-1.2166.nptlcustom. However, it's time to delete that as
> newer updates are available. So, would deleting all entries in
> /boot/, /lib/modules/, and the grub.conf entry relating to
> 2166.nptlcustom be all that's necessary?
>
> Related to this is the question: How can I custom build a kernel,
> based off the latest available, say 2174, as an rpm so that it can
> be easily uninstalled or updated via up2date? Rather than going
> through the make xconfig ; make dep ; .. etc. process.
>
> The other query I have is looking in /lib/modules and /usr/src,
> there's still directories for 2.4.22-1.2149, even though I've
> updated to later releases. Is it fine just to delete these 2149
> entries?
>
> Thanks guys (and gals!)
> --
> Matt

rpm -e kernel-<version>

should remove all the entries from /boot, /lib/modules etc.

Regards,  Mike Klinke





More information about the fedora-list mailing list