In my case it was a little easier to see since the whole folder was gone.

On Sat, Mar 27, 2021 at 9:51 AM Roger Heflin <rogerheflin@gmail.com> wrote:
On Sat, Mar 27, 2021 at 6:50 AM Shawn Badger <shawn@badger.pro> wrote:
>
> I see what happened now. I had moved my /boot to a new partition but didn't purge the old partition. It turns out that even though it wasn't mounting the old partition grub is still pointing to it for the kernels and since the 5.10.22 is the latest kernel on that partition it is the one it is loading.
> I just kept doing my updates not noticing that it was running the old kernel after the reboots until the 5.10.22 kernel "aged" out and was removed from the system. I am surprised it comes up at all.
>
>
>

One would have to know exactly what is and is not built into an initrd
by dracut.     What is included will allow the node to boot and at
least get the root filesystems mounted so it can change root into it,
but may not be able to mount any filesystems with filesystems not
needed for boot.   Usually the only obvious things like usb and/or
network break when you no longer have a /lib/modules for the kernel.
So generally it is not at all obvious as only a few items fail here
and there, and some of those items (say firewall/iptables) aren't
going to often be obvious (outside of the systemd start failure
scrolling by).

I booted a rescue kernel missing a /lib/modules a few days ago, and
the non-bonding single network interfaces worked and almost everything
else worked but network bonding did not work as that was not in the
initrd.  I figured out quickly the module was missing but it took me
another minute or 2 to realize all of the kernels modules were missing
(the directory structure for it was still there).
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure