Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Number of kernels in /boot Fedora vs. Ubuntu



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.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org