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.
Having said that, virt-v2v won't give you any real value for Windows
XP. We don't have virtio drivers for it. Even after using p2v/v2v on
it, it will still use very slow IDE emulated devices. This is not to
say that virt-p2v won't work, it should do, but you might as well
simply copy the physical disk of the PC, eg. by pulling it out and
using a SATA-USB adapter.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html