While not as popular, VMware does offer Desktop Virtualization options as well in the form of VMware Workstation (Windows, Linux) and VMware Fusion (macOS), and these are the ones we’ll be discussing today. Specifically, we’ll talk about getting started with these hypervisors, their working mechanisms, settings and applications, and other important topics that you’ll find helpful as a beginner.
VMware Workstation and Fusion
Unlike ESXi, VMware Workstation and Fusion are Type 2 Hypervisors, meaning these are installed on top of a host OS, somewhat like other applications. These are dependent on the underlying OS for resource access, and they aren’t very scalable either. As such, these hypervisors are primarily used for creating a secure and isolated environment to test different operating systems, different programs on different OS’es, or virtual machines with different specs. Next, let’s talk about which one you should use. VMware Workstation is the virtualization solution for Windows and Linux, while VMware Fusion is the Mac equivalent. Both of this software are available as Player (free for non-commercial use) or Pro (premium license) versions. VMware Player is used to run a single VM at a time, primarily for educational purposes. On the other hand, VMware Pro is designed for professional environments and supports additional capabilities such as using multiple VMs concurrently, virtual networking, cloning, and so on. Depending on the platform you’re on and your use cases, you should be able to decide which VMware product to use now. After you’ve made the decision, you can check the appropriate sections below for detailed steps on installing VMware, creating a VM, and configuring the most important settings.
Prerequisites for VMware
First, if you’re downloading VMware Fusion, you’ll probably want to get the recently released Tech Preview (universal) version, as this is intended for both Intel and Apple Silicon Macs, while the older DMGs will only work on Intel-based Macs. If you need to manually enable hardware virtualization on Intel Macs, you can do so by executing sysctl -a | grep machdep.cpu.features in the terminal. Similarly, on Windows and Linux machines, you can enable it via the BIOS. Here are the steps for this: Finally, on Linux, if you’re using a niche distro, you’ll also want to make sure that it’s actually compatible as a host OS for VMware Workstation.
Create A VM in VMware Workstation
Installing VMware Workstation on Windows is simple enough; you simply download and install it like any other application. On Linux, things are slightly more complicated, though. Users often face issues with the installation, particularly when installing VMware Tools afterward. As such, we recommend referring to this in-depth guide on installing VMware on Linux if you need help with that. But in this article, we’ll skip the installation part and dive straight into the steps for creating your first VM: These were the basic steps for creating a VM. Afterward, you’ll generally want to select the VM and click on Edit VM Settings. In the CD/DVD section, you can mount the ISO that you’ll use for installing the guest OS. Once that’s done, you can power on the VM, install the OS, and get started with it. VMware uses Easy Install for a lot of popular operating systems, thanks to which most of the process will be simplified. The exact steps will differ depending on which guest OS you’re trying to install, but we do have an in-depth guide on installing Windows 11 on VMware Workstation if you require it.
VMware Settings in Detail
We discussed how to configure the settings necessary for creating a VM earlier. But that was just the start. You can take the customization a lot further, both in terms of VMware and specific VMs.
General Options and Features
Let’s start with the menu bar.
File: In this tab, you can Scan for Virtual Machines. This will allows you to locate any VMs stored outside of the VM library.Connect to Server: It allows you to remotely access a shared VM hosted on VMware ESX or vCenter Server.Export to OVF: It allows you to convert the VM from .vmx to .ovf format. The OVF format contains full specifications of the VM, which is very useful for migrating VMs.Map Virtual Disk: It allows you to map a virtual disk and make it directly accessible from the host machine.Edit: In this tab, the Virtual Network Editor allows you to manage advanced configurations for the virtual network and adapters.
VMware Preferences
As the name implies, the Preferences are up to the user, but we’ll talk about the most important ones and our recommendations below:
Workspace: In this tab, you can set the default location for VMs. You should also configure whether you want to enable all Shared folders by default, and whether you want to keep VMs running after Workstation closes.Input: In this tab, you can choose how Workstation grabs keystrokes and mouse input.Hotkeys: Here, you can modify various keyboard shortcuts. The important one is Ctrl + Alt, which releases control from the current VM.Display: Here, you can configure hardware acceleration for remote VMs.Unity: This tab allows you to set the Unity applications menu hotkey. This mode allows you to display programs from the VM on the host OS’s desktop.USB: In this tab, you can specify whether a newly connected USB should connect to the host, VM, or you’d like to be asked each time.Updates: In this tab, you can set the update server or manually download software components. You can also enable automatic updates for VMware Tools.Memory: In this tab, you can change the total host RAM available for VMs. If you’re running multiple VMs, you’ll want to set this high. But setting it too high can cause CPU thrashing on the host, and setting it too low will impact the number of VMs you can run and their performance. It’s a matter of finding the sweet spot according to your system specs.Additional Memory Settings: In this section, Fit all VM memory into reserved host RAM makes the VMs run entirely in RAM. The performance will be optimal, but the number of VMs you can run will be limited. Allow some VM memory to be swapped allows the host OS to swap some VM memory to the disk. This will allow the number of VMs and their memory size to be higher, but it can impact individual performance. Allow most VM memory to be swapped is more of the same – even more VMs but reduced performance.
Virtual Machine Settings
Now we’ll go over the additional VM-specific settings and features. Select the VM and click on VM from the Menu bar. The first option worth looking at here is snapshot. As the name suggests, taking a snapshot captures the VM as it is, basically logging everything about its current state. Do keep in mind that snapshots are not backups. If the base disk is deleted, you won’t be able to restore the VM using the snapshot. In the Manage tab, the Clone and Upload options are also worth checking. Upload is self-explanatory – you can upload the VM to a vSphere server. Clone allows you to create a cloned VM, which is a copy of the original with the same hardware and software configurations. A fully cloned VM is independent of the original, and you can make whatever changes you want to the clone. But a linked clone requires access to the original to run. You also can’t delete the original without deleting the linked clone. If you press CTRL + D or click on Edit Virtual Machine settings, you can access some additional options. We already configured most things from the Hardware tab while creating the VM, but the Hard disk section is worth checking again. You can perform operations like defragmentation, expanding the vdisk size, and compacting the vdisk here (return unused space to host). In the Options tab, we first recommend configuring Shared Folders to your preference. Next, you should check Snapshots (when powering off) and AutoProtect (auto snapshot creation). In the Guest Isolation tab, you can drag and drop and copy-paste between host and guest. The Advanced tab has some minor settings you could check, like automatic logging (helpful for troubleshooting) and auto disk cleanup. VMware Workstation versions released prior to Feb 2022 also allow you to virtualize a physical machine. This isn’t something that’s commonly done, but for certain things like server consolidation, it can come in clutch.
Installing VMware Tools
VMware Tools is a set of utilities that enables support for various VMware features like shared folders, shared clipboard, clock synchronization, etc., and most importantly, provides a significant performance upgrade. Installing VMware Tools on Windows guests is pretty straightforward – you just select VM > Install VMware Tools and follow the on-screen instructions in the installation wizard. The same cannot be said for Linux guests. Most popular distributions include Open VM Tools (the open source implementation of VMware Tools) during the OS installation. So generally, VMware Tools is not required. But when you need to manually install VMware Tools, the process is somewhat complicated. As such, we recommend referring to the linked guide for full steps on installing VMware Tools on a Linux guest.
VMware Fusion
VMware Fusion used to be supported on Intel-Macs only, but as we mentioned earlier, the recently released Tech Preview version will work on Silicon Macs as well. The UI may be different, but most of the things we’ve talked about so far, from the steps to create a VM and the various settings, will be similar. But with that said, we do have an in-depth article on VMware Fusion, which includes full steps to install Fusion, and create and configure your first VM, that you may find helpful.