I am using https://github.com/kholia/OSX-KVM to run both Success' href='/2020/12/install-macos-catalina-on-supported-pc.html'>Catalina and Success' href='/2020/12/install-macos-mojave-on-supported-pc.html'>Mojave in qemu, and it works. But I also have one mac that still runs El Capitan, so I wanted to be able to run El Capitan in qemu too -- it's not working though, it always hangs at the ++++++++++++++++++++++++++++++++ after booting the BaseSystem with -v.
The BaseSystem was extracted from the El Captian installer, of which one can download a recently signed version here (Older El Capitan installers might have an expired certificate):
https://support.apple.com/en-us/HT206886
I wasn't able to enable -v boots with OpenCore, only with Clover. So in clover -v looks like this:
https://i.ibb.co/6nVzdbd/clover-boot-capitan-error.png
As far as I have been able to figure out, if the boot stops there it's either a problem related to ignore_msrs or aptiofix.
I wanted to use aptiofix with clover but https://github.com/acidanthera/AptioFixPkg/releases says it's already part of OpenCore -- but OpenCore is not working for me either, or maybe I need to configure aptiofix...
This is how I start qemu for El Capitan:
# echo 1 > /sys/module/kvm/parameters/ignore_msrs # qemu-system-x86_64 -enable-kvm -m 8000 -snapshot -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check -machine q35 -smp 4,cores=4 -usb -device usb-kbd -device usb-tablet -device isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc -drive if=pflash,format=raw,readonly,file=/home/arch/OSX-KVM/OVMF_CODE.fd -drive if=pflash,format=raw,file=/home/arch/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/arch/OSX-KVM/OpenCore/OpenCore.qcow2 -device ide-hd,bus=sata.2,drive=OpenCoreBoot -device ide-hd,bus=sata.3,drive=InstallMedia -drive id=MacHDD,if=none,file=/data/osx/mac_hdd_ng-10.11.img,format=qcow2 -drive id=InstallMedia,if=none,file=/data/osx/BaseSystem-10.11.4.img,format=raw -k de -device ide-hd,bus=sata.4,drive=MacHDD -netdev user,id=net0,hostfwd=tcp::10022-:22, -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:09:49:17 -virtfs local,path=/7os,mount_tag=7os,security_model=passthrough,id=os -virtfs local,path=/data,mount_tag=data,security_model=passthrough,id=data -monitor stdio -full-screen -vga vmware

Post a Comment