[Bug 1228272] New: When using systemd-boot, dracut uses wrong target file
https://bugzilla.suse.com/show_bug.cgi?id=1228272 Bug ID: 1228272 Summary: When using systemd-boot, dracut uses wrong target file Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: screening-team-bugs@suse.de Reporter: tilman.vogel@web.de QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- When after an upgrade, /usr/lib/module-init-tools/regenerate-initrd-posttrans runs dracut -f --kver "$kver" the generated initrd goes to /boot/efi/<somehexid>/$kver/initrd which looks right but is in fact incorrect because /boot/efi/loader/entries/<somehexid>-$kver.conf actually uses initrd /<somehexid>/$kver/initrd-$kver Note the trailing "-$kver". So, after running dracut, there are two initrds: /boot/efi/<somehexid>/$kver/initrd /boot/efi/<somehexid>/$kver/initrd-$kver of which the former is the new one but ignored and the latter is an older one which will still be used. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228272 https://bugzilla.suse.com/show_bug.cgi?id=1228272#c1 --- Comment #1 from Tilman Vogel <tilman.vogel@web.de> --- This bit me again today after a tumbleweed update --install. I ended up with an initrd which did not have crypt and LVM which is bad in my context and had me boot the rescue system. (Also, it would be _so_ cool if I could install that permanently on disk for such cases.) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228272 https://bugzilla.suse.com/show_bug.cgi?id=1228272#c2 --- Comment #2 from Tilman Vogel <tilman.vogel@web.de> --- Note to self: Use `sdbootutil mkinitrd` instead of `dracut --regenerate-all` such that the correct names are used. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com