Re: Questions on grub2 kernel options.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux