On Monday, 23 October 2017 21:53:50 BST stan wrote:
> On Mon, 23 Oct 2017 20:57:44 +0100
> Andy Paterson <andy.paterson@ntlworld.com> wrote:
>
>
> > Hi,
> >
> > after doinga a "dnf reinstall kernel"
> >
> > which reinstalled kernel for x86_64 4.13.5-100.fc25 from the updates
> > repository, I still have
> > no /boot/initramfs-4.13.5-100.fc25.x86_64.img. I conclude therefore
> > that the package to install kernel 4.13.5-100.fc25.x86_64 is broken!
> > Anyone else got it booted?
>
>
> There is a 4.13.9 kernel compiled for fc25 today. Perhaps you could
> enable updates testing repository for that kernel only, and see if it
> fixes your problem. I'm surprised your repositories are so far behind.
> Perhaps you should do a dnf clean metadata to see if there isn't a
> later kernel in updates that you aren't seeing.
>
> https://koji.fedoraproject.org/koji/buildinfo?buildID=987901
>
> I think the initramfs is built at install time using dracut. Try this
> command from within /boot to see if dracut will build an initramfs on
> your system. All on one line, though wrapped here. This assumes that
> the vmlinuz file is in /boot.
>
> /usr/bin/dracut -f -H -v --debug 4.13.5-100.fc25.x86_64 > dracut_output
> 2> dracut_error
>
> If it fails, one of the redirected output files should show why.
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-leave@lists.fedoraproject.org
Hi
I did a manual dracut as suggested except I had to specify the .img filename otherwise it just generated a file 4.13.5-100.fc25.x86_64 :) which is not what grub is looking for.
I did:
/usr/bin/dracut -f -H -v --debug initramfs-4.13.5-100.fc25.x86_64.img 4.13.5-100.fc25.x86_64
which worked - so I wonder why the package install doesn't do it?
Now running:
4.13.5-100.fc25.x86_64 #1 SMP Fri Oct 6 01:01:44 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
I just hope the same thing doesnt happen on the next kernel update.
Thanks
Andy