Thonar
Contributor
Contributor

Migrating from KVM to VMware

As the title says, we want to migrate our VMs from KVM to VMware. The steps we follow:

  1. convert the VM image (qemu-img convert -f raw -O vmdk vm1.qcow2 vm1.vmdk)
  2. scp the converted image to the ESX datastore (scp vm1.vmdk esx1:/vmfs/volumes/datastore1/)
  3. clone the disk using vmkfstools (vmkfstools -i vm1.vmdk vm1-cloned.vmdk -d thin)
  4. create a new VM using the existing, cloned disk

So far, this has worked only with our Windows VMs. The Linux VMs cannot boot (Operating System not found) because the VM cannot find the disk. I have tried pretty much every configuration combination I could think of (BIOS/EFI, LSI Logic SAS/VMware Paravirtual) with no success. The Linux VMs are CentOS 8 systems with open-vm-tools already installed. The hypervisor is VMware ESXi, 7.0.0, 16324942.

Any help is greatly appreciated.

Reply
0 Kudos