Bug#826045: systemd: New kernels are not booted

Michael Biebl biebl at debian.org
Sun Jan 30 20:51:59 GMT 2022


On Wed, 01 Jun 2016 22:25:46 +0200 Thomas Prokosch 
<thomas-10-debbugs at nadev.net> wrote:
> Package: systemd
> Version: 229-6
> Severity: important
> 
> After gummiboot has been integrated into systemd as systemd-boot, I
> decided to give this new feature a try and installed a new machine
> with systemd, not installing gummiboot or any other boot loader. The
> machine is capable of booting an UEFI stub, so systemd-boot should be
> able to handle this. However, with this approach the machine failed to
> boot. Only after manually copying the kernel and initramfs from /boot
> to /boot/efi, and manually setting up the relevant data structures in
> /boot/efi the machine came up as expected.
> 
> It seems that integrating gummiboot into systemd is missing a critical
> piece, that is the update-gummiboot script that copies the kernel
> files. This script was installed in the postinst hook for kernels at
> /etc/kernel/postinst.d/ but is absent in systemd.
> 
> Because of this omission new installs are broken, this is why I set
> the severy of this bug report to "important".
> 
> Please add an equivalent of the update-gummiboot script to systemd.

For anyone interested, I've submitted
https://salsa.debian.org/systemd-team/systemd/-/merge_requests/138

Which also ships some very basic /etc/kernel hooks and a simplistic 
postinst.

Would welcome feedback / follow-up fixes if needed.

Michael


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220130/8ea873d5/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list