|
|
本帖最后由 sqmm 于 2020-3-7 10:42 编辑
我最近在OpenWRT上直接运行MAC OS,觉得跑跑编译还行。需要用到我之前编译的带有VNC的Qemu 4.2, 见我之前发的帖子。
https://www.right.com.cn/forum/thread-2500534-1-1.html
注意:
玩软路由千万别中毒,我现在主力电脑(3代i5)的处理器顶不过我的路由器(8代i7)。
在我家的50m电信通上,上网速度跟那种10块钱一个的垃圾路由是一样的。
两个VM一起运行,用novnc连接。
基于这个帖子,我使用了它的配置https://github.com/foxlet/macOS-Simple-KVM/blob/master/README.md
我的运行参数是:
OVMF="./"
qemu-system-x86_64 -enable-kvm -m 8G -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$MY_OPTIONS\
-machine q35 -smp 4,cores=2 \
-drive if=pflash,format=raw,readonly,file=$OVMF/OVMF_CODE.fd \
-drive if=pflash,format=raw,file=$OVMF/OVMF_VARS-1024x768.fd \
-smbios type=2 \
\
-usb -device usb-kbd -device usb-tablet \
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \
\
-device ich9-intel-hda -device hda-duplex \
-device ich9-ahci,id=sata \
\
-drive id=Clover,if=none,snapshot=on,format=qcow2,file=./'Catalina/CloverNG.qcow2' \
-device ide-hd,bus=sata.2,drive=Clover \
\
-drive id=InstallMedia,if=none,file=/dev/sdc,format=raw \
-device ide-hd,bus=sata.3,drive=InstallMedia \
\
-netdev bridge,br=br-lan,id=br0 \
-device vmxnet3,mac=52:54:00:c9:18:27,netdev=br0 \
-monitor stdio \
-vnc :0
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|