For the complete documentation index, see llms.txt. This page is also available as Markdown.

5.1 Installing FreeBSD with VMware Workstation Pro

VMware Workstation Pro is a Type-2 hypervisor that runs on top of the host operating system, utilizing binary translation and hardware-assisted virtualization (based on Intel VT-x or AMD-V technology) to virtualize the x86 instruction set.

Tip

Starting November 11, 2024, Broadcom announced that VMware Workstation Pro is free for all users (personal, educational, and commercial use), with no license key required. Select the free version at the license key screen during installation. The free policy applies to Workstation Pro 17.5.2 and later versions.

Video Tutorial

The following video tutorial demonstrates the process of installing VMware Workstation Pro 17 on Windows 11:

Chinese FreeBSD Community (CFC). 001-Windows 11 Installing VMware 17[EB/OL]. [2026-04-04]. https://www.bilibili.com/video/BV1Qji2YLEgS.

Image Download

Before starting the installation, you need to download the FreeBSD installation media image first.

Tip

Virtual machines can also use the virtual machine images officially built by FreeBSD. These images are pre-configured and require manual disk expansion when used. The file system can be either UFS or ZFS.

Virtual machines typically use ISO disc images with filenames and extensions like FreeBSD-15.0-RELEASE-amd64-disc1.iso, but FreeBSD-15.0-RELEASE-amd64-memstick.img is not limited to USB flash drive flashing; virtual machines can also use it. For specific usage methods, refer to other sections.

Configuring the Virtual Machine

After downloading the image, create a new virtual machine in VMware Workstation Pro.

VMware Installing FreeBSD
VMware Installing FreeBSD
VMware Installing FreeBSD

Be sure to select "I will install the operating system later", otherwise it may cause boot issues.

VMware Installing FreeBSD

Select "Other", then select FreeBSD.

Tip

In test environments, selecting other operating system types can also boot normally, but to maintain configuration consistency and avoid potential compatibility issues, it is recommended to select FreeBSD. For older versions of FreeBSD, legacy VMware Tools (the closed-source version) may have compatibility issues.

VMware Installing FreeBSD

Virtual machines typically occupy a large amount of disk space. If you do not want the system drive (such as the C drive) to run out of space, adjust the virtual machine's storage location yourself.

VMware Installing FreeBSD

Adjust the maximum size of the virtual disk according to your actual needs. The default value may be too small. If you plan to install a graphical desktop environment, it is recommended to allocate at least 20 GB of disk space.

VMware Installing FreeBSD
VMware Installing FreeBSD
VMware Installing FreeBSD

The default 256 MB of memory is sufficient to boot the system, but is not suitable for daily use. The minimum recommended configuration is 512 MB.

VMware Installing FreeBSD

The default 1 CPU core can boot, but for better performance, it is recommended to adjust based on the host machine's resources.

VMware Installing FreeBSD

At "Use ISO image file", click "Browse", locate and select the downloaded FreeBSD-15.0-RELEASE-amd64-disc1.iso file.

VMware Installing FreeBSD

Tip

Testing has confirmed that FreeBSD also supports VMware graphics drivers in UEFI environments.

Warning

FreeBSD Bug 250580 – VMware UEFI guests crash in virtual hardware after r366691[EB/OL]. (2020-10-24)[2026-04-04]. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250580. FreeBSD 11-RELEASE/12-RELEASE may fail to boot in VMware's UEFI environment. Testing has confirmed that FreeBSD 13.0-RELEASE boots normally.

VMware Installing FreeBSD
VMware Installing FreeBSD
VMware Installing FreeBSD

Network Settings

Use NAT mode (the default setting). If the virtual machine cannot communicate with the host machine (physical machine), open VMware's "Edit" menu, select "Virtual Network Editor", and click "Restore Defaults" until the configuration returns to normal.

Note

Testing has shown that file transfer speeds between the virtual machine and the host machine are low in bridged mode.

Tip

If "Restore Defaults" does not work and the network adapter list is abnormal (for example, always showing only a single mode), try manually configuring the network as shown in the figure below.

Warning

The "Name" of NAT mode is bound to VMware Network Adapter VMnet8 in the host's Control Panel\Network and Internet\Network Connections, with the default binding being 8. In other words, the "Name" of NAT mode must be set to VMnet8 as shown in the figure below, otherwise the virtual machine will not be able to access the network.

VMware network on FreeBSD

VMware network on FreeBSD

Manual configuration is usually unnecessary. If the network interface inside the virtual machine keeps showing no link, try restarting the host machine, then open VMware's Virtual Network Editor and perform "Restore Defaults" again (manual configuration is not recommended as it may be ineffective).

If you cannot connect to the network, try setting the DNS server to 223.5.5.5 inside the virtual machine. For other network configuration methods, refer to other sections in this chapter.

If you still cannot obtain an IP address via DHCP after configuring bridged mode, try changing the network adapter's "Bridged to" option from "Automatic" to the physical network card currently in use on the host machine.

VMware network on FreeBSD

Virtual Machine Enhancement Tools and Graphics Driver

The open-source implementation of VMware's paravirtualized drivers, open-vm-tools, provides shared folders, clipboard sharing, time synchronization, and other features through proprietary protocols such as HGFS (Host-Guest File System), improving the virtual machine's I/O performance and user experience.

To achieve good integration between the virtual machine and the host, install xf86-video-vmware (VMware graphics driver) and xf86-input-vmmouse (VMware virtual mouse driver). The pkg command is as follows:

Alternatively, compile and install using the Ports system:

Note

If graphical interface support is not needed, you can install the version without X11 dependencies (still the Port emulators/open-vm-tools):

After installation, the virtual machine screen auto-resize feature typically works without additional configuration.

Note

This driver must be installed even in Wayland environments.

Tip

If the screen display is abnormal (too large), try the following: Edit virtual machine settings → Hardware → Display → Monitor → Specify monitor settings → Maximum resolution of any monitor, set it to the host's resolution or slightly lower than the host's resolution. For specific steps, refer to the troubleshooting section.

Mouse Integration: Free Mouse Switching Between Host and Virtual Machine

Please install the graphics driver and virtual machine enhancement tools first.

Related file structure:

Edit the /usr/local/etc/X11/xorg.conf.d/xorg.conf file and modify the following sections (keep other parts unchanged):

Shared Folders

Please install the virtual machine enhancement tools (Open VM Tools) first.

Setting Up Shared Folders on the Physical Machine

FreeBSD VMware Shared Folder

Note

In this example, the virtual machine name is shown as "Windows 11" because the virtual machine is configured as a dual-boot system with Windows 11 and FreeBSD, which is normal.

List currently available VMware shared folders:

Loading the fuse Module

Add the following content to the /boot/loader.conf file:

This loads the fusefs kernel module at system startup.

Related file structure:

Mounting

Manual Mounting

Note

Replace 123pan in the following command with the shared folder name configured in VMware.

Mount the VMware shared directory 123pan to /mnt/hgfs:

Automatic Mounting

Edit the /etc/fstab file. Add the following mount entry (replace 123pan with the actual shared folder name):

The system will automatically mount the VMware shared directory.

Mount all unmounted file systems in fstab and check for errors (no error output means normal). Incorrect configuration may prevent the system from booting properly:

Viewing Shared Folders

List the contents of the mounted VMware shared folders:

FreeBSD VMware Shared Folder

The file contents are consistent.

References

Troubleshooting and Outstanding Issues

You may encounter the following issues when installing and running FreeBSD with VMware.

Note

When remotely connecting to another Windows desktop via Windows Remote Desktop or other XRDP tools, and then operating FreeBSD through a VMware virtual machine running on that desktop, the mouse may behave abnormally. This is a known phenomenon.

  • Every time you enter the graphical interface, the window becomes abnormally enlarged.

Adjusting the virtual machine's maximum resolution can resolve this issue.

VMware Installing FreeBSD

Hardware → Display → Monitor → Specify monitor settings → Maximum resolution of any monitor (M), change from the default maximum 2560 x 1600 (2.5K / WQXGA) to a smaller value, or customize the value.

  • No sound

Since the default volume is low, if there is still no sound after loading the sound card, turn the volume to the maximum and test again.

Last updated