Ubuntu /boot partition is full

If you install Ubuntu and use the default options for partitioning you will eventually run out of space on your /boot partition when performing updates. Here is a command that will clean up your /boot partition of unnecessary packages.

apt-get remove `dpkg –list ‘linux-image*’ |grep ^ii | awk ‘{print $2}’\ | grep -v \`uname -r\“

line
Powered by WordPress | Designed by Elegant Themes