Run Linux in VMware

Overview

VMware offers two main products: VMware Workstation Pro (now free for personal use) for Windows/Linux hosts, and VMware Fusion for macOS. Both provide excellent performance and integration features.

What You Need

Create a New Virtual Machine

  1. Click Create a New Virtual Machine
  2. Select "Installer disc image file (iso)" and browse to your Linux ISO
  3. Guest OS type is auto-detected — confirm it's correct
  4. Name the VM and choose storage location

Configure Hardware

Install Linux in the VM

  1. Power on the VM — it boots from the ISO
  2. Follow the installer prompts for your distribution
  3. Select "Erase disk" (safe — only erases the virtual disk)
  4. Create user account and set password
  5. Complete installation and reboot

Install VMware Tools / Open-VM-Tools

# Inside the Linux VM, install open-vm-tools
# Ubuntu/Debian:
sudo apt install open-vm-tools-desktop fuse

# Fedora/RHEL:
sudo dnf install open-vm-tools-desktop fuse

# Enable auto-mount for shared folders
sudo systemctl enable --now open-vm-tools

This enables better graphics, shared clipboard, and drag-and-drop.

Useful VMware Features

Shared Folders

  1. VM → Settings → Options → Shared Folders
  2. Add a host folder and check "Enable" and "Make permanent"
  3. The folder appears at /mnt/hgfs/foldername in the guest

Snapshots

VM → Snapshot → Take Snapshot — save the VM state before risky changes.

Clone VM

VM → Manage → Clone — create an exact copy for testing.

Unity Mode (Windows) / Fusion Mode (macOS)

Run Linux applications side-by-side with host apps without seeing the full VM window.

Host-Specific Notes

Windows Host

macOS Host (VMware Fusion)

Linux Host (VMware Workstation Player)

Troubleshooting