Howto macOS sonoma kvm: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
  sudo usermod -aG input $(whoami)
  sudo usermod -aG input $(whoami)
fetch macOS installer.
fetch macOS installer.
  $ ./fetch-macOS-v2.py
  ./fetch-macOS-v2.py
select option 7 for sonoma:
  1. High Sierra (10.13)
  1. High Sierra (10.13)
  2. Mojave (10.14)
  2. Mojave (10.14)

Revision as of 19:13, 30 May 2024

clone the git repo:

git clone --depth 1 --recursive https://github.com/kholia/OSX-KVM.git
cd OSX-KVM

kvm need this tweak on the host machine to work:

sudo modprobe kvm; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs

make this change permanent, you may use the following command:

sudo cp kvm.conf /etc/modprobe.d/kvm.conf  # for intel boxes only
sudo cp kvm_amd.conf /etc/modprobe.d/kvm.conf  # for amd boxes onlyn

add user to the kvm and libvirt groups:

sudo usermod -aG kvm $(whoami)
sudo usermod -aG libvirt $(whoami)
sudo usermod -aG input $(whoami)

fetch macOS installer.

./fetch-macOS-v2.py

select option 7 for sonoma:

1. High Sierra (10.13)
2. Mojave (10.14)
3. Catalina (10.15)
4. Big Sur (11.7)
5. Monterey (12.6)
6. Ventura (13) - RECOMMENDED
7. Sonoma (14)

Choose a product to download (1-6): 7