On Wed, 09 Dec 2020 17:42:32 +1000 "Michael D. Setzer II" <msetzerii@xxxxxxxxx> wrote: > Noticed that my rescue kernels on one machine were actually a couple > years old. Machine had been upgraded a couple times using dnf. > > Moved the rescue files to another locations, and thought the system > was suppose to automatically rebuild new ones, but that didn't > happen.. You can delete the rescue kernel and initramfs, and then run the following command, in /boot, replacing the kernel versions with the kernel in your /boot that you want to make the rescue kernel from. /etc/kernel/postinst.d/51-dracut-rescue-postinst.sh 5.9.1-300.20201025.fc31.x86_64 /boot/vmlinuz-5.9.1-300.20201025.fc31.x86_64 You are correct that removing the old rescue kernel and initramfs should recreate new ones, but it happens at the next kernel update. So, you could do it just before a new kernel is going to be installed, and it will happen during install. _______________________________________________ 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