Description of problem: Every few kernel updates all the grub entries are gone and only the grub command line is available. When choosing the kernel and ram disk manually(linuxefi (hd0,gpt2)/vmlinuz-4.17... initrdefi (hd0,gpt2)/initramfs-4.17...) I am able to boot, but starting the system fails with "Failed to switch root: Specified switch root path /sysroot does not seem to be an OS tree. os-release file is missing" and I'm stuck in emergency mode. It doesn't matter if "dnf upgrade" is used or the automatic updates via packagekitd, sooner or later it always fails... How I made my system work again until now: Restoring backups or re installing the complete system. How reproducible: Just update your system every day until it breaks. Actual results: Loosing grub entries. Expected results: Update without breaking grub.
Can you attach your grub.cfg
Created attachment 1476629 [details] grub.cfg
When upgrading the kernel from version 4.17.19-200.fc28.x86_64 to 4.18.5-200.fc28.x86_64 all grub entries are gone. After installing the new kernel(dnf upgarde) grub.cfg is located under /boot/efi/EFI/fedora/grub.cfg and just looks like the already attached grub.cfg. After the reboot the brub.cfg is not anymore present under /boot/efi/EFI/fedora/grub.cfg and booting is impossible. Do you need any further information?
Is actually a duplicate of: https://bugzilla.redhat.com/show_bug.cgi?id=1509515 Can reproduce the issue with steps mentioned there. As soon as tuned is disabled the problem doesn't exist anymore.
*** This bug has been marked as a duplicate of bug 1509515 ***