First find packages.
```
dpkg -l linux-image*
```
Identify the kernal version in use.
```
uname -r
```
Delete the old kernals.
```
sudo apt-get remove linux-image-4.4.0-{101,103}-server
sudo apt-get remove linux-image-4.8.0-{36,56,58}-server
...etc...
```
Then clean up the old kernals.
```
sudo apt-get autoremove
```
For post 16.04 Ubuntu this is available -> http://ubuntuhandbook.org/index.php/2016/05/remove-old-kernels-ubuntu-16-04/