On Do, 28.07.22 15:03, Chris Murphy ([email protected]) wrote:

> > Right. I'd like to use the ESP type code for the merged ESP+XBOOTLDR so 
> > that the firmware will pick it up properly. The only problem is when using 
> > the bootctl command to initialize that partition (/boot), it requires that 
> > I set the SYSTEMD_RELAX_XBOOTLDR_CHECKS variable. I don't think it should 
> > require setting that environment variable in that case. But maybe I'm using 
> > the command incorrectly? The command I'm running is:
> >
> > SYSTEMD_RELAX_XBOOTLDR_CHECKS=1 bootctl install --boot-path=/boot 
> > --esp-path=/boot
>
> omit --boot-path and have only an --esp-path

Correct.

> > I think you have to set both "--boot-path" and "--esp-path" to the
> > same value to get the merged partition. If I leave off
> > "--boot-path", then I don't have to set the variable. But I'm not
> > sure that it will configure everything correctly in that
> > case. Will it?
>
> It should. BLS envisions two configurations: ESP only, contains all
> files; ESP contains bootloaders, XBOOTLDR contains /loader/entries
> and everything else. There isn't really a concept of one partition
> being both ESP and XBOOTLDR.
>
> An argument could be made in favor of two ESPs instead of an ESP and
> XBOOTLDR, but whatever. I'm not going to make it.

One is not really supposed to have multiple ESPs on the same
medium. Firmware should use the first one only, and ignore the
other, but you know how firmware is, when it finds unexpected stuff...

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to