- OpenVPN IPv6 and IPv4 configuration - Mon, Mar 1 2021
- 4sysops author and member competition 2020 - Fri, Jan 1 2021
- Assign an IPv6 address to an EC2 instance (dual stack) - Tue, Dec 15 2020
Update July 13, 2012: You can download the VMware Workstation 5.5 Disk Mount Utility here.
Earlier, I blogged about attaching VHD images and WIM files, so it is only fair that I introduce a tool that allows you to mount VMDK (Virtual Machine Disk Format) images. VMware's format is certainly one of the most commonly used imaging formats these days. The VMware DiskMount GUI is not, despite its name, a VMware tool. It is a DEVFRAM product, and simply consists of a graphical user interface for the command line tool VMware DiskMount (vmware-mount.exe), which is a part of the free VMware Virtual Disk Development Kit. As such, you have to first download and install this toolkit before you can use the VMware DiskMount GUI.
When you first launch the VMware DiskMount GUI, you have to tell the tool where to find vmware-mount.exe. If you installed VMware's toolkit in the default folder, then you can find it under C:\Program Files\VMware\VMware Virtual Disk Development Kit\bin\. The DiskMount GUI supports all of DiskMount's command line parameters, including those for remote virtual disks (ESX Server and VirtualCenter).
If the virtual disk has snapshots, you will always have to mount the latest one. You'll find multiple consecutively numbered VMDK files in the virtual machine's folder. Mount the VMDK file with the highest number. If you try to mount another VMDK file you will receive a "mount error" message. Note that if you make changes to the virtual disk, and then revert to a snapshot, you will lose all of your changes.
The VMware DiskMount GUI appears to have an option for overriding this snapshot setting. However, when I tried the feature, vmware-mount.exe just answered with a list of available parameters. My guess is that older versions of VMware DiskMount supported this feature, but newer ones do not.
If you have never worked with VMware DiskMount, you might want to have a look at the manual first. It appears as a PDF file in the doc folder. It explains all of the parameters in detail, and gives you some information on how to use DiskMount. The most relevant details are:
Subscribe to 4sysops newsletter!
- You can mount virtual disks created by VMware ESX Server 3.x and 2.x (pre-allocated disks only), VMware Workstation 6.5 and 4, VMware Player, VMware ACE, VMware Fusion, VMware Server, and VMware GSX Server 3.x and 2.5. I also was able to mount virtual disks created by earlier VMware versions.
- You can't mount a virtual disk that is currently being used by a running or suspended virtual machine.
- You can't mount a virtual disk if any of its .vmdk files are compressed or have read‐only permissions.
- You can only mount FAT (12/16/32) or NTFS volumes on a Windows host. It is possible to mount a Linux file system, but once the virtual disk is mounted as a drive letter, Windows will try to format the new disk, which probably isn't a good idea. If you want to mount a Linux virtual disk you need a Linux host.