For information on converting a physical machine from another hypervisor with virt-v2v and virt-p2v, see Converting physical machines to KVM virtual machines using virt-p2v in RHEL7. Note: You must not use virt-win-reg with the –merge option on running virtual machines. For information on converting a virtual machine to run on Red Hat OpenStack Platform, see Converting VMware virtual machines to import to Red Hat OpenStack Platform. Now, we need to merge the mergeide.reg with the VM using virt-win-reg command: virt-win-reg -merge winxpvm mergeide.reg
#Image convert kvm install#
Install all libguestfs related packages: yum install qemu-img '*libguestfs*' Paste the text inside it that we have copied from the above link: To solve this problem, copy the MergeIDE.reg text from the below mentioned URL:
#Image convert kvm driver#
The main reason for BSOD problem is that most VMware Windows images are installed on SCSI virtual disk but KVM requires IDE device driver for converted images. Right click on the newly created virtual machine and select Run:Īfter boot, I got the (0x0000007B) BLUE SCREEN OF DEATH (BSOD): In the Summary window, verify the settings for creating the guest. Next,choose the amount of RAM and number of virtual CPUs allocated to the guest: Locate the qcow2 image that we have converted above and select it: In this example, the virtual machine is named winxpvm and also select the “ import existing disk image“.
Start virt-manager by running the virt-manager command,click New to create a new guest.In the Virtual Machine Name window, enter a name for your guest. Move the qcow2 image to the /var/lib/libvirt/images/ directory and check the permission: mv winxpvm.img /var/lib/libvirt/images/ cd /var/lib/libvirt/images/ ls -l Next, convert the transfered image file (vmdk) into qcow2 format: qemu-img convert winxp.vmdk -O qcow2 winxpvm.img Install the IBM Cloud Object Storage CLI plug-in. Note: Please change the path of vmdk file according to your requirement.Ĭopy this new vmdk file to the Linux box using WinSCP: Step 1: Prepare the image conversion server Install the IBM Cloud CLI. In this tutorial, I’ll show you the step by step procedure to convert the vmware machine into kvm, during this conversation, I have faced some issues, which I’ll also share with you along with solution.īefore converting the vmware machine,I strongly recommend removing the vmware tools and any existing snapshots of the virtual machine.Then, on the windows machine, convert this multi-file image into a single image: cd "C:\Program Files (x86)\VMware\VMware Workstation" vmware-vdiskmanager.exe -r "D:\VMWare\winxplite\XP-Lite.vmdk" -t 0 "D:\VMWare\winxplite\winxp.vmdk"