Clean Up boot partititon

Post with image

Sometimes /boot partition gets full, if you made it separatehere is how to clean it up:

sudo dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
Likes(1)Dislikes(0)

Leave a reply

Your email adress will not be published. Required fields are marked*