Remove old kernels from Ubuntu

2014-06-06

Run in terminal:

To get list of all kernels installed on your system run
dpkg -l linux-image-\* | grep ^ii

Find out the oldest kernel by its version and remove it
sudo apt-get purge linux-image-x.x.x.x