Virtual Ubuntu¶
A virtual machine can work, but it adds another layer of complexity. Use a VM only if you specifically want isolation from your daily machine.
VM on Windows 11¶
- Install VMware Workstation Pro 25
- Download Ubuntu 25 ISO
- Standard configuration
- Install updates after creation
| Setting | Recommended |
|---|---|
| CPU | 4+ vCPU |
| RAM | 16 GB |
| Disk | 40 GB |
| Processors | 1 socket, 8 cores |
VM on macOS¶
- Install VMware Fusion Pro 25
- Download Ubuntu 25 ISO
- Standard configuration
- Install updates after creation
Shared folders between host and guest¶
Sharing a folder lets you move files between your Windows or macOS host and the Ubuntu guest without using the network.
VMware Workstation (Windows host)¶
- Create a folder on Windows to use as the share (e.g.
D:\VMshare). - Power down the virtual machine.
- Select the VM and open Edit virtual machine settings.
- Go to Options > Shared Folders.
- Select Always enabled, click Add, and browse to the folder you created.
- Enable the share, click Finish and OK.
- Boot the VM.
Inside Ubuntu, the shared folder should appear at:
If /mnt/hgfs is empty, mount it manually:
If /mnt/hgfs does not exist at all:
To list available shared folders:
To make the mount persist across reboots, add this line to /etc/fstab:
VMware Fusion (macOS host)¶
The same Shared Folders setting is available under the VM's Settings > Sharing. The guest-side mount path and commands are identical.
Reference: Share folders between Windows host and Ubuntu guest
Things to watch out for¶
- Networking between host and guest can be tricky
- Docker inside a VM adds an extra layer
- USB and GPU passthrough may not work as expected
Once the VM is running with Ubuntu, follow the same installation path as a dedicated Ubuntu machine.
Next steps¶
- OpenClaw path: AI Models then OpenClaw Prerequisites
- NemoClaw path: NemoClaw Prerequisites