|
|
| Zeile 1: |
Zeile 1: |
| *[[Manuelle Installation]] | | *[[Manuelle Installation]] |
|
| |
| =Git=
| |
| *git clone --depth 1 --recursive https://github.com/kholia/OSX-KVM.git
| |
| =Download=
| |
|
| |
| *./fetch-macOS-v2.py
| |
| **1. High Sierra (10.13)
| |
| **2. Mojave (10.14)
| |
| **3. Catalina (10.15) - RECOMMENDED
| |
| **4. Latest (Big Sur - 11)
| |
| Choose a product to download (1-4):
| |
|
| |
| =Convert=
| |
| *qemu-img convert BaseSystem.dmg -O raw BaseSystem.img
| |
|
| |
| =Festplatte erstellen=
| |
| *qemu-img create -f qcow2 mac_hdd_ng.img 128G
| |
|
| |
| =Booten=
| |
| *./OpenCore-Boot.sh
| |
| =import GNS3=
| |
| *New template
| |
| *Manually creat a new template
| |
| *Qemu VMs
| |
| **new
| |
| *Name eintragen
| |
| *Bei Disk image -> New Image leer lassen
| |
| =Configure template=
| |
| *rechts klick auf das Template -> Configure
| |
| *Advanced und bei Optionen folgenden Code abändern und einfügen
| |
| <syntaxhighlight lang="bash">
| |
| -machine accel=kvm -m "3072" -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid freq=on,"+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"
| |
| -machine q35
| |
| -usb -device usb-kbd -device usb-tablet
| |
| -smp "4",cores="4",sockets="1"
| |
| -device usb-ehci,id=ehci
| |
| -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
| |
| -drive if=pflash,format=raw,readonly,file="/home/user/OSX-KVM/OVMF_CODE.fd"
| |
| -drive if=pflash,format=raw,file="/home/user/OSX-KVM/OVMF_VARS-1024x768.fd"
| |
| -smbios type=2
| |
| -device ich9-intel-hda -device hda-duplex
| |
| -device ich9-ahci,id=sata
| |
| -drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file="/home/user/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2"
| |
| -device ide-hd,bus=sata.2,drive=OpenCoreBoot
| |
| -drive id=Macos,if=none,file="/home/user/OSX-KVM/mac_hdd_ng.img",format=qcow2
| |
| -device ide-hd,bus=sata.4,drive=Macos
| |
| -netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27
| |
| -monitor stdio
| |
| -device VGA,vgamem_mb=128
| |
| </syntaxhighlight>
| |