UTM¶
UTM is a free, open-source application designed for creating and managing virtual machines on macOS.
UTM offers two distinct operating modes:
Virtualization runs a guest operating system on the same processor architecture as your host computer.
Emulation simulates a different processor architecture, allowing you to run operating systems designed for hardware different from your own.
UTM utilizes QEMU technology and is compatible with both Intel and Apple Silicon-based Macs.
Attention
These instructions and the provided ARM64 virtual machine image are specifically designed for Mac computers with Apple Silicon (M-series) processors.
How to install UTM¶
Download UTM from the official website or retrieve the latest stable release from GitHub.
To install, open the downloaded .dmg file, drag UTM.app into your Applications folder, and launch the program.
Starting with UTM version 4.7, you can import existing images directly through the setup wizard.
How to Create a Machine from a QCOW2 Image¶
For Apple Silicon, ensure you are using a Linux image specifically built for the ARM64 / aarch64 architecture.
Click
File→New...or press the+button to begin creating a virtual machine.Select
Virtualize→Linux.Configure parameters on the
Hardwarepage:RAM. We recommend allocating at least 4 GB. If your system has sufficient memory, 8 GB or more is preferred.
CPU cores. We recommend allocating at least 2 cores. If your system permits, select 4 cores or more.
Graphics. Check
Enable hardware OpenGL accelerationto improve graphical performance within the simulator.
Adjust the following settings on the Linux page:
Ensure the
Use Apple Virtualizationis turned off.In the
Boot Image Typesection, selectImport existing drive.Click
Browse…and select your.qcow2image file.
Click
Continue. You may skip the shared folder configuration for this step.On the
Summarysummary page, enter a name for your virtual machine and clickSave. Wait for the disk import process to finish.Select your new machine from the list and click the
▶button to launch it. Once Linux boots, log in using the credentials provided in the image description.
If the UEFI Shell opens instead of Linux, or if you see an error stating no boot device was found, stop the virtual machine and verify these settings:
Go to
Edit→Drivesand confirm that your.qcow2image is correctly connected as a disk.Ensure the image is intended for the ARM64 and supports UEFI booting.
Verify that
UEFI bootis enabled In theQEMUsection.
Once you have successfully logged into Linux, refer to the Simulator Launch.