Big Sur: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 18: | Zeile 18: | ||
=Booten= | =Booten= | ||
*./OpenCore-Boot.sh | *./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 | ||
| + | |||
| + | <code> | ||
| + | -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 | ||
| + | </code> | ||
Version vom 22. Oktober 2021, 09:43 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