1
2
3
4
5
6
7
1. List installed kernels

dpkg -l | grep linux-image-

2. Uninstall them - the numbers in between the curly braces are a range to do multiples.

apt-get autoremove linux-image-3.5.0-{42..44}-generic