Remove old kernel debian version

After a Debian upgrade, you still have to cleanup the mess like removing the old kernel.

For example I upgraded from Wheezy to Jessie and now I have two different kernels.

My current kernel, the one we don’t want to remove is

Run the purge command with the version you want to remove

A grub generation file should be generated after the purge. If this doesn’t happen, use the command

It’s done.

Your boot menu should have changed and old kernel version should have disappeared.

Leave a Reply

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

Post Navigation