uninstalling custom kernel and query on stale files from previous kernels

Maynard Kuona knxmay001 at mail.uct.ac.za
Mon Feb 23 23:02:10 UTC 2004


On Sun, 2004-02-22 at 08: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
> 
> 
To make a kernel rpm set, just use 'make rpm'. You should do this after
going through all the steps to compiling, which includes the 'make dep'
section. make rpm should do the rest.

Maynard





More information about the fedora-list mailing list