how to dwindle down the number of kernels in menu.lst to two

Kenneth Loafman kenneth at loafman.com
Fri Oct 10 22:28:54 UTC 2008


On Fri, 10 Oct 2008 11:11:24 -0500, Scott Berry wrote:

> I have too many kernels in my menu.lst.  i think I have like seven or
> eight of them.  How do i dwindle them down to two kernels at a time. The
> previous kernel say for instance linux-2.6.27-5 and 6.  I think that
> would be plenty of kernels.

There are actually multiple packages per 'kernel'.  You can find them 
with a command like this:

ken at neptune:~$ aptitude search 2.6.24-18 | grep ^i
i   linux-backports-modules-2.6.24- - Ubuntu supplied Linux modules for 
version 
i   linux-headers-2.6.24-18         - Header files related to Linux 
kernel versi
i   linux-headers-2.6.24-18-generic - Linux kernel headers for version 
2.6.24 on
i   linux-image-2.6.24-18-generic   - Linux kernel image for version 
2.6.24 on x
i   linux-restricted-modules-2.6.24 - Non-free Linux 2.6.24 modules on 
x86/x86_6
i   linux-ubuntu-modules-2.6.24-18- - Ubuntu supplied Linux modules for 
version 

You will then need to remove them in order to recover the space.

...Ken





More information about the ubuntu-users mailing list