UTM Logo

This guide is designed to only work with Apple Silicon Macs.

Downloads

Instructions

  1. Open UTM and create a new virtual machine.

Step 1

  1. Give the VM a name and optionally choose an icon.

Step 2

  1. In System, select the “ARM64 (aarch64)” architecture, and specify the amount of memory. At least half of your computer’s total memory is recommended for performance.

Step 3

  1. In Drives, create a new drive. This will be your install drive. It is recommended to give it at least 10,240 MB (10 GB).

Step 4

  1. Create another drive. This will be the installation disk drive. Make sure “removable” is checked.

Step 5

  1. Save the VM and select it in the sidebar. Click the Browse button on the bottom right and select the Ubuntu installation ISO.

Step 6

  1. Start the VM and choose to install Ubuntu server. Follow the installation wizard, all the default options are recommended.

Step 7

  1. At the end of the installation, the screen will be black with a blinking cursor. Eject the ISO with the CD icon on the toolbar. Press the restart icon on the toolbar (third from the left) to restart into your installed Ubuntu.

Installing Ubuntu Desktop

At the end of the installation, you will have Ubuntu Server installed without any GUI. To install Ubuntu Desktop, log in and run:

$ sudo apt install tasksel
$ sudo tasksel install ubuntu-desktop
$ sudo reboot

(Note tasksel may fail the first time and you can just run it again.)

Enable clipboard and directory sharing

With the VM turned off, open the settings, and make sure these two options are checked.

Sharing

$ sudo apt install spice-vdagent spice-webdavd

Your shared directory shows up as a WebDAV server on http://127.0.0.1:9843/. You can use a WebDAV client to access it, or mount.davfs to mount it.