Big Sur: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 28: | Zeile 28: | ||
*rechts klick auf das Template -> Configure | *rechts klick auf das Template -> Configure | ||
*Advanced und bei Optionen folgenden Code abändern und einfügen | *Advanced und bei Optionen folgenden Code abändern und einfügen | ||
| − | < | + | <syntaxhighlight> |
-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 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 | -machine q35 | ||
| Zeile 47: | Zeile 47: | ||
-monitor stdio | -monitor stdio | ||
-device VGA,vgamem_mb=128 | -device VGA,vgamem_mb=128 | ||
| − | </ | + | </syntaxhighlight> |
Version vom 22. Oktober 2021, 09:45 Uhr
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
-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/mario.zimmermann/OSX-KVM/OVMF_CODE.fd"
-drive if=pflash,format=raw,file="/home/mario.zimmermann/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/mario.zimmermann/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2"
-device ide-hd,bus=sata.2,drive=OpenCoreBoot
-drive id=Big-Sur,if=none,file="/home/mario.zimmermann/OSX-KVM/mac_hdd_ng.img",format=qcow2
-device ide-hd,bus=sata.4,drive=Big-Sur
-netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27
-monitor stdio
-device VGA,vgamem_mb=128