aeeble aeeble

Login

Set up an Ubuntu practice machine on an Apple silicon Mac with UTM

If you want to try Linux commands before using them at work, a virtual machine gives you an Ubuntu session on your Mac. UTM is an open-source app for creating and running virtual machines. This setup uses an Apple silicon Mac and the ARM64 Ubuntu Server installer.

UTM also emulates older processor architectures such as PowerPC and x86, which lets it run systems built for those processors. The macOS installation guide links to the free GitHub download and the paid Mac App Store version.

Match the installer to the chip

Open About This Mac from the Apple menu to check the chip and installed memory. If the chip is listed as Apple silicon, download the standard Ubuntu Server ISO from Canonical’s ARM download page. UTM uses hardware virtualization to run an ARM64 guest on these Macs. Plan how much memory and disk space you can spare while macOS is still running.

Start the installer and check your first login

Open UTM and create a new virtual machine. Choose Virtualize, then Linux, and select the Ubuntu ISO as the installation media. Choose an amount of memory and virtual disk space, give the machine a recognizable name and start it. The UTM Ubuntu guide shows this wizard using Ubuntu 22.04 as its example.

Follow the Ubuntu installer inside the virtual machine. If the first restart stalls or takes you back to the installer, turn off the virtual machine, remove the ISO from its virtual drive, and start it again to boot from the installed system. Once you can log in to the Ubuntu console, you have a session for your practice commands. Keep a note of the Ubuntu release and the resources you assigned to the machine so you can revisit those choices later.

Images
Ratings
Related Lists