[systemd-devel] mkosi Unable to locate embedded .linux section: Load Error
Roberts, William C
william.c.roberts at intel.com
Thu Jan 19 19:19:11 UTC 2023
> -----Original Message-----
> From: Roberts, William C
> Sent: Thursday, January 19, 2023 10:45 AM
> To: Lennart Poettering <mzerqung at 0pointer.de>
> Cc: systemd-devel at lists.freedesktop.org
> Subject: RE: [systemd-devel] mkosi Unable to locate embedded .linux section:
> Load Error
>
>
>
> > -----Original Message-----
> > From: Lennart Poettering <mzerqung at 0pointer.de>
> > Sent: Thursday, January 19, 2023 3:30 AM
> > To: Roberts, William C <william.c.roberts at intel.com>
> > Cc: systemd-devel at lists.freedesktop.org
> > Subject: Re: [systemd-devel] mkosi Unable to locate embedded .linux section:
> > Load Error
> >
> > 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)
>
> On mkosi commit 6332528, it used bootctl --root which seems to not be
> available On my Ubuntu 20.04 system (bootctl --version yields system 245) .
> I'll set up a Fedora machine and test there.
Could anyone recommend a version of Fedora to test on, Ie should I pick 32, 34, 37, etc?
More information about the systemd-devel
mailing list