IT Professional Solutions » Admin Notes » How to convert vmware vmdk image to kvm.
Admin Notes / How to convert vmware vmdk image to kvm.

First convert the .vmdk to a format compatible with qemu-img.

Turns out this can be done with vmware-vdiskmanager.

1. Converting from .vmdk

vmware-vdiskmanager -r Ubuntu.vmdk -t 0 Ubuntu-copy.vmdk

Note: If you have multiple disks, use Ubuntu.vmdk as well (you do not need to convert each Ubuntu-f001.vmdk).

Note: That is a -t Zero not a capital O. see man vmware-vdiskmanager.

Note: vmware-vdiskmanager is part of vmware server (and workstation, not sure about player).


2.Convert to .qcow2 (KVM, QEMU)


qemu-img convert Ubuntu-copy.vmdk -O qcow2 Ubuntu-copy.qcow2

3. Now you may run it in KVM.

kvm -hda Ubuntu-copy.qcow2 -net nic -net user -m 512


Related articles:

  • How to convert Convert Physical Machines to Vmware?
  • How to shrink qcow file
  • VMware Certification Program
  • How to configure NAT on VMWare Server
  • Install Proxmox VE on Debian Lenny on 32-Bit Processor


  •    
    Add comments

    Include security image CAPCHA.
    update code



     
    «    July 2010    »
     
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
     
    © 2008 All Rights Reserved. IT Solutions Studio.