[systemd-devel] bootctl says ukify-generated efi file is not a UKI
EQ
lists.freedesktop.org at e3q.eu
Wed May 8 07:43:02 UTC 2024
Dear list,
I'm generating UKIs with ukify via kernel-install (systemd version 255.4).
These UKIs boot fine using systemd-boot. However, when using bootctl, I get
unexpected output, the most important being that it says that the UKI efi
files are not UKIs.
Output of `bootctl list`:
```
Parsed PE file '/boot/EFI/Linux/<machine-id>-6.6.21-gentoo-g.efi' is not a
UKI.
Parsed PE file '/boot/EFI/Linux/<machine-id>-6.6.30-gentoo-a.efi' is not a
UKI.
Parsed PE file '/boot/EFI/Linux/<machine-id>-6.6.30-gentoo-b.efi' is not a
UKI.
Parsed PE file '/boot/EFI/Linux/<machine-id>-6.6.30-gentoo-c.efi' is not a
UKI.
type: Boot Loader Specification Type #1 (.conf)
title: Gentoo Linux (default)
id: <machine-id>-6.6.21-gentoo-f.conf
source: /boot//loader/entries/<machine-id>-6.6.21-gentoo-f.conf
sort-key: gentoo
version: 6.6.21-gentoo-f
machine-id: <machine-id>
linux: /boot//<machine-id>/6.6.21-gentoo-f/linux
options: systemd.machine_id=<machine-id>
type: Reported by Boot Loader
title: <machine-id>-6.6.30-gentoo-c.efi (selected)
(reported/absent)
id: <machine-id>-6.6.30-gentoo-c.efi
source: /sys/firmware/efi/efivars/LoaderEntries-<some efi uuid>
type: Reported by Boot Loader
title: <machine-id>-6.6.30-gentoo-b.efi (reported/absent)
id: <machine-id>-6.6.30-gentoo-b.efi
source: /sys/firmware/efi/efivars/LoaderEntries-<some efi uuid>
type: Reported by Boot Loader
title: <machine-id>-6.6.30-gentoo-a.efi (reported/absent)
id: <machine-id>-6.6.30-gentoo-a.efi
source: /sys/firmware/efi/efivars/LoaderEntries-<some efi uuid>
type: Reported by Boot Loader
title: <machine-id>-6.6.21-gentoo-g.efi (reported/absent)
id: <machine-id>-6.6.21-gentoo-g.efi
source: /sys/firmware/efi/efivars/LoaderEntries-<some efi uuid>
type: Automatic
title: Reboot Into Firmware Interface
id: auto-reboot-to-firmware-setup
source: /sys/firmware/efi/efivars/LoaderEntries-<some efi uuid>
```
What could be the matter? How do I further investigate? Feel free to ask
for other outputs.
Best regards,
EQ
More information about the systemd-devel
mailing list