In deze post lees je hoe je via de bashshell en via de gui in Workstation een VMDK kunt mounten.
Before you begin to map a virtual disk, make sure that all virtual machines that use the disk are powered off. Also, take the following considerations into account:
- You can mount volumes formatted with FAT (12/16/32) or NTFS only. If the virtual disk has a mix of partitions (volumes) where, for example, a partition is unformatted or is formatted with a Linux operating system and another partition is formatted with a Windows operating system, you can mount the Windows partition only.
- You can mount a virtual disk that has a snapshot, but if you write to the disk, you can irreparably damage a snapshot or linked clone previously created from the virtual machine.
- You cannot mount a virtual disk if any of its .vmdk files are compressed or have read-only permissions. Change these attributes before mounting the virtual disk.
Linux
Onder linux (Ubuntu) werkt het als volgt:
Maak eerst een directory aan, waar je de mount naar toe wilt verwijzen:
sudo mkdir /media/vmdk
Daarna kun je via het volgende commando de vmdk mounten:
sudo vmware-mount /path/to/vm.vmdk /media/vmdk
unmounten gaat als volgt:
sudo vmware-mount -d /media/vmdk/
Mocht het unmounten niet lukken dan kun je het forceren via het volgende commando:
sudo vmware-mount -x of -X
Windows
Start VMware Workstation.
File – Map or Disconnect Virtual Disks…
Daarna blader je naar de .vmdk die je wilt toevoegen en geef je de Drive letter aan.
nadat je op OK hebt klikt wordt de vmdk geopent.
Als je klaar bent kun je de vmdk ook weer unmounten via dezelfde wizard.