VMware – Was ist das und wie benutzt man es?

Héctor Louzao, Das Fedora-Dokumentationsteam Version unknown Last review: 2025-03-31

VMware bietet Cloud-Computing- und Virtualisierungssoftware und -dienste an; die wichtigsten Produkte sind:

  • VMware Workstation Player ist eine Virtualisierungssoftware, mit der bestehende virtuelle Appliances ausgeführt und eigene virtuelle Maschinen erstellt werden können (für deren Betrieb ein Betriebssystem installiert sein muss). VMware Player ist für den privaten, nicht-kommerziellen Gebrauch erhältlich.

  • VMware Workstation Pro ermöglicht es Benutzern, virtuelle Maschinen (VMs) auf einem einzelnen physischen Rechner einzurichten und diese parallel zum physischen Rechner zu nutzen. Jede virtuelle Maschine kann ihr eigenes Betriebssystem ausführen, darunter Versionen von Microsoft Windows, Linux, BSD und MS-DOS.

  • VMware Player/Workstation

VMware ist jetzt kostenlos für kommerzielle, Bildungs- und private Zwecke! Die kostenlose Version enthält alle Funktionen der früheren kostenpflichtigen Versionen.

VMware herunterladen

Zum Herunterladen eines beliebigen Produkts
  • Navigate to Broadcom Support: Broadcom Support and create an account.

  • From the Software menu section, select VMware Cloud Foundation then My Downloads.

  • Click on VMware Workstation Player/VMware Workstation Pro.

  • Click on your release.

  • Click Download.

How to Resolve Issues for WORKSTATION and PLAYER (ANY KERNEL + ANY VERSION)

Installation

Player

$ sudo chmod +x ./VMware-Player-x.y.z-nn.x86_64.bundle
$ sudo ./VMware-Player-x.y.z-nn.x86_64.bundle

Workstation

$ sudo chmod +x ./VMware-Workstation-Full-x.y.z-nn.x86_64.bundle
$ sudo ./VMware-Workstation-Full-x.y.z-nn.x86_64.bundle

Resolving Conflict with Kernel

The problem here is always the same vmnet and vmmon doesn’t start well or doesn’t start at all, You should find a PATCH deal with changes in vmmon.c and vmnet.c because something breaks or add some parameters to these files, you can found the following:

  • know what is your kernel version?: uname -r.

  • know your Vmware version or install the latest. /usr/bin/vmware -v

  • Try to find the PATCH for a specific KERNEL version and Vmware.

  • You have to deal with sources ( vmnet and vmmon ) and apply fixed in both of them.

  • Try to find the fix for the specific product Vmware and Kernel version.

This guide try to help with all this boring stuff.

Voraussetzung

$ sudo dnf install kernel-devel kernel-headers gcc gcc-c++ make git

Installation

This repository tracks patches needed to build VMware (Player and Workstation) host modules against recent kernels.

For Example, I would like to Patch Workstation:

wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-x.y.z.tar.gz
tar -xzf workstation-x.y.z.tar.gz
cd vmware-host-modules-workstation-x.y.z
make
sudo make install
Based on your VMware product, replace “x.y.z” with your installed version and/or “workstation” with “player”.

Dealing with Secure Boot and VMware modules

Options are available but for the moment Disable Secure Boot is the best option.

Deal with Kernel Updates

You can create a script to take of this after a kernel update. Save it as /etc/kernel/install.d/99-vmmodules.install:

#!/usr/bin/bash

export LANG=C

COMMAND="$1"
KERNEL_VERSION="$2"
BOOT_DIR_ABS="$3"
KERNEL_IMAGE="$4"

ret=0

case "$COMMAND" in
    add)
       VMWARE_VERSION=$(cat /etc/vmware/config | grep player.product.version | sed '/.*\"\(.*\)\".*/ s//\1/g')

       [ -z VMWARE_VERSION ] && exit 0

       mkdir -p /tmp/git; cd /tmp/git
       git clone -b workstation-${VMWARE_VERSION} https://github.com/mkubecek/vmware-host-modules.git
       cd vmware-host-modules
       make VM_UNAME=${KERNEL_VERSION}
       make install VM_UNAME=${KERNEL_VERSION}

       ((ret+=$?))
       ;;
    remove)
        exit 0
        ;;
    *)
        usage
        ret=1;;
esac

exit $ret

Weitere Ressourcen