Guide

Apple Silicon Virtual Machine Setup 2023

/

7

Learn to set up virtual machines on Apple Silicon using Parallels or UTM. Our guide covers installation, configuration, and running your first virtual machine.
Apple Silicon Chipset M1

Installation for Windows 11 has changed slightly checkout the updated guide.

If you're a developer or tech enthusiast, you may need to use multiple operating systems for projects or personal use.

In this post, we'll cover the setup process for popular operating systems such as Windows and Ubuntu using Parallels, a paid virtualization software and a Free Open source Solution called UTM.

Whether you're a beginner or an experienced user, this guide will teach you how to install and set up each environment quickly and easily on your Apple Silicon Mac.

How do you know if your Mac is running on Apple Silicon?

  1. Click the Apple Icon
  2. Click "About this Mac"
  3. Chip will say "Apple M1" or similar

Parallels

Parallels Virtual Machine Logo
Source: Parallels / Xanzhu

A paid virtualisation software that works natively and is essentially a one-click install of all your favourite Operating Systems.

It offers great tools and makes the whole process smooth as possible.

  1. Vist Parallels.com and download the free trial.
  2. Once installed open "Parallels Desktop".
  3. Now select the operating system you'd like to install.
Parallels Installation Wizard

Note it's ideal to have at least 25-30 GB of free space before installing any operating system.

Windows 11 ARM

Windows will run on the native ARM version as of 2022, simply click on the windows icon and hit install. Parallels will do the rest for you.

The setup process will start by downloading the Operating System, then you'll be booted into the virtual machine where you can begin making adjustments and tweaks to your liking.

  1. Select the Windows Icon and select continue
  2. Download windows, this will take some time
  3. After downloading the virtual machine will automatically start.
  4. Once running you'll be asked to restart the virtual machine to finish installing "Parallels Tools", Press restart.
  5. Windows 11 has now been installed, there will be a shortcut on your Desktop or simply open "Parallels Desktop" to run the virtual machine.

Afterwards, it's ideal to begin updating Windows to the latest version for the most optimal and secure experience.

Ubuntu 22.04

Ubuntu follows the same process of simply clicking on the Ubuntu Icon and selecting install, this will download the application and boot you straight into the virtual machine.

Upon startup, you'll be asked to set a password and then Parallels tools will need to be installed and which requires the virtual machine to restart.

  1. Select the Ubuntu Icon and click continue
  2. Download Ubuntu, this will take some time.
Parallels ubuntu setup wizard
  1. After downloading the virtual machine will automatically start
  2. You'll be prompted to create a password for the login
  3. Once logged in you'll be asked to restart the virtual machine to install "Parallels Tools"
  4. After the virtual machine has restarted, log back in and begin configuring your new Ubuntu Virtual Machine.

It's always good practice to check for updates and ensure you're running the latest versions. This can help with performance and security issues.

Other operating systems are available for you to install such as Kali Linux, Fedora, Debian or your ISO file with some exceptions.

How do you manage or configure your virtual machines?

  1. Open "Parallels Desktop" this may automatically boot into your virtual machine, simply shut it down
  2. Right-click on the Parallels Desktop Application and select "Control Center", here you can add/edit or remove them.
Parallels Virtual Machine Configuration Panel
  1. To add another virtual machine press the plus icon and go through the installation process mentioned above
  2. Deleting a virtual machine right click on the virtual machine and select Remove (Device Name), Device name will be the name of the virtual machine.
  3. Configuring the virtual machine right click on it and select configure, here you can set and adjust the settings you may need. Such as name, external devices, printers, internet connections and more.

UTM

UTM installation wizard
Source: UTM / Xanzhu

UTM is a free tool that does the same thing as parallels but you're in charge of the customisations.

The performance will be relatively stable but needs adjusting to your system. This might not be a good choice if you need a responsive virtual machine without the fuss of configuring every aspect of the software.

  1. Download UTM there is an App store version but this is paid, select download
  2. Open UTM and select "Create a new Virtual Machine"
  3. Select "Virtualize"

Windows 11 ARM / X86

Windows can be installed in many different ways UTM offers an in-depth guide on installing windows.

In this guide, we'll be using the Windows Insider Preview version. This requires an insider account.

Alternatively, you can install the version listed here:

  1. Select Windows
  2. Visit download the latest Windows 11 ARM file from Microsoft
  3. Press Browse and Select the downloaded VHDX file, ensure import VHDX is checked
Installation Settings for UTM windows
  1. Press Continue
  2. Select the amount of RAM, a good rule is to use half of what you're system has ie: 8GB using 4GB
  3. Select storage size: Recommend setting at least 35GB or leaving the default option
  4. Shared directory, here you can specify a folder that will work between the virtual machine and your Mac. This can be set later on.
  5. Summary Page will show all your configured settings and allow you to set a name for your virtual machine.
  6. Press the play button to run the virtual machine for the first time it will take some time to load.

Now installing windows

  1. Select your language
  2. Select your Keyboard
  3. Select a network, if nothing shows up press SHIFT + F10 and press yes and in the command prompt enter the following:
 OOBE\BYPASSNRO
  1. This will restart the Virtual machine, continue through the setup process and once hitting the network section select "I don't have internet"
  2. Continue through the steps, setting name, password, and security questions.
  3. Once you've booted into Windows 11 open the file explorer and select the CD drive, double click on install spice-guest-tools
File explorer windows 11
  1. Select Reboot and you now have a working Windows 11 virtual machine.

Following the official method provided by UTM and utilising the UUP downloading would be recommended to allow for future and ongoing support.

This article will be updated with that method in future.

Ubuntu 22.04

Installing Ubuntu can be a lengthy process in this guide we'll need to install the server version first and then proceed to install a desktop.

  1. Open UTM and select "Create a new Virtual Machine"
  2. Select "Virtualize"
  3. Select Linux
  4. Download Ubuntu, open UTM and press browse
  5. Press browse and select the downloaded Ubuntu Server ISO file
  6. Select Continue
  7. Select the Amount of Memory (RAM) to use
  8. Select the Storage amount to leave as default for this to be automatically managed.
  9. Shared directory, add a folder to be shared between operating systems.
  10. Summary will show all the configured options
  11. Run the virtual machine by pressing the play button
  12. Select the first option "Try or install Ubuntu" this will take some time to load.
  13. Select your language and press ENTER
  14. Select Keyboard layout and press ENTER
  15. Type of installation press ENTER
  16. Network Connections press ENTER
  17. Configure Proxy press ENTER
  18. Configure Ubuntu Archive Mirror press ENTER
  19. Guided Storage. Press DOWN ARROW until "Done" is highlighted and press ENTER
  20. Storage configuration.. press ENTER
  21. Confirm Destructive Action DOWN_ARROW and press ENTER to continue
  22. Profile Setup.. set your name and passwords then press DOWN_ARROW and then press ENTER
  23. SSH Setup.. press DOWN_ARROW and then press ENTER
  24. Featured Server Snaps.. press DOWN_ARROW and then press ENTER to continue
  25. The installation will now install
Linux server installing display
  1. Once this is completed press the DOWN_ARROW so "Reboot now" is highlighted and press ENTER
  2. Once the screen goes black wait a couple of minutes and then up the top select the disc icon and eject the ISO file.
  3. Now restart the virtual machine by pressing the triangle or closing and re-opening the virtual machine.
  4. Once rebooted log in and you have a working Linux Server. Everything will be command-line based.
  5. To install a desktop, log in first and then type the following commands:

Update packages:

sudo apt update

Install the desktop, it takes a little while...

sudo apt install ubuntu-desktop

Reboot the virtual machine:

sudo reboot
  1. After rebooting, log in and that’s it!

UTM provides a vast range of pre-build virtual machines spanning all types of operating systems. Which can work on the "Emulation" option. Lots of options and completely free to use.


Other solutions

While these are two popular choices and ones I've personally used. As ARM gets more adoption from Microsoft and other competitors more tools and software will come.

Linux at the moment is making fantastic moves to get Apple Silicon's Hardware working natively and being able to utilise all aspects of the Chipset acting as a bare metal solution.

Asashi Linux provides the groundwork for future installations of Linux-based Operating systems which will eventually allow a smooth bare metal experience and end reliance on virtual machines.