How To run macOS on KVM / QEMU on linux mint / ubuntu

run command in terminital:

sudo apt update
sudo apt -y install qemu-kvm libvirt-daemon qemu-system qemu-utils python3 python3-pip bridge-utils virtinst libvirt-daemon-system virt-manager

Ensure the vhost_net module is loaded and enabled.
sudo modprobe vhost_net
$ sudo modprobe vhost_net
$ lsmod | grep vhost

vhost_net 24576 0
tun 49152 1 vhost_net
vhost 49152 1 vhost_net
tap 28672 1 vhost_net

$ echo vhost_net | sudo teaa -a /etc/modules

sudo systemctl start libvirtd
sudo systemctl enable libvirtd
sudo dnf -y install virt-manager

verify Kernael modules are loaded

$ lsmod | grep kvm
kvm_intel 233472 0
kvm 737280 1 kvm_intel

sudo systemctl enable libvirtd.service

download installation media from Apple for MacOS
sudo apt -y install git

git clone

cd macOS-Simple-KVM

./ --catalina
The default installation uses Catalina, but you can choose which version to get by adding either –high-sierra, –mojave, or –catalina.

qemu-img create -f qcow2 macOS.qcow2 50G

output: Formatting ‘macOS.qcow2’, fmt=qcow2 size=53687091200 cluster_size=65536 lazy_refcounts=off refcount_bits=16

You may also like...