VMware17Pro虚拟机安装macOS教程(超详细)


1. 前言

emmm… 小孩没娘说来话长,由于开发限制,M芯的ARM架构属实有点恶心,我把我用了不到一年的macbook 14 pro给卖掉了,换成了ThinkBook 14+。
但是又有点换年macOS系统,所以…

2. 下载所需文件

下载镜像的时候请注意看阿里云盘的传输列表是否下载完成,不要上来就改后缀!!!(能气死)

下载后长这个样子:

在这里插入图片描述

镜像改完后缀,长这个样子:
在这里插入图片描述

3. 安装VMware

3.1 安装

双击运行 VMware-workstation-full-17.5.0-22583795.exe

在这里插入图片描述

等待安装界面出来后,点击 下一步

在这里插入图片描述

勾选 我接受许可协议中的条款(A) 后,点击 下一步

在这里插入图片描述

不建议装C盘,所有东西都装会导致C盘越来越臃肿,建议大家在其他盘符新建一个 Tools 目录,所有的工具类的可以都放在这个目录:(当然你可以不接受我的建议)

在这里插入图片描述

紧接着在 Tools 目录中创建 VMware 目录:

在这里插入图片描述

然后回到安装界面,点击更改按钮:

在这里插入图片描述
选择刚刚创建的 VMware 目录,点击 确定

在这里插入图片描述
最后点击 下一步

在这里插入图片描述

取消勾选 启动时检查产品更新(C)加入 VMware 客户体验提升计划(D) ,点击 下一步

在这里插入图片描述

下一步

在这里插入图片描述

安装

在这里插入图片描述

等待安装完成:

在这里插入图片描述

点这个东西,输入一些神秘代码:(我就不截图了,自己去那个txt文件中找神秘代码)

在这里插入图片描述

输入完出来,最后点击 完成

在这里插入图片描述

3.2 启动并查看版本信息

双击桌面 VMware Workstation Pro 图标,或从开始菜单找到 VMware Workstation Pro 运行,然后在 帮助关于 中查看版本:

在这里插入图片描述

3.3 虚拟机默认位置配置

这一步骤教大家修改虚拟机默认保存的位置,刚安装好会默认选择C盘。
还是那句话,啥都放C盘,会让C盘越来越臃肿。
方便大家后期使用,这里先教大家如何修改。

在刚刚创建的 Tools 目录创建一个 Virtual Machines 目录,以后虚拟机都创建在这个目录中:

在这里插入图片描述

在首页上方找到 编辑 ,点击后选择 首选项 :

在这里插入图片描述
选择左侧 工作区,第一行就是默认位置,点击 浏览 ,选择刚刚我们创建的 Virtual Machines 目录,最后点击 确定

在这里插入图片描述

4. 安装补丁

4.1 解压补丁

解压 unlocker424.zip

在这里插入图片描述

4.2 结束VMware相关进程

在任务栏上 右键——任务管理器——详细信息,找到VMware相关的进程全部结束掉。
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

4.3 运行补丁包

找到补丁包解压目录后进入windows目录,双击运行unlock.exe

在这里插入图片描述
如果提示如下弹出:
在这里插入图片描述
点击 更多信息
在这里插入图片描述
仍要运行:

在这里插入图片描述
然后点击 是 ,就会显示如下弹窗,按下回车即可

在这里插入图片描述
在这里插入图片描述

5. 安装macOS

5.1 新建虚拟机

直接点击 创建新的虚拟机,或者在左侧 栏内右键 新建虚拟机,或者点击左上角 文件新建虚拟机
在这里插入图片描述
选择 自定义(高级)(C) 后,点击 下一步

在这里插入图片描述

继续点击 下一步

在这里插入图片描述

选择 稍后安装操作系统(S)。 后,点击 下一步

现在我们就相当于买电脑,先把电脑配置整好。什么Cpu啊内存条啊硬盘啊什么乱七八糟的,先不着急装系统。

在这里插入图片描述
选择 Apple Mac Os X(M) 后,在下方 版本(V) 中选择我们安装系统版本:

在这里插入图片描述
该选择的选择好以后,点击 下一步

在这里插入图片描述
这里是要我们给虚拟机起个名字,你可以根据自己的实际需求起名,比如 recreation01 ,意为娱乐第01个虚拟机。

下面的 位置(L): 如果你没有按照 步骤3.3 修改默认位置,那你肯定是C盘,不建议大家放到C盘,会让C盘越来越臃肿!如果你显示的位置是在C盘,请回去看 步骤3.3

名字起好,位置选好,就可以点击 下一步 了:
在这里插入图片描述
选处理器数量和内核数量建议根据自身处理器情况来。首先我们在 底部任务栏 右键选择 任务管理器:(Win10、Win11一样)

然后选择 性能CPU,就可以看到物理核心数逻辑核心数了。
在这里插入图片描述
根据自己的需要选择核心数,但是切记不能等于或超过物理机的 实际核心数!!!
在这里插入图片描述

内存也是根据大家自身情况选择,物理机内存大小从 任务管理器性能内存 中查看,我是32GB内存我这里就选个8GB了(不能等于或超过物理机):
在这里插入图片描述

选择 使用网络地址转换(NAT)(E) 后,点击 下一步

在这里插入图片描述

默认推荐,点击 下一步

在这里插入图片描述

默认推荐,点击 下一步

在这里插入图片描述

默认第一个,点击 下一步

在这里插入图片描述
最大磁盘默认就行了,学习测试使用完全够用,最后点击 下一步
(注意:不是说给了多少GB磁盘大小就少了多少GB,而是最大磁盘大小,用多少少多少)
在这里插入图片描述
直接点击 下一步
在这里插入图片描述
到这里虚拟机就创建好了,相当于我们把电脑配好了,一会该去装系统了,如果你觉得不满意,还可以点击 自定义硬件(C) 去修改,满意可以直接点完成
在这里插入图片描述

5.2 修改虚拟机配置

找到我们刚刚创建的虚拟机保存位置,然后找到后缀名位 .vmx 的文件:
在这里插入图片描述

右键用记事本编辑或其他文本编辑工具打开:
在最后面加入:smc.version = "0"

在这里插入图片描述

5.3 安装操作系统

5.3.1 选择 ISO 映像文件

在左侧双击我们刚刚创建的虚拟机,然后在右侧点击 编辑虚拟机设置
在这里插入图片描述
硬件 这栏,点击 CD/DVD (IDE),然后选择 使用 ISO 映像文件(M):

在这里插入图片描述

点击 浏览 按钮,选择我们下载的系统镜像:
这里选择的是步骤2 中下载的系统镜像,请确保已经按照 步骤2 下载完成并修改过后缀。
在这里插入图片描述
最后点击 确定

在这里插入图片描述

5.3.2 开启虚拟机

在左侧双击我们刚刚创建的虚拟机,然后在右侧点击 开启此虚拟机
在这里插入图片描述

等待进度条完成:
在这里插入图片描述

5.2.3 选择语言

在这里插入图片描述

5.2.4 磁盘工具设置

在这里插入图片描述
选择VMware Virtual SATA Hard Drive Media,然后点击上方的 抹掉
在这里插入图片描述
起个名字,比如:macOS hard disk,然后点 抹掉 :

在这里插入图片描述
抹掉完成后,点击完成
在这里插入图片描述
最后叉掉这个磁盘工具界面:

在这里插入图片描述

5.2.5 安装 macOS

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

最后等待完成:
在这里插入图片描述
中会出现这个白苹果界面,不用担心,耐心的等待即可。
会出现多次,第一次下方会显示时间,后面的只有进度条。

在这里插入图片描述

完成后会出现选择国家地区的界面:

在这里插入图片描述

5.2.6 完成配置进入系统

翻到最后选择 中国大陆,然后点击 继续
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

设置账户名、密码等,然后点 继续

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

这样就进入系统了:
在这里插入图片描述

看一下信息:

在这里插入图片描述

5.2.7 联网

先关机:

在这里插入图片描述

搜索 服务,点击 打开

在这里插入图片描述

找到 VMware DHCP Services,点击启动:

在这里插入图片描述

找到 VMware NAT Services ,点击启动:

在这里插入图片描述
回到VMware,重新开启虚拟机,进入系统验证是否联网:

网络已连接
在这里插入图片描述

百度也可以打开了:

在这里插入图片描述

5.2.8 解决系统窗口过小的问题

你们应该是这样的:

在这里插入图片描述

桌面上有一个光盘一样的东西,叫做 Install macOS Ventura,在这个东西上面右键,选择 推出“Install macOS Ventura”

在这里插入图片描述

首先确保系统已经联网,然后在VMware软件上方点击 虚拟机,然后点击 安装 VMware Tools(T)...
在这里插入图片描述

在弹出的小窗口中,双击 安装 VMware Tools

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

输入密码,然后点击 安装软件
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

重启完成后,就基于VMware全屏了:
在这里插入图片描述

大功告成!!!
在这里插入图片描述

  • 18
    点赞
  • 38
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 4
    评论
unlocker208 是使用 VMware 安装 MacOS的必备补丁,亲测可用,详情参阅压缩包内有readme。 VMware 安装 MacOS的流程: =============================================== 1. 安装VMware Station Pro 12.0 2. 将Unlocker解压,右击win-install.cmd,选择“以管理员身份运行” 3. 为MacOS新建虚拟机,注意一定要下载懒人版安装包,格式为ISO或CDR 4. 新建完虚拟机之后,“开启此虚拟机”,VMWare会报错。这是因为虚拟机的隐藏参数设置错误,你要手动修改: 打开虚拟机所在文件夹,找到.vmx文件,右键使用其他程序打开,并选择记事本,在文件最后添加: smc.version = "0" 并保存。 ================================================= Mac OS X Unlocker for VMware V2.0 ================================= 1. Introduction --------------- Unlocker 2 is designed for Workstation 11, Player 7, ESXi 6 and Fusion 7. If you are using an earlier product please continue using Unlocker 1 Version 2 has been tested against: * Workstation 11/12 on Windows and Linux * Player 7 & Workstation Player 12 on Windows and Linux * Fusion 7/8 on Mavericks and Yosemite * ESXi 6.0 The patch code carries out the following modifications dependent on the product being patched: * Fix vmware-vmx and derivatives to allow Mac OS X to boot * Fix vmwarebase .dll or .so to allow Apple to be selected during VM creation * Fix libvmkctl.so on ESXi 6 to allow use with vCenter * Download a copy of the latest VMware Tools for OS X Note that not all products recognise the darwin.iso via install tools menu item. You will have to manually mount the darwin.iso for example on Workstation 11 and Player 7. The vmwarebase code does not need to be patched on OS X or ESXi so you will see a message on those systems telling you that it will not be patched. In all cases make sure VMware is not running, and any background guests have been shutdown. The code is now Python as it makes the Unlocker easier to run and maintain on ESXi. There are some challenges to write the code as ESXi has a subset of Python 2.7 which constrains some modules that can be used. 2. Prerequisites ---------------- The code requires Python 2.7 to work. Most Linux distros, ESXi and OS X ship with a compatible Python interpreter and should work without requiring any additional software. Windows has a packaged version of the Python script using PyInstaller, and so does not require Python to be installed. 3. Limitations -------------- If you are using VMware Player or Workstation on Windows you may get a core dump. Latest Linux and ESXi products are OK and do not show this problem. +-----------------------------------------------------------------------------+ | IMPORTANT: | | ========== | | | | If you create a new VM using version 11 or 12 hardware VMware may stop and | | create a core dump. There are two options to work around this issue: | | | | 1. Change the VM to be HW 10 - this does not affect performance. | | 2. Edit the VMX file and add: | | smc.version = "0" | | | +-----------------------------------------------------------------------------+ 4. Windows ---------- On Windows you will need to either run cmd.exe as Administrator or using Explorer right click on the command file and select "Run as administrator". win-install.cmd - patches VMware win-uninstall.cmd - restores VMware win-update-tools.cmd - retrieves latest OS X guest tools 5. Linux --------- On Linux you will need to be either root or use sudo to run the scripts. You may need to ensure the Linux scripts have execute permissions by running chmod +x against the 2 files. lnx-install.sh - patches VMware lnx-uninstall.sh - restores VMware lnx-update-tools.cmd - retrieves latest OS X guest tools 6. Mac OS X ----------- On Mac OS X you will need to be either root or use sudo to run the scripts. This is really only needed if you want to use client versions of Mac OS X. You may need to ensure the OS X scripts have execute permissions by running chmod +x against the 2 files. osx-install.sh - patches VMware osx-uninstall.sh - restores VMware 7. ESXi ------- You will need to transfer the zip file to the ESXi host either using vSphere client or SCP. Once uploaded you will need to either use the ESXi support console or use SSH to run the commands. Use the unzip command to extract the files. <<>> Please note that you will need to reboot the host for the patches to become active. The patcher is embbedded in a shell script local.sh which is run at boot from /etc/rc.local.d. You may need to ensure the ESXi scripts have execute permissions by running chmod +x against the 2 files. esxi-install.sh - patches VMware esxi-uninstall.sh - restores VMware Note: 1. Any changes you have made to local.sh will be lost. If you have made changes to that file, you will need to merge them into the supplied local.sh file. 2. The unlocker runs at boot time to patch the relevant files and it now survives an upgrade or patch to ESXi as local.sh is part of the persisted local state. 8. Thanks --------- Thanks to Zenith432 for originally building the C++ unlocker and Mac Son of Knife (MSoK) for all the testing and support. Thanks also to Sam B for finding the solution for ESXi 6 and helping me with debugging expertise. Sam also wrote the code for patching ESXi ELF files.
当在Windows系统中使用Windows PowerShell执行yarn命令时,报错"无法加载文件 C:\Users\虎子哥\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本",这是因为系统的执行策略限制了脚本的运行。为了解决这个问题,可以按照以下步骤进行操作: 1. 以管理员身份运行PowerShell。 2. 执行"set-ExecutionPolicy RemoteSigned"命令来更改计算机上的执行策略为RemoteSigned。这样可以允许运行未签名的脚本,但要求签名的脚本必须经过签名才能运行。 执行完上述步骤后,再次尝试运行yarn命令,应该就可以正常执行了。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [yarn : 无法加载文件 C:\Users\xxx\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本](https://blog.csdn.net/lizixuan2001/article/details/130214209)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [ 无法加载文件 C:\Users\xuxin\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行 脚本。有关详细信息...](https://download.csdn.net/download/weixin_38713586/14042150)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [yarn : 无法加载文件 C:\Users\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本。](https://blog.csdn.net/weixin_51052779/article/details/125757762)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

七维大脑

打赏10元我只能获取8元...

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值