Re: rescue kernel

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

 



On Mon, Feb 9, 2015 at 2:42 PM, Patrick Dupre <pdupre@xxxxxxx> wrote:
> 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?

Yes. There is only one rescue initramfs created, so you have to delete
one to get a new one.

>
> 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")

To know for sure you need to debug it. I think bash -x in front of
new-kernel-pkg may work to expose the exact grubby command used. Then
you use that same grubby command manually, but add --debug flag and
see what it's complaining about.

What filesystem is /boot on?


-- 
Chris Murphy
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[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