Fedora 42 /boot out of space2025-09-05
Kernel updates failed to install on one of my servers today since /boot was full. I noticed the initramfs images were 4x larger than on my other systems. Turns out Fedora Cloud includes the dracut-config-generic package by default, which generates them with all modules bundled causing the large size. Fedora also defaults to a 1GB /boot and 3x full 6.16.x kernels seemingly no longer fit in that config. Unrelated but dracut (since F42?) will also use zstd if installed. So steps below if you hit this:
dnf remove kernel*-6.16.2-200.fc42.x86_64 #remove old kernels to free up space
dnf remove dracut-config-generic #switch to hostonly=yes
dnf install zstd #compress initramfs with zstd
dracut --regenerate-all --force #regenerate current images
dnf update #resume normal updates