How to Create Virtual Machine from VMDK in VMware
VMware is an excellent software with which you can create virtual machines and spaces. It has extended use within the IT field, as many companies use it to ensure the quality of testing and to improve their business.
The content you keep on your virtual machine’s hard disk is stored in a virtual disk file – a .vmdk file. The number of these files may vary, though they can grow up to 2GB in size. They store the data of a virtual machine, and you can create a VM from them. Here’s how.
Step 1: Create a Virtual Machine
You can download virtual machines from the internet – you don’t always need to create them yourself. However, what you download are .vmdk files that store the VM contents. Unfortunately, they often don’t work. Therefore, creating a VM and then importing a .vdmk file is a better and safer option. Here’s what to do.
- Launch the Workstation on your computer.
- Open the File menu and select New and then Virtual Machine.
- Choose Custom as the type of your machine.
- Select your hardware compatibility preferences and continue.
- On the next screen, choose I will install the OS later, and click on Next.
- Select an already installed OS and its version.
- Pick the name and location for the file where the VM will be stored.
- Select the number of processors, cores, amount of memory, and other properties you want your machine to have. Click on Next to save your preferences.
- Click on a network type that you want for your VM.
- Select the Use an Existing Virtual Disk option.
- Click on Browse and go to the location where the mentioned .vmdk file is.
- Double-check the settings within Summary and select Finish to complete the VM creation.
Step 2: Import the File
When you’ve created a new virtual machine, it’s time to add the .vmdk file to it and boot the operating system. Follow these steps:
- Open the Workstation and the desired virtual machine.
- Power it down and click on the VM button.
- Choose Settings.
- Go to Hardware and click on Add.
- Choose Hard disk and click on Next.
- Select Use an existing virtual disk and continue.
- Click on Browse and find the .vmdk file.
- Select OK, and the file will be imported and attached to the desired virtual machine.
Note that if you use a .vmdk file to create a virtual machine, you won’t be able to use it for another virtual machine. Before it’s locked, make sure you copy the file, in case you wish to use it again later to create another VM.
Sometimes, there won’t be an error in the .vmdk file, and you’ll be able to play it. You need to download the VMware Player to do so natively, though other players may work with .vdmk files too. To download the player and complete the installation, you must create a free account and then restart the computer.
When your computer reboots, use the previously described process to import a .vmdk file to your virtual machine.
VMDK Files and Your Virtual Machine
VMDK files are the critical components of every virtual machine. All the information a VM needs to work correctly is in these files.
Of course, you can create a virtual machine from a .vdmk file you downloaded. However, it is a somewhat unreliable route. It is best to create a VM first, and then import a .vdmk file.
Have you downloaded any .vmdk files from the web? Did you find it complicated to create a virtual machine this way? Share your experience in the comments section below.