<div dir="ltr"><div>Hi,</div><div><br></div><div>I checked a little more, anaconda uses blivet to detect if the machine is</div><div>EFI for its boot partition requirements, and blivet checks if /sys/firmware/efi exists [1].</div><div>The kernel registers /sys/firmware/efi only if EFI_BOOT is enabled [2], and<br></div><div>this is set in on setup, when the kernel searches for an EFI loader signature</div><div>in boot_params [3] (the signatures are defined as "EL32" and "EL64").</div><div><br></div><div>You can access boot_params under /sys/kernel/boot_params/data, so if you want</div><div>to understand what's going on with your machine, you can try to use strings to</div><div>see if it's enabled while running anaconda - on my test machine it looks like this:</div><div> </div><div>[anaconda root@localhost ~]# strings /sys/kernel/boot_params/data </div><div>EL64 </div><div>fHdrS </div><div><br></div><div>Hope this helps :)</div><div>Yuval.</div><div><br></div><div>[1] <a href="https://github.com/storaged-project/blivet/blob/44bd6738a49cd15398dd151cc2653f175efccf14/blivet/arch.py#L242">https://github.com/storaged-project/blivet/blob/44bd6738a49cd15398dd151cc2653f175efccf14/blivet/arch.py#L242</a></div><div>[2] <a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/drivers/firmware/efi/efi.c?h=v3.10.108#n90">https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/drivers/firmware/efi/efi.c?h=v3.10.108#n90</a></div><div>[3] <a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/x86/kernel/setup.c#n930">https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/x86/kernel/setup.c#n930</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 21, 2017 at 8:57 PM, Yuval Turgeman <span dir="ltr"><<a href="mailto:yuvalt@redhat.com" target="_blank">yuvalt@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Boot partition reqs should be handled the same on both ovirt node and centos (or rhel) and you having to add this manually on rhel can give us a hint that this is a bug in anaconda (doesnt detect efi?).<div dir="auto"><br><div dir="auto">In other words, if you need to add this to rhel you'd need to add it to ovirt node and autopart shouldnt scare you off, just follow the partitioning guidelines, add your changes and you are all set. You can grab some ks examples here:</div><div dir="auto"><br><div dir="auto">git clone <a href="https://gerrit.ovirt.org/ovirt-node-ng" target="_blank">https://gerrit.ovirt.org/<wbr>ovirt-node-ng</a><br></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Nov 21, 2017 20:13, "Luca 'remix_tj' Lorenzetto" <<a href="mailto:lorenzetto.luca@gmail.com" target="_blank">lorenzetto.luca@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Nov 21, 2017 at 4:54 PM, Yuval Turgeman <<a href="mailto:yuvalt@redhat.com" target="_blank">yuvalt@redhat.com</a>> wrote:<br>
> Hi,<br>
><br>
> I tried to recreate this without success, i'll try with different hw<br>
> tomorrow.<br>
> The thing is, autopart with thinp doesn't mean that everything is lvm-thin -<br>
> /boot should be a regular (primary) partition (for details you can check<br>
> anaconda's ovirt install class)<br>
> This could be a bug in anaconda or in the kickstart that deploys the node<br>
> (if not installing directly from the iso), can you install CentOS-7.4 with<br>
> UEFI enabled on this machine ? If you have some installation logs, that<br>
> would help :)<br>
<br>
Hi,<br>
<br>
on the same hardware i can install with success rhel 7.4 using UEFI.<br>
This required to change my default partitioning to another one<br>
containing<br>
/boot/efi/ partition, adding this entry:<br>
<br>
part /boot/efi --fstype=efi --size=200 --ondisk=sda<br>
<br>
I suppose that autopart doesn't create this partition.<br>
<br>
Luca<br>
<br>
<br>
--<br>
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare<br>
calcoli che potrebbero essere affidati a chiunque se si usassero delle<br>
macchine"<br>
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)<br>
<br>
"Internet è la più grande biblioteca del mondo.<br>
Ma il problema è che i libri sono tutti sparsi sul pavimento"<br>
John Allen Paulos, Matematico (1945-vivente)<br>
<br>
Luca 'remix_tj' Lorenzetto, <a href="http://www.remixtj.net" rel="noreferrer" target="_blank">http://www.remixtj.net</a> , <<a href="mailto:lorenzetto.luca@gmail.com" target="_blank">lorenzetto.luca@gmail.com</a>><br>
</blockquote></div></div>
</div></div></blockquote></div><br></div>