Number of kernels in /boot Fedora vs. Ubuntu

Dan Ritter dsr-mzpnVDyJpH4k7aNtvndDlA at public.gmane.org
Fri Dec 31 12:59:32 EST 2010


On Fri, Dec 31, 2010 at 12:35:13PM -0500, Jerry Feldman wrote:
> 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.


Assuming you're using grub, look at /etc/grub.conf:

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7

-dsr-

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.




More information about the Discuss mailing list