[systemd-devel] mkosi Unable to locate embedded .linux section: Load Error

Lennart Poettering mzerqung at 0pointer.de
Thu Jan 19 09:30:11 UTC 2023


On Di, 17.01.23 20:09, Roberts, William C (william.c.roberts at intel.com) wrote:

> I am on current main branch:
> 0eb635ef4bc1 (HEAD -> main, origin/main, origin/HEAD) units: don't install pcrphase-related units without gnu-efi
>
> And I cannot get the mkosi qemu to work, mkosi boot does work. It looks like it's not finding the relevant section to boot
> from the image:
> Unable to locate embedded .linux section: Load Error
> Failed to execute Ubuntu 22.04 LTS (22.04 (Jammy Jellyfish)) (\EFI\Linux\mkosi-ubuntu-5.15.0-58-generic.efi): Load Error

(Note, older mkosi didn#t use the "ukify" infra to generate UKIs, and
there was a chance this would result in overlapping PE sections which
might be the issue here. but that's just a guess. please try current
mkosi git, and see if that works)

(I guess most mkosi upstreams use fedora, not ubuntu, so this might
be less tested)

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list