Number of kernels in /boot Fedora vs. Ubuntu

Derek Atkins derek-CrUh67yIh4IAvxtiuMwx3w at public.gmane.org
Fri Dec 31 12:46:09 EST 2010


Hi,

On Fri, December 31, 2010 12:35 pm, Jerry Feldman wrote:
> I've mentioned this before. With Fedora 14 and previously with SuSE,
> whenever I get a kernel update, the older kernel packages are
> automatically removed so only the 3 most recent kernels (and modules)
> are installed. Actually, while only 3 kernels are installed on my system
> (I also have 3 old module directories from F13 with no content).
>
> However on Ubuntu, (10.10) I actually have 5 kernels installed.
>
> While this does not really cause any problems except possibly on an
> upgrade, I was wondering if there is a parameter somewhere that
> specifies the number of previous kernels. Certainly one can manage this
> through yum (Fedora) and dpkg (Ubuntu). On fedora, /etc/sysconfig/kernel
> tells the system that the latest kernel should be the default. The
> Fedora and Suse strategy to keep the previous 2 kernels seems to be a
> reasonable strategy. Does Ubuntu (Debian) just have a different strategy
> with a different number of prior kernels, or do they just keep adding on
> when there is a new kernel update.

On Fedora /etc/yum.conf has the following setting:

installonly_limit=3

This is where the '3' comes from.

-derek

> --
> Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
> Boston Linux and Unix
> PGP key id: 537C5846
> PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846
>
>
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
>




More information about the Discuss mailing list