前言
一不小心又鸽了一个月,欠的债已经到了8篇,不知道年底能不能补完。这一个月虽然比较忙,但也不是忙到一点时间也没有,但却不知道可以更新点什么东西,没有特别多的动力,磨磨蹭蹭就到了现在。
最近这段时间在学习虚幻引擎相关的知识,但总觉得学到的远不足以进行分享,因此虽然记了不少笔记,但却没法整理成系统的文章,希望后面能够厚积薄发吧。
进入正题,这几天临时有个需求,需要一个可以随意折腾的MacOS系统进行测试,由于手头没有Mac电脑,也不想折腾黑苹果系统,因此想要装个MacOS虚拟机,也方便进行快照和回滚等操作。
搜了很多资料,发现在VMware上安装MacOS虽然不难,但步骤确实有一些繁琐,也需要一些工具进行配合才行,所以就将详细步骤记录一下,方便以后用到的时候查看。
安装前的准备
下载辅助工具和MacOS系统镜像
辅助工具我打包放在这里了,可以自行下载,里面的内容如下,后面安装的时候会用到。
MacOS系统的镜像可以到macOS 下载汇总下载,选择自己想要的版本下载即可,格式的话选择ISO格式的。我这里需要MacOS 12,所以选择了12.5版本,亲测可用。
安装VMware
安装VMware时注意一下版本,因为和支持的MacOS的版本相关,目前最新的VMware应该是16.2版本,最高可以支持到MacOS13版本,而我目前使用的Vmware16.1版本,最高只能支持到MacOS11.1版本,因此需要升级VMware到最新版本。
VMware的安装和注册这里就不放了,自行百度吧。
使用unlocker工具解锁MacOS支持
默认情况下,VMware是不支持安装MacOS虚拟机的,在创建虚拟机界面看不到MacOS的选项。
需要使用unlocker工具,解锁VMware中的MacOS系统安装功能。
在运行该工具前,需要关闭VMware,并在任务管理器中,把VMware
开头的进程全部关闭。
最好把服务里面的VMware开头的服务也关闭
然后解压MK-unlocker.zip,右键使用管理员权限运行里面的win-install.cmd,等待运行完毕即可。
运行完成后重启一下电脑,再打开VMware,创建新的虚拟机-自定义-WorkStation 16.2.x-稍后安装操作系统
,就可以看到MacOS系统的安装选项了。
我需要安装的MacOS12.5版本,因此这里选择对应的MacOS 12。
后面就按普通虚拟机的步骤一步步进行,注意网络类型选择使用网络地址转换(NAT)
类型,这样不容易出现虚拟机连不上网的情况。
这样就准备好了一个空的可以运行MacOS系统的虚拟机了,接下来是安装系统。
安装MacOS
首先点击编辑虚拟机配置
,在弹出的框中选择CD/DVD一栏,选择前面下载的MacOS镜像
然后直接启动虚拟机,如果电脑CPU是AMD的,那么很可能会遇到下面的问题
这是因为AMD平台需要添加一些配置信息,打开该虚拟机所在的文件夹,找到那个虚拟机名.vmx
的文件,右键用记事本打开。
在文件末尾添加以下信息
smc.version = "0" 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" smbios.reflectHost = "TRUE" hw.model = "MacBookPro14,3" board-id = "Mac-551B86E5744E2388" keyboard.vusb.enable = "TRUE" mouse.vusb.enable = "TRUE"
然后再重启VMware和虚拟机,还不行的话就把上面添加的第一行删掉再重启。
这样就可以看到安装系统的加载界面了。
进入安装界面后选择磁盘工具
选择左侧第一个,并点击右上角抹掉
按钮
抹掉以后,点击左上角关闭,回到安装界面,选择安装MacOS
之后等待系统安装完成就可以了。
安装完成后,开机时会有很多配置,基本上都一路确定即可,最后就可以进入系统界面了。
虚拟机优化
在使用虚拟机时,应该能体验出来,MacOS虚拟机比较卡,不能和宿主机传输文件,并且分辨率也不能自由修改,接下来就一步步地进行优化。
安装VMware Tools
VMwareTools是VMware用于增强虚拟机功能的驱动程序之一,可以实现共享剪贴板、文件自由传输、键盘鼠标功能增强、分辨率自由调整等等,在安装Windows虚拟机时也是必不可少的组件。
首先将桌面右上角的系统安装镜像右键-推出。
然后在虚拟机设置-CD/DVD中加载前面准备好的的darwin.iso
镜像。
注意右上角勾选已连接
,取消勾选启动时连接
,这样的话就不需要重启虚拟机,直接可以看到VMtools的安装镜像。
在安装VMtools时,系统会弹出警告,这时可以打开系统的系统偏好设置
–安全与隐私
。
先点击左下角的小锁图标
,输入开机密码解锁,然后点击下方的允许
按钮,返回后,VMtools就安装完成了,之后按照要求重启虚拟机即可。
重启虚拟机后可以发现,界面分辨率可以自由调整了,也可以进行全屏显示,Windows的文件也可以直接拖拽进虚拟机里。
如果文件无法拖拽的话,打开系统偏好设置
–安全与隐私
,在辅助功能中勾选vmware-tools-daemon
,当然这里也要先左下角解锁。
最后记得把VMtools的镜像也推出,将虚拟机设置里的CD/DVD移除即可。
让MacOS运行更流畅
由于VMware是为MacOS系统创建了虚拟显卡,来加速图形显示,与真正的显卡性能差距较大,因此在使用MacOS虚拟机时难免会感觉不够流畅,可以通过以下方式进行优化。
优化动画效果
打开系统偏好设置
–程序坞与菜单栏
,将最小化窗口效果从默认的神奇效果
换成缩放效果
。
禁用内存页面修整
打开虚拟机设置,依次选择选项
–高级
,勾选禁用内存页面修整
。
安装beamoff
将前面准备好的beamoff.zip
拖拽到虚拟机中,解压后得到一个名为beamoff
的文件,打开系统偏好设置
–用户和群组
,点击下方的+
号。
然后重启虚拟机。
不过这几个设置只是轻微的优化系统的性能使用,不可能让虚拟机变得非常流畅,毕竟没有真正的显卡对图像进行硬件加速,因此Windows上使用MacOS虚拟机目前还只能用来尝鲜,并不能真正代替Mac电脑,想要真正流畅的体验,还是剁手下单吧。
本文参考自VMware16安装macOS12手把手教程和虚拟机VMware安装苹果系统macOS,超级详细教程,附文件下载,真教程!!,感谢。
所谓绝招,
就是把一个简单的事情做到极致。
《一代宗师纪录片》
——王家卫
评论
918255 692238Its a shame you dont have a donate button! Id without a doubt donate to this brilliant blog! I suppose for now ill settle for book-marking and adding your RSS feed to my Google account. I appear forward to fresh updates and will share this blog with my Facebook group. Chat soon! 51635
It’s really a great and useful piece of info. I’m glad that you shared this useful info with us. Please keep us up to date like this. Thanks for sharing.
https://www.bigzh.com/hire-a-hacker-for-instagram/
476738 155455Gems form the internet […]very few websites that happen to be detailed below, from our point of view are undoubtedly effectively worth checking out[…] 999848
816090 95056I truly prize your piece of work, Great post. 565485
I like what you guys are up also. Such intelligent work and reporting! Keep up the excellent works guys I¦ve incorporated you guys to my blogroll. I think it will improve the value of my website 🙂
https://youtu.be/kQEI4oXy2FM
Thank you for the auspicious writeup. It in reality used to be a amusement account it. Look advanced to more introduced agreeable from you! By the way, how could we be in contact?
https://youtu.be/JnIH8DMw2E8
473154 432194omg! cant picture how fast time pass, after August, ber months time already and Setempber may be the initial Christmas season in my spot, I genuinely love it! 105421
Spot on with this write-up, I really assume this web site needs much more consideration. I’ll probably be again to read rather more, thanks for that info.
https://youtu.be/nDzqTlay60w
270984 241918Today, while I was at work, my cousin stole my iPad and tested to see if it can survive a 30 foot drop, just so she can be a youtube sensation. My iPad is now broken and she has 83 views. I know this is totally off topic but I had to share it with someone! 565653
I saw a lot of website but I believe this one has got something special in it in it
https://youtu.be/vUAo57qOeBY
I like this post, enjoyed this one thanks for putting up. “Good communication is as stimulating as black coffee and just as hard to sleep after.” by Anne Morrow Lindbergh.
https://youtu.be/q5LF6rxi_kc
I was wondering if you ever thought of changing the structure of your blog? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having one or 2 images. Maybe you could space it out better?
https://www.axilusonline.com/
Would becoming a paid blogger be a good idea to get money?
https://demo.socialengine.com/blogs/33/13/embrace-the-geek-within-discover-the-ultimate-how-to-hub
I just arrived in Chiang Mai. I wanted to post on my blog, at Blogspot, but all of the headings are now in Thai, not English. Is the problem with my computer, or the hotel’s wi-fi service, or what? How can I get things back to English again?.
https://disqus.com/by/axiomatiq/about/
Do you have a spam issue on this blog; I also am a blogger, and I was wondering your situation; many of us have created some nice methods and we are looking to exchange techniques with other folks, be sure to shoot me an e-mail if interested.
https://youtu.be/Wt3SqMfktOE
231833 807205Thanks for helping out, excellent information. 972789
https://www.youtube.com/watch?v=7DgvC_puXKs
972225 14141Straight to the point and effectively written! Why cant everyone else be like this? 554761
I am struggling with this problem, unknowingly i started importing other person blog posts…………..which i want to disable. Please help me out.
https://htn-web-s-school.teachable.com/p/htn-web
Great write-up, I¦m normal visitor of one¦s website, maintain up the excellent operate, and It’s going to be a regular visitor for a long time.
https://www.circle13.com/hire-a-hacker-today/
Utterly indited content, thankyou for information .
https://youtu.be/qjQ2TpENkXI
416370 962896I believe that a simple and unassuming manner of life is finest for every person, finest both for the body and the mind. 887758
https://www.heritagefamilypantry.com/ .60peV4mpIJa
sDI7jPT3Fzd
Thank you a lot for providing individuals with an extremely memorable chance to check tips from this web site. It is often so ideal and as well , full of fun for me and my office acquaintances to search your website really thrice per week to see the newest tips you have. Of course, I’m so certainly astounded for the very good information served by you. Certain 1 areas in this posting are without a doubt the most effective we’ve had.
https://youtu.be/yluxMUInZq8
Echter Führerschein und auf unserer Website registriert, ohne eine Prüfung abzulegen oder die praktische Prüfung abzulegen. Wir benötigen lediglich Ihre Daten und diese werden innerhalb der nächsten acht Tage im System angemeldet. Der Führerschein muss das gleiche Registrierungsverfahren durchlaufen wie die Führerscheine, die in Fahrschulen ausgestellt werden..
bootsführerschein kaufen, führerschein kaufen online, führerschein kaufen legal, führerschein kaufen ohne prüfung, bootsführerschein, führerschein legal kaufen, führerschein kaufen legal in deutschland, echten führerschein kaufen, kaufen swiss registrierte führerschein, registrierten führerschein kaufen,.
https://xn--eu-mpu-fhrerschein-t6b.com/
https://www.heritagefamilypantry.com/VcU8xEKyNFw
420101 507325Definitely composed written content material , thanks for info . 428298