Get AI summaries of any video or article — Sign up free
VMware on a Raspberry Pi!?!?! (ESXi Install) thumbnail

VMware on a Raspberry Pi!?!?! (ESXi Install)

NetworkChuck·
6 min read

Based on NetworkChuck's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.

TL;DR

ESXi can be installed on a Raspberry Pi by preparing the microSD with Raspberry Pi firmware and UEFI files, then booting an ESXi ARM installer ISO from USB.

Briefing

Running VMware ESXi on a Raspberry Pi turns a credit-card-sized computer into a small, server-style virtualization host—complete with vSphere management, multiple virtual machines, and even clustering across several Pis. The core takeaway is that ESXi (a type-1 hypervisor) can be installed onto the Pi’s storage media and then managed through VMware’s familiar web interface, letting learners practice enterprise virtualization concepts without the cost and complexity of traditional lab hardware.

The walkthrough starts by “slicing” the Raspberry Pi’s hardware resources—CPU, memory, and storage—so multiple guest operating systems can run at the same time on one physical device. After that framing, the process becomes practical: the Pi is prepared with Raspberry Pi OS Lite, updated over the network, then the microSD card is erased and repopulated with Raspberry Pi firmware files (including both standard firmware and UEFI firmware). A key configuration tweak is added to the firmware’s config.txt: setting gpu_mem to 16 to optimize the Pi for the ESXi environment.

ESXi installation then shifts to removable media. A VMware ESXi ARM installer ISO is downloaded from VMware using a free account, written to a small USB flash drive (with Rufus on Windows, Etcher on macOS, or equivalent tools on Linux), and booted on the Pi. Before the installer runs, the Pi’s firmware settings are adjusted to remove a RAM limitation: the configuration menu shows only 3GB available on an 8GB Pi, so that cap is disabled and the system is rebooted. During boot, the installer command is modified with auto partitioning and a specified OS data size (set to 8192MB) so ESXi doesn’t consume the entire USB drive—leaving space for virtual machine storage.

After ESXi is installed to the larger USB drive, the Pi is rebooted and the boot order is changed so the system starts from the ESXi USB device. From there, the ESXi web portal is accessed over Ethernet using the Pi’s DHCP-provided IP address. Login uses the root account and the password set during installation, and a datastore is available for VM files.

The next phase demonstrates real virtualization: ARM-compatible OS images (such as Ubuntu Server for ARM) are uploaded to the datastore as ISO media, then a new VM is created and powered on. Additional VMs are added to show that the Pi can host multiple workloads at once—though performance is naturally limited by the hardware. The workflow also scales out: two Raspberry Pis can be managed together via vCenter, then grouped into a cluster (the “twins”) for higher-level management features.

Finally, the guide addresses storage constraints common to small hosts. Network-attached storage (example: Synology via NFS) is suggested for running VMs more reliably. When local USB storage is needed, VMware’s USB arbitrator is disabled via SSH so a plugged-in USB drive can be used as an ESXi datastore instead of being passed through to virtual machines. The result is a functional, expandable ESXi lab built from inexpensive hardware—ideal for learning vSphere, storage concepts, and clustering without enterprise equipment.

Cornell Notes

The process demonstrates how to install VMware ESXi (a type-1 hypervisor) on a Raspberry Pi by preparing the microSD card with the right Raspberry Pi firmware/UEFI files, then booting an ESXi ARM installer ISO from a USB flash drive. A crucial step disables a RAM cap in the Pi configuration so an 8GB Pi can use its full memory. ESXi is installed to a larger USB drive with auto-partitioning set so the hypervisor doesn’t consume all space, leaving room for VM storage. After installation, the ESXi web portal is accessed over Ethernet, ARM-compatible ISOs (like Ubuntu Server for ARM) are used to create and run virtual machines, and multiple Pis can be managed and clustered through vCenter. This matters because it enables hands-on enterprise virtualization practice on low-cost hardware.

Why does the guide emphasize firmware/UEFI preparation before installing ESXi?

ESXi on Raspberry Pi relies on the Pi boot chain being set up correctly. The microSD card is first flashed with Raspberry Pi OS Lite, then erased and repopulated with Raspberry Pi firmware files and UEFI firmware files. The guide copies all files from the firmware boot folder into the erased microSD, deletes four kernel.* files that aren’t needed, then copies the UEFI firmware v120 contents into the same USB/microSD target. It also edits config.txt to add gpu_mem=16, which the guide uses to optimize the Pi for the ESXi environment.

What RAM issue appears on an 8GB Raspberry Pi, and how is it fixed?

During boot/config, the system reports only 3072MB (3GB) of RAM even on an 8GB model. The guide navigates to Raspberry Pi configuration → advanced configuration, finds a setting that limits RAM to 3GB, and changes it to Disabled. It then saves (F10, confirm with Y) and reboots, pressing Escape again to reach the installer boot flow.

How does the installer avoid consuming the entire USB drive?

The ESXi installer boot command is modified by appending auto partition and an OS data size value: auto partition os data size equals 8192. This ensures ESXi uses only about 8GB for the hypervisor/system area, leaving the remaining space on the larger USB drive for VM storage (so a second USB drive isn’t required just to store virtual machines).

How are virtual machines created and installed after ESXi is up?

After logging into the ESXi web portal (root user with the configured password), the user creates a VM using the Create/Register VM flow. The guest OS family is set to Linux, and an ARM-compatible ISO (example: Ubuntu Server for arm) is uploaded to the datastore. In the VM settings, the CD/DVD drive is pointed to the datastore ISO file, connected, and the VM is powered on to run the OS installer inside the virtual machine.

What’s the purpose of disabling the USB arbitrator?

When a USB device is plugged into the Pi running ESXi, VMware may try to route USB devices into virtual machines (USB passthrough behavior). To use a USB drive as extra storage for a datastore, the guide stops the usb arbitrator service via SSH (service stop command) and then disables it persistently using chkconfig usb arbitrator off. After that, the USB drive can be partitioned (clear partition table, then create a new VMFS datastore using full disk).

How does scaling beyond one Pi work in this setup?

The guide uses vCenter to manage multiple ESXi hosts. It adds each Pi’s ESXi host IP to vCenter, then creates a cluster (named “the twins”) and adds the existing hosts to that cluster. It notes that more configuration is needed for a production-grade cluster, but the lab demonstrates enterprise-style management and clustering concepts on inexpensive hardware.

Review Questions

  1. What specific firmware and config steps on the microSD card are necessary before booting the ESXi installer?
  2. Why is the ESXi installer command modified with auto partition and an OS data size value, and what problem does it prevent?
  3. How does disabling the USB arbitrator change how USB devices can be used on the ESXi host?

Key Points

  1. 1

    ESXi can be installed on a Raspberry Pi by preparing the microSD with Raspberry Pi firmware and UEFI files, then booting an ESXi ARM installer ISO from USB.

  2. 2

    An 8GB Raspberry Pi may show only 3GB due to a RAM limit setting; disabling that cap is required before installation.

  3. 3

    Use auto partition with an OS data size of 8192MB so ESXi doesn’t fill the entire USB drive and leave space for VM storage.

  4. 4

    After installation, manage the host through the ESXi web portal over Ethernet, then create VMs using ARM-compatible ISOs stored on the datastore.

  5. 5

    vCenter can manage multiple Pi-based ESXi hosts and group them into a cluster for lab-style enterprise virtualization practice.

  6. 6

    For additional local storage, stop and disable the usb arbitrator so USB drives can be formatted into VMFS datastores instead of being passed through to VMs.

  7. 7

    Network storage (e.g., NFS from a NAS like Synology) is presented as a practical way to overcome flash/USB storage limitations on small hosts.

Highlights

A Raspberry Pi can run VMware ESXi as a type-1 hypervisor and be managed through the standard vSphere-style web interface.
The installer flow includes a RAM-cap fix: an 8GB Pi can incorrectly report 3GB until the advanced configuration limit is disabled.
Auto partition with os data size equals 8192 prevents ESXi from consuming the whole USB drive, preserving space for virtual machines.
Disabling the usb arbitrator lets a USB drive become an ESXi datastore, enabling “add storage” on a tiny host.
vCenter can add multiple Pi-based ESXi hosts and cluster them (the “twins”) for multi-host lab experimentation.

Topics

  • VMware ESXi on Raspberry Pi
  • ARM virtualization
  • vSphere and vCenter
  • USB datastore
  • UEFI firmware
  • Clustering

Mentioned

  • David Bomble
  • Jeremy Charro
  • ESXi
  • UEFI
  • VMFS
  • NFS
  • vSphere
  • vCenter
  • DHCP
  • ISO
  • EULA
  • NAS
  • CPU
  • GPU
  • VM