<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 7, 2022 at 4:31 PM Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Jan 07, 2022 at 09:01:35AM +0100, Laszlo Ersek wrote:<br>
> On 01/05/22 14:56, Richard W.M. Jones wrote:<br>
> > On Wed, Jan 05, 2022 at 01:46:08PM +0100, Tobias Soppa wrote:<br>
> >> Dear Richard,<br>
> >><br>
> >> Sorry for bothering, but I didn't find another way to ask a question. <br>
> >><br>
> >> Maybe you can point me to a chat or forum to receive support? I am not<br>
> >> sure whether I should use the libguestfs mailing list to send my<br>
> >> problem it to everyone?<br>
> > <br>
> > You can send any questions to <a href="mailto:libguestfs@redhat.com" target="_blank">libguestfs@redhat.com</a> (without<br>
> > needing to subscribe). Or we're on IRC #guestfs on Libera.<br>
> > <br>
> >> For days I'm trying to boot from virt-p2v-make-disk made USB thumbdrive<br>
> >> but was never able to boot from it.<br>
> >><br>
> >> I did produce several images in different ways and with different Linux<br>
> >> distributions, but the thumb drive is never bootable - not on a<br>
> >> physical machine, nor via Ventoy.<br>
> >><br>
> >> It works in QEMU though, but I need it running on a physical machine. I<br>
> >> need to use (Secure) UEFI for booting and this works with any other<br>
> >> disk image.<br>
> > <br>
> > Probably UEFI is the problem here - in fact I doubt somehow that<br>
> > we support it at all.<br>
> <br>
> The statement "works in QEMU" is unclear. If the QEMU guest in question<br>
> uses OVMF, then both cases (virt and phys) wouldn't differ with regard<br>
> to firmware type.<br>
> <br>
> Secure Boot could be an issue too, yes; dependent on how the virt-p2v<br>
> UEFI bootloader is signed.<br>
> <br>
> > Is it possible to turn it off and/or use the CMS module?<br>
> <br>
> (*CSM -- compatibility support module)<br>
> <br>
> It could be a workaround, yes.<br>
> <br>
> > <br>
> >> Maybe because these discs are delivered with ISO filesystem and not as<br>
> >> .IMG images? I feel I terribly miss something here.<br>
> > <br>
> > We probably ought to deliver P2V as a UEFI binary, one day.<br>
> <br>
> I've not delved into virt-p2v yet, but given that it uses GTK, it's<br>
> exceedingly unlikely that it can be built as a firmware-level binary<br>
> (such as "grub"), considering either UEFI or traditional BIOS.<br>
> <br>
> The virt-p2v binary is an "ELF 64-bit LSB executable, x86-64, version 1<br>
> (SYSV), dynamically linked (uses shared libs)", so I think what we'd<br>
> actually do is: create a UEFI-bootable Linux image on the USB disk, and<br>
> continue using virt-p2v the same way -- once virt-p2v starts (as a Linux<br>
> process), the host firmware shouldn't matter.<br>
<br>
Right, that's what I meant to say :-)<br>
<br>
Rich.<br>
<br>
> If this is important, we should likely have an RFE (RHBZ) about it.<br></blockquote><div><br></div><div>RFE bug has been created based on the discussion:<a href="https://bugzilla.redhat.com/show_bug.cgi?id=2038105">https://bugzilla.redhat.com/show_bug.cgi?id=2038105</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> <br>
> Thanks!<br>
> Laszlo<br>
<br>
-- <br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
libguestfs lets you edit virtual machines. Supports shell scripting,<br>
bindings from many languages. <a href="http://libguestfs.org" rel="noreferrer" target="_blank">http://libguestfs.org</a><br>
<br>
_______________________________________________<br>
Libguestfs mailing list<br>
<a href="mailto:Libguestfs@redhat.com" target="_blank">Libguestfs@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/libguestfs" rel="noreferrer" target="_blank">https://listman.redhat.com/mailman/listinfo/libguestfs</a><br>
<br>
</blockquote></div></div>