On 2/27/23 04:48, Richard W.M. Jones wrote:
On Sun, Feb 26, 2023 at 07:57:39PM +0100, Franta Hanzlik via users
wrote:
> Hi,
>
> I want to virtualize any old i686 Windows XP 32-bit physical PC on F37.
> Result from building virt-p2v boot disk:
>
> # virt-p2v-make-disk -o /dev/sde --arch i686
> virt-p2v-make-disk: cannot find /usr/lib64/virt-p2v/virt-p2v.i686.xz
> You used the '--arch' option, so it’s likely that you will need to build
> a virt-p2v.i686 binary yourself.
> See p2v-building(1) section BUILDING i686 32 BIT VIRT-P2V for help.
>
> It seems as virt-p2v.i686.xz blob isn't in Fedora (nor 'p2v-building'
> man page, but it can be found easily).
>
> What now? I see two possibilities:
> 1) it is somewhere on Fedora, but not in core repos
> 2) I have to build it myself - but have no idea about optimal way.
> 'p2v-building' man page recommends 32-bit chroot (without details),
> or (on Fedora) use 'mock' - but it seems it is not there anymore.
>
> Has anyone done this? What optimal way would you recommend?
You don't need a 32 bit virt-p2v to virtualize a 32 bit system,
just use normal 64 bit virt-p2v.
I was going to say the same thing until I realized that the original
system was 32-bit only, so couldn't run the 64-bit p2v. At least that's
my understanding from the original post.