Yes. You might want to use dnf remove kernel-core-6.12.10-200.fc41.x86_64
instead of rm <filename>
so that all the related files will be removed at the same time (you might need/want to remove kernel-devel-6.12.10-200.fc41.x86_64
as well).
Also, you might add installonly_limit=2
(the default is 3
) in /etc/dnf/dnf.conf
so your system will only keep one extra/fallback kernel on /boot. Hopefully F42 Change Proposal: Plymouth: Use simpledrm by default (self-contained) will go through and this won’t be as much of an issue in the future.