Hello,
In the past I could regenerate a rescue kernel by using /etc/kernel/postinst.d/51-dracut-rescue-postinst.sh
But now, this script does not exist any more What is the alternative to restore the /boot/*rescue* files?
Thank
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 | | Room# D114A ===========================================================================
On Tue, 26 Jul 2022 20:08:51 +0200 Patrick Dupre pdupre@gmx.com wrote:
In the past I could regenerate a rescue kernel by using /etc/kernel/postinst.d/51-dracut-rescue-postinst.sh
But now, this script does not exist any more What is the alternative to restore the /boot/*rescue* files?
Run /usr/lib/kernel/install.d/51-dracut-rescue.install add $(uname -r) "" /lib/modules/$(uname -r)/vmlinuz in boot, and it will create a rescue kernel from the currently running kernel.
Do I really need to get this *rescue* files ? grub complains, and I cannot boot on the last kernel.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 | | Room# D114A ===========================================================================
Sent: Tuesday, July 26, 2022 at 8:08 PM From: "Patrick Dupre" pdupre@gmx.com To: "fedora" users@lists.fedoraproject.org Subject: rescue kernel
Hello,
In the past I could regenerate a rescue kernel by using /etc/kernel/postinst.d/51-dracut-rescue-postinst.sh
But now, this script does not exist any more What is the alternative to restore the /boot/*rescue* files?
Thank
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 | | Room# D114A =========================================================================== _______________________________________________ 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
On 7/26/22 23:42, Patrick Dupre wrote:
Do I really need to get this *rescue* files ? grub complains, and I cannot boot on the last kernel.
You don't need it. If you're referring to the rescue entry, then if the files don't exist, the entry obviously won't work. If you don't want that entry, then find the file in /boot/loader/entries that refers to it and delete that file.
But also, if the rescue files are deleted, they should get automatically re-created at the next kernel install.