Boot partition is full, should i clean it? And How? /boot partition should be 500Mo or more

@stephane
sudo mhwd-kernel -li

Currently running: 5.10.15-1-MANJARO (linux510)
The following kernels are installed in your system:

  • linux510
  • linux59

sudo ls /etc/mkinitcpio.d/*.preset

/etc/mkinitcpio.d/linux510.preset /etc/mkinitcpio.d/linux58.preset
/etc/mkinitcpio.d/linux57.preset /etc/mkinitcpio.d/linux59.preset

I also found yesterday another Topic, that is maybe related to mine where you gave the solution to it:
https://forum.manjaro.org/t/how-to-remove-a-ghost-kernel/

This means i clean it and update grub:

  • sudo rm /boot/initramfs-5.8-x86_64-fallback.img
  • sudo rm /boot/initramfs-5.8-x86_64.img
  • sudo rm /boot/vmlinuz-5.8-x86_64
  • sudo rm /etc/mkinitcpio.d/linux58.preset
  • sudo pacman -Qs linux58-
  • sudo rm /boot/initramfs-5.7-x86_64-fallback.img
  • sudo rm /boot/initramfs-5.7-x86_64.img
  • sudo rm /boot/vmlinuz-5.7-x86_64
  • sudo rm /etc/mkinitcpio.d/linux57.preset
  • sudo pacman -Qs linux57-
  • sudo mkinitcpio -P
  • sudo update-grub

Is this the right way to solve my problem?