Technical Anshu Home › Tutorials › Ubuntu on ESXi
🖥️ ESXi Virtualization

Ubuntu Virtualization on ESXi - Setup, Configure, Troubleshoot

ESXi is the bare-metal hypervisor that carves one host machine into many virtual machines. This guide creates an Ubuntu VM the right way — EFI firmware, a thin disk you monitor, a VMXNET3 network adapter and open-vm-tools after install — then maps the common problems to their fixes.

✍️ Technical Anshu🖥️ VMware ESXi🎧 Multi-Language Audio
Ubuntu Virtualization on ESXi - Setup, Configure, Troubleshoot
🎧 Multi-Language Audio: In the video player, click [Settings] (⚙️) ➔ [Audio track] to select your preferred audio.

📑Chapters

  1. Before you start — what the ESXi host needs (web client, virtualization switched on, datastore space, Ubuntu ISO)
  2. Creating the virtual machine in the ESXi web client
  3. The four settings that decide everything — firmware, disk provisioning, network adapter and size
  4. Installing Ubuntu inside the virtual machine
  5. First boot jobs — open-vm-tools and system updates
  6. Verifying the VM from the host — IP address, hostname and graceful shutdown
  7. Troubleshooting — matching each symptom to its fix

📋 Overview & Step-by-Step Guide

1

Before You Start — What the Host Needs

Three things must be true before the creation wizard opens. First, ESXi itself is installed on the host and you can reach its web client — the host machine is now a hypervisor, not a normal PC, so everything happens through that web interface. Second, the host BIOS has CPU virtualization (Intel VT-x or AMD-V) switched on; without it, 64-bit guests will refuse to run. Third, you need space and an image: a datastore with free space (a first Ubuntu VM is comfortable in 40 GB) and the Ubuntu ISO uploaded to that datastore through the Datastore browser. Pick a current LTS release so the VM gets years of updates.

📌 An honest note on ESXi licensing: nothing in this guide needs a paid feature — creating VMs, consoles, snapshots and OVF export all work on a standalone host. But after Broadcom bought VMware, the old free ESXi was withdrawn in early 2024, and a free edition later returned with ESXi 8.0 Update 3e in 2025, aimed at labs and non-production use, without vCenter management and with limits such as a cap on vCPUs per VM and no support. Paid licensing is now subscription-based and priced per core. Terms have changed more than once, so check Broadcom's current licensing page before building anything serious on an assumption.
2

Create the Virtual Machine

In the ESXi web client, choose Create / Register VM and then Create a new virtual machine. The choices that matter: give the VM a name that says the job (like ubuntu-files or ubuntu-test, not "VM 3"); leave Compatibility at the host default — a higher virtual hardware version unlocks newer virtual devices, and lowering it only matters when a VM must move to an older host; set Guest OS family: Linux and version: Ubuntu Linux (64-bit) — this is not decoration, it presets sensible virtual hardware for Ubuntu; and pick the datastore with room on it. On the customize screen, set CPU, memory, disk, network and firmware as the next step explains.

3

The Four Settings That Decide Everything

Firmware: EFI. Modern Ubuntu expects EFI, EFI is what enables Secure Boot, and it is the ESXi default for new Linux VMs. Legacy BIOS still works for Ubuntu, but treat the choice as permanent — an installed OS expects the firmware it was installed under.

Disk: thin provisioned. A thin disk grows as Ubuntu writes data, so a 40 GB disk might use 12 GB on day one. Thick provisioning reserves the full size up front — safer for critical servers, wasteful for labs.

Network adapter: VMXNET3. It is VMware's own virtual network card, built for virtual machines, and Ubuntu carries its driver in the kernel. The emulated E1000E also works and is the fallback for odd cases.

Size: start small. 2 vCPU and 4 GB RAM run Ubuntu Server happily and Desktop acceptably. You can add more later in a minute; an oversized VM mostly wastes the host.

⚠️ Watch thin disks: thin provisioning means the datastore must be monitored, because ten thin disks can promise more space than the datastore actually holds — and a datastore that fills up stops every VM on it.
4

Install Ubuntu

Attach the ISO to the VM's CD/DVD drive, tick Connect at power on, power the VM on and open the console. Ubuntu's installer behaves exactly as it does on a physical machine. Choose Server or Desktop — Server for services and learning the terminal, Desktop only if you truly need the graphical environment. Let the installer use the whole virtual disk; it is a file on the datastore, nothing physical is being erased. Create your user, set a strong password, and on Server installs tick the OpenSSH server option so you can log in remotely afterwards. When the install finishes, reboot — and disconnect the ISO from the CD/DVD drive.

✅ Boots back into the installer? If the VM boots to a black screen or into the installer again, the cause is almost always the ISO still attached or the boot order — not a broken install.
5

First Boot Jobs — open-vm-tools and Updates

A fresh Ubuntu VM works, but ESXi is half blind to it: the host summary shows no IP address, and "shut down" from the host is a hard power cut, not a clean shutdown. The fix is one package from Ubuntu's own repository — VMware's recommended route for Ubuntu. Do not use the old ISO-based VMware Tools installer in the ESXi menu; for Ubuntu, open-vm-tools is the supported path and it is kept current by Ubuntu's normal update system.

Ubuntu Terminal
sudo apt update
sudo apt install open-vm-tools

On Desktop installs, also add the desktop package: sudo apt install open-vm-tools-desktop — it is what makes console resolution, copy-paste and drag-and-drop behave. Then confirm the service is running and finish with the normal updates:

Ubuntu Terminal
sudo systemctl status open-vm-tools
sudo apt upgrade

The status should show the service active and running. This one package is what gives the host the guest IP address and hostname, enables graceful shutdown from ESXi, and decides how time sync and quiesced snapshots behave.

6

Verify the VM from the Host

Refresh the VM's summary page in the ESXi web client: the guest IP address and hostname now appear, which proves open-vm-tools is talking to the host. Test a graceful shutdown from the host — Ubuntu should power off cleanly instead of being cut. From here, do daily work over SSH rather than living inside the console; the console is for installs and emergencies, SSH is faster and gives you a proper terminal.

✅ The standing rule: the creation wizard takes two minutes and decides the next two years. EFI firmware, a thin disk you actually monitor, a VMXNET3 adapter and open-vm-tools after install — get those four right and Ubuntu on ESXi is boring in the best way.
7

Troubleshooting — Match the Symptom to the Fix

When an Ubuntu VM misbehaves, the symptom usually names its own cause. Work this map in order:

VM will not boot, or boots the installer again — the ISO is still connected, the boot order is wrong, or the firmware was changed after install. No network — check the adapter type and port group first, then inside Ubuntu check whether the network configuration still points at an old MAC address. Host shows no IP and shutdown is a power cut — open-vm-tools is missing or stopped; reinstall it as in Step 5. Console tiny, laggy or clipboard dead — a console/display setting issue; for daily work, use SSH instead. Clock drifting — fix time sync with NTP inside Ubuntu. Everything slow — the host is over-committed; compare total vCPU and RAM given to VMs against the physical machine before blaming Ubuntu.

Two quick checks inside Ubuntu cover most of the detective work — your network addresses and interfaces, and the clock state:

Ubuntu Terminal — Quick Checks
ip a
timedatectl

Most "ESXi problems" turn out to be one setting, one package, or one honest hardware limit.

🏷️Topic Search Variables & Keywords

🔍 VMware ESXi 🔍 Ubuntu VM 🔍 Virtualization 🔍 open-vm-tools 🔍 VMXNET3 🔍 Thin Provisioning 🔍 EFI Firmware 🔍 Hypervisor 🔍 Datastore 🔍 Ubuntu Server 🔍 ESXi Troubleshooting 🔍 TechnicalAnshu
🎙️ Full Transcript — tap to expand

(The transcript could not be loaded from the source tutorial page while this page was being prepared — the page fetch timed out — so no transcript is reproduced here rather than risk publishing text that does not belong to this video. The step-by-step guide above follows the video's topic: Ubuntu virtualization on ESXi — setup, configuration and troubleshooting. Watch the video above for the full walkthrough in Technical Anshu's own words.)

❓ Frequently Asked Questions

Is this tutorial 100% free to follow?

Yes! All guides and methods demonstrated by Technical Anshu use free, legal, and educational resources.

Can beginners follow this guide?

Absolutely! Every step is demonstrated on-screen with detailed instructions so anyone can follow along easily.

Where can I ask questions if I get stuck?

Leave a comment directly on the YouTube video, and our community and Technical Anshu will help you out.

🚀 Watch the Full Tutorial on YouTube

🚀 Watch the full step-by-step video tutorial on YouTube: https://www.youtube.com/watch?v=X7dOe48NbYA

Subscribe to Technical Anshu for IT support, Windows troubleshooting, and server management.

▶️ Watch Full Video
This tutorial is based on Technical Anshu's Ubuntu Virtualization on ESXi video • Stuck on any step? Ask in the video comments — you will get help there 🙏