95% of the time when I see initrd did not get built and included in the boot, it was because the kernel install runs in 2 steps, the first step puts in the kernel grub entry, and the 2nd step build initrd and adds initrd to the grub config. run "dnf reinstall kernel" and that fixes it. Usually this happens because dnf got interrupted for some reason.
Watch the rerun and notice that there are 2 steps that take a long time, one of them puts the files in and the 2nd one builds and adds in initrd.
Installing : kernel-core-6.0.16-300.fc37.x86_64 1/3
Running scriptlet: kernel-core-6.0.16-300.fc37.x86_64 1/3
Installing : kernel-modules-6.0.16-300.fc37.x86_64 2/3
Running scriptlet: kernel-modules-6.0.16-300.fc37.x86_64 2/3
Installing : kernel-6.0.16-300.fc37.x86_64 3/3
Running scriptlet: kernel-core-6.0.16-300.fc37.x86_64 3/3
Running scriptlet: kernel-core-6.0.16-300.fc37.x86_64 1/3
Installing : kernel-modules-6.0.16-300.fc37.x86_64 2/3
Running scriptlet: kernel-modules-6.0.16-300.fc37.x86_64 2/3
Installing : kernel-6.0.16-300.fc37.x86_64 3/3
Running scriptlet: kernel-core-6.0.16-300.fc37.x86_64 3/3
The last running scriptlet builds the initrd and adds it to grub. It runs after all install/upgrades are done, and if dnf gets aborted you end up with kernel only.
On Fri, Jan 6, 2023 at 9:37 PM Stephen Morris <samorris@xxxxxxxxxxxxxxx> wrote:
Hi,
I've just done an update which installed kernel 6.0.16 and I forgot
to run grub2-mkconfig, and when I booted from the grub menu's defined in
/boot/grub2/grub.cfg presumably updated by grubby, it did not run
initrd, the grub.cfg file generated by grub2-mkconfig does run initrd.
Is this a defect with grubby?
regards,
Steve
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue