macOS-KVM-AIO
A collection of scripts to get a macOS KVM up and running in four commands.
Credit
Most of the hard work was done by Foxlet over at https://github.com/foxlet/macOS-Simple-KVM. This is my attempt of simplifying the process down to four commands.
Requirements
DISCLAIMER: The requirements listed here are for the defaults I have set. All of these scripts can be modified to accomodate for different hardware.
- 4GB of RAM
- 80GB of free storage
- Linux
- A quad-core CPU (AMD and Intel both work)
- An internet connection
- A bit of free time
- Git installed
- Basic Linux knowledge
Instructions
- Open a terminal and type
git clone https://github.com/HadesButGithub/macOS-KVM-AIO
- Once it's downloaded, cd into the folder by typing
cd macOS-KVM-AIO
- If you've never made a KVM before, head to https://github.com/foxlet/macOS-Simple-KVM and copy the link for your package manager to download the necessary software.
- Type
./create.sh
. This script does most of the magic. It will create the qcow2 disk image, download macOS Catalina and boot the VM. - When the VM launches, hit enter at the Clover boot menu and open Disk Utility when macOS boots.
- Find the 80GB disk and click Erase. Change the format to APFS and click Erase. You can change the name if you'd like as well.
- Close Disk Utility and click Reinstall macOS.
- Setup macOS as if you were setting up a normal Mac. However, DO NOT SIGN INTO YOUR APPLE ID. If you want to do that, you'll need to follow the steps at https://github.com/HadesButGithub/macOS-KVM-AIO/blob/main/docs/guide-Apple-ID.md after you've setup your VM and added it to Virtual Machine Manager
- After setup, you should now have a basic macOS VM. Now you can either launch it by cding into the folder and typing
./basic.sh
or by following the guide at https://github.com/foxlet/macOS-Simple-KVM#step-2a-virtual-machine-manager to add it to virtual-machine-manager for easier access.