rescue kernel

Patrick Dupre pdupre at gmx.com
Mon Feb 9 21:42:53 UTC 2015


Hello,

I tried to generate a new rescue kernel.
I did:
 /etc/kernel/postinst.d/51-dracut-rescue-postinst.sh $(uname -r) /boot/vmlinuz-$(uname -r)

I did not get any thing done.
Thus I checked the file:
 /etc/kernel/postinst.d/51-dracut-rescue-postinst.sh

and commented the line:
[[ -f $INITRDFILE ]] && [[ -f $NEW_KERNEL_IMAGE ]] && exit 0
There is already and lod rescue kernel thus it does not generate a new one!
Is it normal?

Then I got:
grubby fatal error: unable to find a suitable template

(due to  new-kernel-pkg --install 3.18.5-101.fc20.x86_64 --kernel-image /boot/vmlinuz-0-rescue-f14e53f3162847d4ae17fd1ca988e33c --initrdfile /boot/initramfs-0-rescue-f14e53f3162847d4ae17fd1ca988e33c.img --banner "Fedora 20 Rescue f14e53f3162847d4ae17fd1ca988e33c")

Why?

Thank.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre at gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================


More information about the users mailing list