using qemu-img to create vmdk for vmplayer
Tuesday, 21. March 2006, 19:06:53
As compare with qemu, vmware performance is much much better and its peripheral device support is slightly better. But a free version of vmplayer do not support virtual disk creation, it means you can only load the image (in vmdk format) given by others.
With qemu-img, you can create a blank disk image and install any OS on it as your wish. qemu-img is also allow you to convert the disk image from one to another, for example you can dd Damn Small Linux from USB flash disk to hardisk and convert it to vmdk.
Vmplayer need a configuration file (vmx) to load vmdk, you can find sample vmx for reference, google it and you will get it. It do exist vmx builder online for free where you can build vmx based on your input. Refers to http://www.skrodahl.net/easyvmx/tutorial.html The author does a good job, guilding through you from using qemu-img to create virtual disk till building your own vmx and start install your OSes. It provide virtual disk image with different size for download as well in case you have difficulties to create one.
As my case, I facing problem with creating vmdk using qemu-img, and lately i discovery the causes of my problem. I am using qemu-img to create vmdk image at my FAT partition which i suspect it leads the image created with defects. I try to create and convert disk images at other linux partition and it works fine.
If you facing performance issues at qemu, you may want to give vmware a try although it is not open source. Trust me, the performance is much much better than qemu with kqemu patch. You can realised the differents if you install gkrellm, try to aware of processors used.
To convert an existing disk image let say my winxp.img with qcow format (which is qemu default image format)
Then create vmx using builder online and double click on the vmx that have created, that's it. Here is another reference on how to install Win XP or 2000 for vmplayer under ubuntu.
http://www.ubuntuforums.org/showthread.php?t=84275
With qemu-img, you can create a blank disk image and install any OS on it as your wish. qemu-img is also allow you to convert the disk image from one to another, for example you can dd Damn Small Linux from USB flash disk to hardisk and convert it to vmdk.
Vmplayer need a configuration file (vmx) to load vmdk, you can find sample vmx for reference, google it and you will get it. It do exist vmx builder online for free where you can build vmx based on your input. Refers to http://www.skrodahl.net/easyvmx/tutorial.html The author does a good job, guilding through you from using qemu-img to create virtual disk till building your own vmx and start install your OSes. It provide virtual disk image with different size for download as well in case you have difficulties to create one.
As my case, I facing problem with creating vmdk using qemu-img, and lately i discovery the causes of my problem. I am using qemu-img to create vmdk image at my FAT partition which i suspect it leads the image created with defects. I try to create and convert disk images at other linux partition and it works fine.
If you facing performance issues at qemu, you may want to give vmware a try although it is not open source. Trust me, the performance is much much better than qemu with kqemu patch. You can realised the differents if you install gkrellm, try to aware of processors used.
To convert an existing disk image let say my winxp.img with qcow format (which is qemu default image format)
qemu-img -f qcow winxp.img -O vmdk winxp.vmdk
Then create vmx using builder online and double click on the vmx that have created, that's it. Here is another reference on how to install Win XP or 2000 for vmplayer under ubuntu.
http://www.ubuntuforums.org/showthread.php?t=84275














Anonymous # 23. March 2006, 07:59
I'm not sure if I understand you correctly...
Is it so that you have problems with qemu vmdk-images created on a FAT partition?
Or is it that FAT partitions created inside a qemu vmdk-image fails?
If it's the first, you can sit back and relax.
EasyVMX! creates the complete virtual machine, ready for download in no time.
http://www.skrodahl.net/easyvmx
Regards,
Havard Skrodahl
mysurface # 23. March 2006, 12:23
Anonymous # 24. March 2006, 18:55
Just trying to help, my friend.
Least I can do, since I'm the creator of EasyVMX!
Now you can find EasyVMX! on it's own domain:
http://www.easyvmx.com
Regards,
Havard Skrodahl
mysurface # 25. March 2006, 04:40
Anonymous # 7. April 2006, 13:55
That command you mentioned in the article is missing a word. It should be:
qemu-img format -f qcow winxp.img -O vmdk winxp.vmdk
:)
mysurface # 7. April 2006, 14:22