VMware Communities
jayamurugan
Contributor
Contributor

How to convert *.img to *.vmdk format?

Hi,

I want to convert *.img to *.vmdk format. Could anyone of you help me out?

Thanks

0 Kudos
8 Replies
benma
Hot Shot
Hot Shot

There is no way to convert a .img to .vmdk

If the vmdk (VM-Harddisk) is inside a img, mount the img and copy

the file.

0 Kudos
continuum
Immortal
Immortal

*.img is a widely used extension.

Some *.img are compatible with *.iso

Some *.img are compatible with the *-flat.vmdk type used by VMware for the disktype monolithicFlat

Some *.img are compatible with the *.flp format used by VMware for floppy-images

as you see - there is no easy answer to this

___________________________________

description of vmx-parameters:

VMware-liveCD:


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
ParryBhinder
Contributor
Contributor

Dear ,

I want to run .vmdk files to .img if there any tools for this .

kindly suggest !!!!

Parry

0 Kudos
continuum
Immortal
Immortal

some *.img formats are directly compatible with vmdks - some are not - so more info is required

___________________________________

VMX-parameters- VMware-liveCD - VM-Sickbay


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
DSTAVERT
Immortal
Immortal

Have a look a winimage. It can convert several disk formats to and from vmdk.

-- David -- VMware Communities Moderator
0 Kudos
PaulSvirin
Expert
Expert

Maybe you should try using Starwind V2V Converter, you can get it from

here - http://www.starwindsoftware.com/converter. It natively supports

IMG format and its conversion into VMDK or VHD or between VMDK or VHD

and vice versa without making any changes to source image.

-


Starwind evangelist

--- iSCSI SAN software http://www.starwindsoftware.com
0 Kudos
antonio7
Enthusiast
Enthusiast

apt-get qemu (installs QEMU on debian/ubuntu)

qemu-img convert imagefile.dd -O vmdk vmdkname.vmdk

Found here: http://stackoverflow.com/questions/454899/how-to-convert-flat-raw-disk-image-to-vmdk-for-virtualbox-...

conorab
Contributor
Contributor

Just adding to this since this post is one of the first answers on Google:

On Mac OS you can install qemu-img with Homebrew (https://brew.sh/) using "brew install qemu". I'm not sure if qemu-img is available on Windows, but you could install Windows Subsystem for Linux and then use Antonio's steps from there.

0 Kudos