I think this is being worked on for quantal, see https://blueprints.launchpad.net/ubuntu/+spec/desktop-q-clean-old-kernels
In the meantime here's a script that calls apt-get to remove all but the current kernel and the 1 most recent before that.
I think this is being worked on for quantal, see https:/ /blueprints. launchpad. net/ubuntu/ +spec/desktop- q-clean- old-kernels
In the meantime here's a script that calls apt-get to remove all but the current kernel and the 1 most recent before that.