First check the kernel version, so we won’t delete the kernel image in use:
|
|
List installed kernels:
|
|
Delete unnecessary kernels (replace the VERSION with kernel that should be removed):
|
|
After old kernels are removed, you can remove packages that are not used anymore:
|
|
Finally update grub kernel list:
|
|