Problem
Due to an unfortunate combination of issues, the Fedora Silverblue, Kinoite and IoT variants that are running a version from 36.20220810.0
and later are no longer able to update to the latest version. You can download the update, but when you reboot, you return to the old environment, not the updated one.
You can see the following errors listed:
$ rpm-ostree status
State: idle
Warning: failed to finalize previous deployment
error: Bootloader write config: grub2-mkconfig: Child process exited with code 1
check `journalctl -b -1 -u ostree-finalize-staged.service`
Cause
A broken GRUB2 bootloader update causes the update process to fail.
Related Issues
- 2096192 – no longer able to update Silverblue due to grub2-mkconfig failing
- https://github.com/fedora-silverblue/issue-tracker/issues/322 (1)
- overriding kernel fails (no new deployment and "grub2-mkconfig: Child process exited with code 1") · Issue #3925 · coreos/rpm-ostree · GitHub (2)
- no longer able to update Silverblue due to grub2-mkconfig failing · Issue #3715 · coreos/rpm-ostree · GitHub (3)
A Fedora Magazine article was posted related to this problem: