Chapter 2. Installing virt-v2v
virt-v2v
is run from a Red Hat Enterprise Linux 64-bit host system. virt-v2v
must be installed on the host.
Procedure 2.1. Installing virt-v2v
Subscribe to the virt-v2v channel on the Red Hat Customer Portal
virt-v2v
is available on the Red Hat Customer Portal in the Red Hat Enterprise Linux Server (v.6 for 64-bit x86_64) or Red Hat Enterprise Linux Workstation (v.6 for x86_64) channel. Ensure the system is subscribed to the appropriate channel before installingvirt-v2v
.Note
Red Hat Network Classic (RHN) has now been deprecated. Red Hat Subscription Manager should now be used for registration tasks. For more information, see https://access.redhat.com/rhn-to-rhsm.Install the prerequisites
- If you are converting Windows virtual machines, you must install the libguestfs-winsupport and virtio-win packages. These packages provide support for NTFS and Windows paravirtualized block and network drivers.
- If you attempt to convert a virtual machine using NTFS without the libguestfs-winsupport package installed, the conversion will fail.
- If you attempt to convert a virtual machine running Windows without the virtio-win package installed, the conversion will fail giving an error message concerning missing files.
The libguestfs-winsupport is available for Red Hat Enterprise Linux Server 6 in the Red Hat Enterprise Linux Server V2V Tools for Windows (v. 6) channel, while the virtio-win package is available in the Red Hat Enterprise Linux Server Supplementary (v. 6) channel. To install these packages, ensure that your system has the required permissions to subscribe to both channels and run the following command as root:# subscription-manager repos --enable rhel-6-server-v2vwin-1-rpms --enable rhel-6-server-supplementary-rpms
Install virt-v2v package
As root, run the command:yum install virt-v2v
virt-v2v is now installed and ready to use on on your system.