Re: mkosi Unable to locate embedded .linux section: Load Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Roberts, William C
> Sent: Thursday, January 19, 2023 10:45 AM
> To: Lennart Poettering <mzerqung@xxxxxxxxxxx>
> Cc: systemd-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  mkosi Unable to locate embedded .linux section:
> Load Error
> 
> 
> 
> > -----Original Message-----
> > From: Lennart Poettering <mzerqung@xxxxxxxxxxx>
> > Sent: Thursday, January 19, 2023 3:30 AM
> > To: Roberts, William C <william.c.roberts@xxxxxxxxx>
> > Cc: systemd-devel@xxxxxxxxxxxxxxxxxxxxx
> > Subject: Re:  mkosi Unable to locate embedded .linux section:
> > Load Error
> >
> > On Di, 17.01.23 20:09, Roberts, William C (william.c.roberts@xxxxxxxxx)
> 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?





[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux