VMware Disk-mount utility
Lot of times people come to VMTN forums asking for a way to access their corrupt machine VMDK’s. Most of them would have stored some important data on their data disks and due to OS corruption the machine wouldn’t power on which also makes the other data inaccessible.
VMware Virtual machines store the data on .vmdk files which are the hard disk files. Many a times there will be a need to mount these files on host machine or some machine from where you can remotely mount the disk. VMware disk mount utility will help you do this task and lets you make changes to VMDK offline.
What all disks can be mounted?
The disk mount utility can mount only FAT or NTFS virtual disks. Only disks of a powered off machines and disks that are not associated with any VM’s can be mounted. If you mount a virtual disk that has snapshots, any changes you make to the virtual disk will be lost if you revert to the snapshot. Remember that VMware does not support the disk mount utility.
Vmware Disk mount utility comes as part of VDDK (Virtual Disk Development Kit). Download it here
Install the VDDK
Read the EUPA ( yes its not license agreement but a patent agreement)
Now accept the EULA
Choose the install directory. note the Path
Click on Install
Once the installation is done, click Finish.
All the commands to use the tool should be run through command line. Open run and type cmd. Now navigate to the folder where the files are installed. the default location is
C:Program FilesVMwareVMware Virtual Disk Development Kitbin
Run vmware-mount / to get all the options that can be used with the disk mount tool.
To mount a VMDK, type
vmware-mount [driveletter:] [path-to-vmdk] [options]
If you have you VMDK in CWindows-XPWindows-XP.vmdk and you want to mount it as a z drive, your command would be
vmware-mount z: CWindows-XPWindows-XP.vmdk /m:w ( Where m:w mounts the disk in read-write mode)
Once this command succeeds you will be able to see the VMDK as a drive on your OS. now you can make all the possible changes.
To unmount the disk you need to type the command
vmware-mount z: /d.
There are a lot of other options that can be used with the Disk mount tool. You can also mount the VMDK from a remote server and work on it.
This way you will be able to retrieve data and make changes in the VMDK. on the host and also remotely.