Which files can I remove from /boot

Solution 1:

Do no remove these files manually. Use special applications instead - start with

sudo apt-get autoremove

and then use purge-old-kernels script - install and run it with

sudo apt-get install byobu
sudo purge-old-kernels

Ideally you need only one latest 5.4.0-74 kernel, so for removal of 5.3.0-46 and 5.4.0-73 you can run the commands below:

sudo apt-get purge --autoremove linux-headers-5.3.0-46 linux-image-5.3.0-46 linux-modules-5.3.0-46 linux-modules-extra-5.3.0-46

sudo apt-get purge --autoremove linux-headers-5.4.0-73 linux-image-5.4.0-73 linux-modules-5.4.0-73 linux-modules-extra-5.4.0-73