Installed kernels are 6.12 and 6.18, but indeed the other kernels were installed as well, but removed via manjaro-settings-manager.
Two questions I would have
is it save to delete this folders for kernels not installed anymore (I would say “yes”, but just want to get the feedback from the ones who know and not like me … guess)
more interesting: why are this folders on the disc if the kernels were removed. I am just curious if this is just on my disc or if some others could save space and delete this folders as well …
Well, that would be difficult to implement, given that the package manager has no way of knowing about things that were installed outside of its scope, or that were left over by some buggy or incorrect removal procedure.
Well, as I said, they should have been cleaned out automatically, but if you install or remove kernels without using mjwd-kernel, then those will not be removed.
But I notice that I too still have leftover modules from 6.1 — I’ve been running 6.12 for quite a long time now — and @straycat’s post here-above suggests that there is indeed a problem. So I will post a Manjaro Development > QA thread about it.
Thank you for noticing.
Possibly with a single “rm -rf” if you know your shell-fu.
I suspect that one kernel-modules-hook which copies the models from the currently running kernel back after updating. I’ve experienced this as well and my solution is just rebooting after a kernel update.