How to Install macOS Sonoma in a Virtual Machine with UTM

Jan 9, 2024 - 7 Comments

How to install and run macOS Sonoma in a virtual machine with UTM

You can install and run macOS Sonoma in a virtual machine, for free, with the use of UTM. UTM runs on Macs, iPhones, and iPads, but we’re going to focus specifically on installing macOS Sonoma in a UTM virtual machine running on a Mac.

Yes this means you can run a virtualized macOS Sonoma installation atop macOS Sonoma, macOS Ventura, or even macOS Monterey, depending on the version of system software the host operating system is running.

This tutorial will walk through the complete set of steps to install macOS Sonoma into a virtual machine, using UTM on the Mac.

How to Install MacOS Sonoma in a UTM Virtual Machine

We’re going to setup a virtual machine for macOS Sonoma:

  1. Download the latest version of macOS Sonoma IPSW from here (14.2.1 as of this writing, direct download link is here)
  2. Download UTM for Mac for free and install by copying it to the /Applications folder
  3. Launch UTM on the Mac
  4. Choose “Create a New Virtual Machine” or click the + button to create a new virtual machine
  5. How to install macOS Sonoma in a virtual machine with UTM

  6. Choose “Virtualize”
  7. How to install macOS Sonoma in a virtual machine with UTM

  8. Select “MacOS 12+”
  9. How to install macOS Sonoma in a virtual machine with UTM

  10. At the IPSW selection screen, click on “Browse” and select the UniversalMac_Restore.ipsw image file you downloaded earlier
  11. How to install macOS Sonoma in a virtual machine with UTM

  12. Configure the hardware allocation of the virtual machine, it is recommended to set at least the following minimums for performance: 8GB RAM, 4 CPU cores, 64GB of disk space or larger
  13. How to install macOS Sonoma in a virtual machine with UTM

  14. Name the virtual machine to save it, like “MacOS Sonoma” and select “Save”
  15. You’ll now be at the UTM screen again and you can see the MacOS Sonoma VM, so select it and then click on the play/start button to launch the Sonoma virtual machine
  16. When you start the VM you will be asked to confirm if you want to install MacOS and confirm that you do
  17. How to install macOS Sonoma in a virtual machine with UTM

  18. Let the installation of MacOS Sonoma in the virtual machine continue by restoring through the IPSW file, it will not look like a typical macOS installation because it is restoring rather than installing (it may look like it’s spinning but there is a progress indicator in the title bar of the UTM window for macOS Sonoma)
  19. macOS Sonoma is restoring through IPSW but it looks like nothing is happening

  20. When finished installing, macOS Sonoma will boot into the familiar welcome screen of MacOS
  21. How to install macOS Sonoma in a virtual machine with UTM

  22. Go through the typical macOS Sonoma setup process, you’ll soon be on the desktop of a virtualized macOS Sonoma installation within UTM
  23. How to install macOS Sonoma in a virtual machine with UTM

You’re now running MacOS Sonoma, virtualized, in UTM.

This is a full macOS Sonoma installation, with access to the internet, the ability to install system software updates as usual, and if you sign in with an Apple ID you can use all the typical Apple services inside the virtual machine as well. This makes VM’s really useful for testing and development, since it’s basically a virtual Mac, and whatever you do inside the VM won’t impact the host computer (minus any files/folders you decide to share between the two anyway).

Using UTM to install macOS Sonoma into a virtual machine is probably the easiest approach out there, but there are other virtualization options as well, some free, and some paid, with varying features and capabilities. If you’re looking for free solutions, UTM, Viable, and VirtualBox are excellent, whereas if you’re serious about virtualization and want more pro features, you may want to investigate VMWare and Parallels.

While this article is obviously geared towards running macOS Sonoma in a virtual machine atop MacOS, you can also run Sonoma beta in a VM using UTM, run Windows 11 on a Mac with UTM, run Fedora Linux in a Mac VM with UTM, and much more.

If you’re interested in the subject, check out our other articles on virtual machines and UTM.

.

Related articles:

Posted by: Paul Horowitz in Mac OS, Tips & Tricks

7 Comments

» Comments RSS Feed

  1. MattS says:

    So, nobody has a viable suggestion or reason as to why a UTM Sonoma VM errors out when asking for apple ID & pw?

  2. Lee says:

    Why would anybody want to sign into any cloud services on the real computer, let alone the VM? Cloud is just somebody elses server, no thanks

  3. Thomas says:

    sign with an Apple ID is not working!

  4. MattS says:

    Tried it on my MBP M1 Max. Got as far as the OS asking for apple id & pw but when entered, it returns: an unknown error has occurred.

    • Gabe says:

      You can skip signing into iCloud within the VM

      • MattS says:

        Yes you can skip the signing but that leaves you with a operating VM without the ability to access your mail etc. Somewhat lame from my perspective. The real question here is why an ‘unknown error’ happens. Further more can this be fixed?

  5. Expo Bill says:

    this latest Sonoma has small annoyances like not being able to shut off on via the power program as in that past and other menial problems BUT is this fast as Sonoma?
    case in point…
    today I was using a new 4 day old from the box DELL laptop and that was much slower than both my M1s.
    Monterey was a great OS an did would love to return top that, but in 2025 who knows if :apple: will support that.

    seems to me this option would be great for those who run recent programs that worked on Monterey but not Sonoma, other than that this might be a project for fun.

    great article anyways
    please keep up the incredible reports, Paul,
    this site still amazes me!

Leave a Reply

 

Shop on Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site