Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to migrate a number of virtual machines from VMware ESX to CentOS 6 KVM hypervisors. Ultimately, I wrote an RPM spec file that solved my problem at but I'm not sure if there's another RPM in base CentOS or EPEL (something standard) I should be using instead.

Originally, I was getting this "No root device found in this operating system image" error when attemting to migrate a Window 2008 VM. . .

[root@kvm01b ~]# virt-v2v -ic 'esx://' \
-os transferimages --network default my-vm
virt-v2v: No root device found in this operating system image.

. . . but I solved this with a simply yum install libguestfs-winsupport since the docs say:

If you attempt to convert a virtual machine using NTFS without the libguestfs-winsupport package installed, the conversion will fail.

Next I got an error about missing drivers for Windows 2008. . .

[root@kvm01b ~]# virt-v2v -ic 'esx://' \
-os transferimages --network default my-vm
my-vm_my-vm: 100% [====================================]D
virt-v2v: Installation failed because the following files referenced in
the configuration file are required, but missing:

. . . and I resolved this by grabbing an iso from Fedora at as recommended by and building an RPM from it with this spec file:

Now, virt-v2v exits without error:

[root@kvm01b ~]# virt-v2v -ic 'esx://' \
-os transferimages --network default my-vm
my-vm_my-vm: 100% [====================================]D
virt-v2v: my-vm configured with virtio drivers.
[root@kvm01b ~]# 

Now, my question is, rather that the virtio-win RPM from the spec file I wrote, is there some other more standard RPM in base CentOS or EPEL that will resolve the error above?

Here's a bit more detail about my setup:

[root@kvm01b ~]# cat /etc/redhat-release 
CentOS release 6.2 (Final)
[root@kvm01b ~]# rpm -q virt-v2v

See also Bug 605334 – VirtIO driver for windows does not show specific OS: Windows 7, Windows 2003

share|improve this question
See also [CentOS-virt] Where should CentOS users get /usr/share/virtio-win/drivers for virt-v2v? - – Philip Durbin Jun 4 '12 at 13:34
I don't have an answer but I'm working on this too...will probably just end up digging up our Redhat license/login to get the official RPM, because virt-v2v seems to rely heavily on exact file locations. I end up with this error having just copied some files around from the ISO. # virt-v2v -ic esx:// -o libvirt -os virtimages win7convert win7basev1_convert_vmwarewin7-Windows7Base9-v1_esx: 100% [===============================================================================‌​==============]D 0h23m04s cp: cp: cp: cannot stat `/sysroot/transferOHZCOb/usr/sh` – curtis Oct 24 '12 at 1:57

The fedora project VirtIO drivers are the way to go for any KVM implementation on any linux. There for what you did is the correct approach.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.