When CentOS 6.3 deletes the old kernel, CentOS 6.3 often updates the kernel. As a result, many boot items are added during startup. we can delete the old kernel and keep the latest kernel, which can free up some disk space. View installed kernel command: rpm-q kernel display result: kernel-2.6.32-279.el6.i686 kernel-2.6.32-279.9.1.el6.i686 kernel-2.6.32-279.11.1.el6.i686 kernel-2.6.32-279.14.1.el6.i686 (2) Delete old kernel installation yum-utls: sudo install yum-utils sets the number of old kernels you want to retain. For example, I want to keep two: sudo package-cleanup -- oldkernels -- count = 2. Run rpm-q kernel again to view kernel information, there are only the latest two: kernel-2.6.32-279.11.1.el6.i686 kernel-2.6.32-279.14.1.el6.i686 (3) set the number of permanent kernel installations, I set the number Sudo gedit/etc/yum. conf sets installonly_limit = 2 (4) to restart, and only two kernel boot items are displayed.