关于ESXI下的黑苹果折腾完工
本帖最后由 etyneqk720 于 2023-5-3 14:41 编辑前后折腾了一个月的ESXI下的黑苹果算是折腾的差不多了,核显怎么也不成功,后来买了张RX 6600 XT换上去了,目前使用算是比较正常,没遇上什么大的问题,以后的事以后再说。现在隔空投送、imessage、接力、APP商店、睡眠、唤醒、apple watch解锁都能正常使用(直通了一张黑苹果网卡)。就是一个UUID解决不了,改了VMX里的UUID也没用,启动后又会变回去,暂弄不了这个了。
附:我暂没有直通USB控制器,因为我的nuc9总共只有一个控制器,不能直通,其它VM要用USB设备的,好在蓝牙部分走的是USB,所以我是直接添加USB设备来走蓝牙的。(顺便添加了一个移动硬盘作为数据盘使用,这样就算虚拟机崩了也不影响数据)
我是用 PVE7,两台 AMD 主机直通显卡做了两台黑苹果,用起来很爽啊 PVE 兼容性好,操作起来也简单 yy_waiwai 发表于 2023-4-30 11:59 https://bbs.pcbeta.com/static/image/common/back.gif
我是用 PVE7,两台 AMD 主机直通显卡做了两台黑苹果,用起来很爽啊
嗯,我是这么多年一直用的ESXI已经习惯了,目前就是UUID解决不了,因为不是用OC引导的,不知道怎么解决UUID,但是目前APPLE ID的服务也能正常用,就是不知道后期会怎么样 PVE 里的黑苹果,睡眠唤醒后,直通的 USB键盘、鼠标失灵; ESXi唤醒正常? https://www.sqlsec.com/2023/04/esxi.html
睡眠唤醒
虚拟机下讨论睡眠唤醒的意义好像不大,因为宿主机一直得开机,不过让人惊讶的是,这个 ESXi 黑苹果是支持睡眠唤醒的,晃晃鼠标即可唤醒睡眠状态下的黑苹果虚拟机。
睡眠的瞬间硬盘会读写存放数据,此时 CPU 使用 ESXi 下看可以看到还是以低频工作,不过此时显示器和鼠标都是熄灯的,确实和真的睡眠一样,且可以正常被晃鼠标或者敲键盘唤醒:
啊啊啊啊。。心动了。。
国光说 ESXI 直通免驱显卡需要硬核科技,楼主能否指点一二? yy_waiwai 发表于 2023-4-30 23:48
PVE 里的黑苹果,睡眠唤醒后,直通的 USB键盘、鼠标失灵; ESXi唤醒正常?
我的目前都正常,我没有直通usb控制器,直接添加usb设备就可以了 本帖最后由 etyneqk720 于 2023-5-3 14:35 编辑
yy_waiwai 发表于 2023-5-1 10:40
https://www.sqlsec.com/2023/04/esxi.html
睡眠唤醒
目前使用就跟裸机的黑苹果一模一样,啥功能都正常,没啥黑科技的,因为不是oc引导,是原生引导的,只要提取显卡的vbios启动的时候加载就可以了(话说几乎没找到啥完整教程,都是东拼西凑出来的,可把我累的,哈哈哈)
在配置文件里添加这几项参数,注意显卡直通的PCI顺序!
为什么不用 OC 引导呢?
免驱卡还需要提取vbios? yy_waiwai 发表于 2023-5-3 19:07 https://bbs.pcbeta.com/static/image/common/back.gif
为什么不用 OC 引导呢?
不会啊,大佬,我一开始就是打算OC的,可惜翻遍也没找到一个教程,我采用哪种模式完全取决于我能找到哪种教程,就我现在的还是东拼西凑出来的,没有一个系统的完整的教程 yy_waiwai 发表于 2023-5-3 19:08 https://bbs.pcbeta.com/static/image/common/back.gif
免驱卡还需要提取vbios?
我木鸡啊,反正我是通过这个方法实现的,其它的方法我也不废啊,没有手把手小白就是这么的无奈 搞了一个早上,还是没有头绪。。
开机卡在白苹果界面 哈哈哈哈。。安装好了。
amd CPU 还需要加入:
cpuid.0.eax = "0000:0000:0000:0000:0000:0000:0000:1011"
cpuid.0.ebx = "0111:0101:0110:1110:0110:0101:0100:0111"
cpuid.0.ecx = "0110:1100:0110:0101:0111:0100:0110:1110"
cpuid.0.edx = "0100:1001:0110:0101:0110:1110:0110:1001"
cpuid.1.eax = "0000:0000:0000:0001:0000:0110:0111:0001"
cpuid.1.ebx = "0000:0010:0000:0001:0000:1000:0000:0000"
cpuid.1.ecx = "1000:0010:1001:1000:0010:0010:0000:0011"
cpuid.1.edx = "0000:0111:1000:1011:1111:1011:1111:1111"
vhv.enable = "FALSE"
vpmc.enable = "FALSE"
vvtd.enable = "FALSE" 安装完,研究下显卡直通 This is all assuming passthrough of consumer card. You need to set the setting "esxcli system settings vmkernel -s vga -v False" at esx command line. Also, dump your GPU bios and strip the header (YouTube this, same process as VFIO) and upload it to the same folder as your VM. Edit your .vmx file to include "pciPassthru0.filename = /vmfs/volumes/datastorehere/vmnamehere/vgaromwithoutheader.rom". Also set "svga.present = False". You will not have any VM console, use RDP, VNC, etc. This is for full passthrough, if you are talking vGPU then this doesn't apply. This is all assuming passthrough of consumer card. You need to set the setting "esxcli system settings vmkernel -s vga -v False" at esx command line. Also, dump your GPU bios and strip the header (YouTube this, same process as VFIO) and upload it to the same folder as your VM. Edit your .vmx file to include "pciPassthru0.filename = /vmfs/volumes/datastorehere/vmnamehere/vgaromwithoutheader.rom". Also set "svga.present = False". You will not have any VM console, use RDP, VNC, etc. This is for full passthrough, if you are talking vGPU then this doesn't apply. This is all assuming passthrough of consumer card. You need to set the setting "esxcli system settings vmkernel -s vga -v False" at esx command line. Also, dump your GPU bios and strip the header (****this, same process as VFIO) and upload it to the same folder as your VM. Edit your .vmx file to include "pciPassthru0.filename = /vmfs/volumes/datastorehere/vmnamehere/vgaromwithoutheader.rom". Also set "svga.present = False". You will not have any VM console, use RDP, VNC, etc. This is for full passthrough, if you are talking vGPU then this doesn't apply. etyneqk720 发表于 2023-4-30 13:50 https://bbs.pcbeta.com/static/image/common/back.gif
嗯,我是这么多年一直用的ESXI已经习惯了,目前就是UUID解决不了,因为不是用OC引导的,不知道怎么解决UU ...
vi /etc/vmware/esx.conf
这里修改 谢谢分享谢谢