-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No /boot/loader/grub.cfg after reboot #595
Comments
If I read this correctly, ostree skips generating (assumes static config) if it find the string https://github.com/ostreedev/ostree/blob/main/src/libostree/ostree-bootloader-grub2.c#L31-L32 This is my
Note the |
OK, this looks like an ostree bug. Did you have BLS config disabled in your GRUB config? You can check that in
|
I've filed: ostreedev/ostree#3295 |
But I think grub still needs the config the load BLS. My grub.cfg was completely missing so that didn't help 😆 It looks like F41 already have the static configs enabled, so this might only affect systems upgraded from F40. |
I reproduced it in a VM and updated the description. |
"Fix/workaround" in ostreedev/ostree#3300 |
I'm also encountering this, reading and checking documentation is apparently hard, sorry about that. Is there a way I can recover from this, preferably without a reinstallation? |
You can copy a default GRUB config in
|
Managed to fix it, thank you very much! Am I correct in assuming that .8 contains the fix? |
I don't understand what you mean by .8 but Silverblue 41.20240922.n.0 at least has the fix for this issue. |
I meant ostree, but that confirms it, thanks. |
Anecdotal, but just updated my ublue bluefin 40 machine to silverblue 41 beta according to the Fedora Magazine article, and worked flawlessly. The previous time I tried this a few weeks ago, I ran into the 'No /boot/loader/grub.cfg' bug, so I'm adding a datapoint that it's resolved and now smooth. Thanks for all the hard work!! |
Describe the bug
GRUB boots into grub command line after reboot from update.
To Reproduce
sudo semanage permissive -a bootupd_t
to workaround selinux policy issuesudo bootupctl update
rpm-ostree update
or overlay any packageExpected behavior
System should boot as usual.
OS version:
Additional context
I was testing bootupd https://fedoraproject.org/wiki/Changes/FedoraSilverblueBootupd#How_To_Test
The text was updated successfully, but these errors were encountered: