Hi Everyone,
I started an update of my F29 system today. Everything seemed to be
going fine until the system locked up. I waited for a few minutes and
then, hesitantly, I power cycled the computer. Sure enough, the boot
didn't start and instead dropped into the grub shell. :/
I managed to manually boot Fedora. I reviewed the dnf history to see
which packages were getting upgraded. I ended up redoing the entire
operation, rewrote the grub2 config for good measure and rebooted: the
same problem occurred again. Drat!
Once the desktop was running again, I decided to only reinstall the
kernel packages that were upgraded. That's when I saw this:
Running transaction
Preparing :
1/1
Reinstalling : kernel-core-5.0.10-200.fc29.x86_64
1/2
Running scriptlet: kernel-core-5.0.10-200.fc29.x86_64
1/2
Running scriptlet: kernel-core-5.0.10-200.fc29.x86_64
2/2
grubby fatal error: unable to find a suitable template
grubby: doing this would leave no kernel entries. Not writing out new config.
I must have missed those errors when I redid the update earlier.
What I've found online so far doesn't reference F29 so I'm not sure
what I can do to fix the problem.
I did find the following two broken symlinks:
[ranbir@master ~]$ ls -l /etc/grub*
lrwxrwxrwx. 1 root root 22 Oct 4 2018 /etc/grub2.cfg -> ../boot/grub2/grub.cfg
lrwxrwxrwx. 1 root root 31 Oct 4 2018 /etc/grub2-efi.cfg ->
../boot/efi/EFI/fedora/grub.cfg
I don't know if they're supposed to be broken or not.
Does anyone have any suggestions on how I can fix my now broken grub
config?
--
Ranbir
Show replies by date