Bug 1618684 - loosing grub entries after kernel update, system only boots into emergency mode
Summary: loosing grub entries after kernel update, system only boots into emergency mode
Keywords:
Status: CLOSED DUPLICATE of bug 1509515
Alias: None
Product: Fedora
Classification: Fedora
Component: grubby
Version: 28
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-17 10:20 UTC by Sebastian
Modified: 2018-09-13 15:41 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-13 15:41:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
grub.cfg (6.25 KB, text/plain)
2018-08-17 13:35 UTC, Sebastian
no flags Details

Description Sebastian 2018-08-17 10:20:24 UTC
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.

Comment 1 Laura Abbott 2018-08-17 12:36:10 UTC
Can you attach your grub.cfg

Comment 2 Sebastian 2018-08-17 13:35:43 UTC
Created attachment 1476629 [details]
grub.cfg

Comment 3 Sebastian 2018-09-12 18:03:35 UTC
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?

Comment 4 Sebastian 2018-09-13 15:34:39 UTC
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.

Comment 5 Sebastian 2018-09-13 15:41:04 UTC

*** This bug has been marked as a duplicate of bug 1509515 ***


Note You need to log in before you can comment on or make changes to this bug.