how to dwindle down the number of kernels in menu.lst to two
daxlinux at gmail.com
Sun Oct 12 00:57:17 UTC 2008
The following command can also work to get rid of all but the last 2 kernels on
your system. I have found it works quite well for me.
sudo aptitude purge "~nlinux-image-2.6" "~nlinux-restricted-modules-2.6"
Be sure to remember the plus signs at the end of the previous and current
version packages, as otherwise, they will be removed along with the old kernels.
This is of course simpler if you only want to keep the currently running kernel,
as you only need to specify that you want to keep 1 linux-image package and 1
linux-restricted-modules package based on uname -r.
Great Goddess Isis,
Thou who art above the stars,
Grant us peace and love.
More information about the ubuntu-users