Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1945950
Summary: | dracut-053 renders system unbootable | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Oyvind Saether <oyvinds> |
Component: | dracut | Assignee: | dracut-maint-list |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 34 | CC: | abradshaw, bugzilla, digger, dracut-maint-list, ekline, jonathan, kernel, tla2k15, trekrek, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | dracut-053-2.fc34 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-13 01:34:30 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Oyvind Saether
2021-04-02 21:16:46 UTC
I have the same issue, I upgraded my F33 laptop to F34 - first boot hangs on "running start job for .." both root and swap file systems. Reverting to the F33 grub entry works. I did a dnf update after booting and now I have 2 entries in grub that are F34 and one that is F33 - both the F34 entries result in an un-bootable system - so I agree it seems dracut it broken Possibly a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1945596 See also bug 1945596 and bug 1945901 and 1945530 and https://github.com/dracutdevs/dracut/commit/7fcc4955884355c3943d6c41e459b4b983a818f4 OK never mind, as figured out in bug 1945596, this is the fix. https://github.com/dracutdevs/dracut/commit/ba4bcf5f4f11ad624c647ddf4f566997186135e7 FEDORA-2021-50707f8501 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-50707f8501 This works for me. However it still leaves any kernel that was installed with the previous version of dracut unbootable. There may be a simpler way but I boot with an earlier kernel, uninstall the latest kernel-core pkg, and then upgraded to reinstall it again. Maybe I could have just "sudo dnf reinstall kernel-core" to do the same thing. I hope that makes sense. (In reply to digger vermont from comment #6) > This works for me. However it still leaves any kernel that was installed > with the previous version of dracut unbootable. That's expected. The bug in dracut is passed into the initramfs it creates. You have to both update dracut and then replace the initramfs, e.g. sudo dracut -f /boot/initramfs-5.11.11-300.fc34.x86_64.img 5.11.11-300.fc34.x86_64 > Maybe I could have just "sudo dnf reinstall kernel-core" to do the same
> thing.
>
> I hope that makes sense.
You can demand that dracut re-generated the initramfs for any old kernel you have with:
dracut --force --kver 5.11.12-300.fc34.x86_64
Just replace the --kver argument with thatever kernel argument. You can also specify a specific initramfs file and kernel version instead of using the --kver shortcut to use the default initramfs location.
(In reply to Oyvind Saether from comment #8) > > You can demand that dracut re-generated the initramfs for any old kernel you > have with: > > dracut --force --kver 5.11.12-300.fc34.x86_64 > > Just replace the --kver argument with thatever kernel argument. You can also > specify a specific initramfs file and kernel version instead of using the > --kver shortcut to use the default initramfs location. Thanks, that's better than what I did and good to know. Since the previous version of dracut rendered kernels installed with it unbootable, should a post-install script for dracut include lines to regenerate at least the last installed kernel's initramfs? FEDORA-2021-50707f8501 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. *** Bug 1948193 has been marked as a duplicate of this bug. *** *** Bug 1948077 has been marked as a duplicate of this bug. *** *** Bug 1948125 has been marked as a duplicate of this bug. *** |