I’m using AlmaLinux-9-GenericCloud-9.3-20231113.x86_64.qcow2 on Proxmox 8.0.9. When the system have two installed kernels and tries to install the third one during “dnf update” I’m getting an error saying that there is not enough space in /boot partition and the update is aborted. Further investigation shows that it is true. As you can se further down there is two kernels installed and they take up 95% of the space in /boot. The problem seems to be that by default the parameter installonly_limit in /etc/dnf/dnf.conf is set to “3”. Its easy to change the value to 2 and it fixes the issue but if people are deploying the images in production it will cause some issues. The solution is to ship the image with installonly_limit=2 or increase the /boot partition size. Hope this helps.
One usually has at least the rescue kernel – a copy created at some point, but with fat initramfs.
Also the kdump is enabled by default and has its own initramfs.
The +debug – I’m not sure where those came from.
Point is that there are easily additional files consuming space that are somewhat optional.