[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Re: future of dual booting Windows and Fedora, redux
From:       "Chris Murphy" <lists () colorremedies ! com>
Date:       2022-07-28 19:03:45
Message-ID: ddb5a7ac-2b85-47a0-ad79-2ddafb29fb07 () www ! fastmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Jul 28, 2022, at 2:47 PM, Gregory Bartholomew wrote:
> On Thu, Jul 28, 2022 at 1:34 PM Chris Murphy <lists@colorremedies.com> wrote:
> > Seems to me the only valid type code for a merged ESP+XBOOTLDR is ESP. What am I \
> > missing?
> 
> 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


> 
> 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.



--
Chris Murphy


[Attachment #5 (text/html)]

<!DOCTYPE html><html><head><title></title><style \
type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div><br></div><div><br></div><div>On \
Thu, Jul 28, 2022, at 2:47 PM, Gregory Bartholomew wrote:<br></div><blockquote \
type="cite" id="qt" style=""><div dir="ltr"><div dir="ltr">On Thu, Jul 28, 2022 at \
1:34 PM Chris Murphy &lt;<a \
href="mailto:lists@colorremedies.com">lists@colorremedies.com</a>&gt; \
wrote:<br></div><div class="qt-gmail_quote"><blockquote class="qt-gmail_quote" \
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, \
204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div><div>Seems \
to me the only valid type code for a merged ESP+XBOOTLDR is ESP. What am I \
missing?<br></div></div></blockquote><div><br></div><div>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:<br></div><div><br></div><div>SYSTEMD_RELAX_XBOOTLDR_CHECKS=1 bootctl install \
--boot-path=/boot --esp-path=/boot<br></div></div></div></blockquote><div><br></div><div>omit \
--boot-path and have only an \
--esp-path<br></div><div><br></div><div><br></div><blockquote type="cite" id="qt" \
style=""><div dir="ltr"><div class="qt-gmail_quote"><div><br></div><div>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?<br></div></div></div></blockquote><div><br></div><div>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.&nbsp;<br></div><div><br></div><div>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.<br></div><div><br></div><div><br></div><div><br></div><div \
id="sig127415184"><div class="signature">--<br></div><div class="signature">Chris \
Murphy<br></div></div><div><br></div></body></html>


[Attachment #6 (text/plain)]

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic