【免费下载】 VMware macOS Unlocker 安装教程

VMware macOS Unlocker 安装教程

1. 项目介绍

VMware macOS Unlocker 是一个广受欢迎的开源工具,由 BDisp 维护(原作者为 theJaxon),旨在解锁 VMware Workstation 和 Player 对 macOS 操作系统的支持。这个项目适用于 VMware Workstation 11 到 16 版以及对应的 Player 版本。它通过修改 VMware 相关文件,使用户能够在虚拟机中安装并运行 macOS 系统。对于开发者和测试者来说,这是在非苹果硬件上体验 macOS 的重要工具。

2. 项目下载位置

要下载 VMware macOS Unlocker,您需要访问其在 GitHub 上的主页:

[点击这里访问项目仓库](https://github.com/BDisp/unlocker.git)

在页面右侧,找到绿色的 Code 按钮,随后您可以选择克隆或下载ZIP包。推荐首次使用者选择“Download ZIP”进行快速下载。

3. 项目安装环境配置

环境需求

  • Windows: 需要Python 2.7或更高版本,但Windows版已包含PyInstaller打包的独立执行文件。
  • Linux: 确保系统有Python 3.0以上版本。若遇到“Python不支持”的错误,请指定Python3版本执行脚本。
图片示例

由于文本形式无法直接展示图片,以下为操作描述:

  • 在GitHub仓库页面,点击 “Clone or download” 后,会出现一个下拉菜单,从中选择“Download ZIP”。完成下载后,您将得到一个名为unlocker.zip的压缩文件。

4. 项目安装方式

在Windows上的安装步骤:

  1. 解压下载的ZIP文件到任意目录。
  2. 右键点击 win-install.cmd 文件,选择以管理员身份运行。
  3. 跟随提示完成安装过程,确保关闭所有正在运行的VMware程序。

在Linux上的安装步骤:

  1. 解压下载的ZIP文件。
  2. 打开终端,导航至解压后的目录。
  3. 若需要赋予脚本执行权限,执行命令 chmod +x lnx-install.sh
  4. 使用sudo执行安装脚本:sudo ./lnx-install.sh

5. 项目处理脚本

Unlocker 提供了不同功能的脚本:

  • win-install.cmd: 用于Windows的安装脚本,自动处理解锁过程。
  • lnx-install.sh: 适用于Linux的安装脚本。
  • gettools.py: 下载最新macOS guest tools的脚本。
  • uninstaller 相关脚本(如 win-uninstall.cmd, lnx-uninstall.sh)用于移除解锁更改,还原VMware到初始状态。

在使用任何脚本前,请务必阅读脚本内的注释,了解它们的具体用途和使用条件。为了保证系统的稳定性和安全性,强烈建议每次升级VMware或Unlocker之前,先卸载旧版本的Unlocker。

完成上述步骤后,您就成功地配置好环境并安装了 VMware macOS Unlocker,可以愉快地创建并运行macOS虚拟机了!


请注意,使用此类解锁工具可能会触发安全软件的警告,因为它们对系统核心组件进行修改。在执行前,请确认来源可靠,并理解潜在风险。

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

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 on Windows and Linux Player 7 on Windows and Linux Fusion 7 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 A copy of the latest VMware Tools for OS X is included 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 and Player. 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 hardware VMware will 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" | To remove the check for server versions for OS X Leopard and Snow Leopard (10.5 and 10.6) you must use a replacement EFI firwmare module from the firmware folder. If you are using a 32-bit installation of OS X: 1. Copy efi32-srvr.rom to guest folder. 2. Edit the vmx file and add: efi32.filename = "efi32-srvr.rom" If you are using a 64-bit installation of OS X: 1. Copy efi64-srvr.rom to guest folder. 2. Edit the vmx file and add: efi64.filename = "efi64-srvr.rom" 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 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 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. History 12/12/14 2.0.0 First release 13/13/14 2.0.1 Removed need for Python for Windows 13/13/14 2.0.2 darwin.iso was missing from zip file 02/01/15 2.0.3 Added EFI firmware files to remove Server check Refactored Python code 07/01/15 2.0.4 Added View USB Service to Windows batch files Fixed broken GOS Table patching on Linux 18/06/15 2.0.5 ESXi 6 working Latest tools from Fusion 7.1.2 20/06/15 2.0.6 ESXi 6 patch for smcPresent vCenter compatibility © 2011-2015 Dave Parsons What's New in Version 2.0.6 (See full changelog) 12/12/14 2.0.0 - First release 13/13/14 2.0.1 - Removed need for Python for Windows 13/13/14 2.0.2 - darwin.iso was missing from zip file 02/01/15 2.0.3 - Added EFI firmware files to remove Server check - Refactored Python code 07/01/15 2.0.4 - Added View USB Service to Windows batch files - Fixed broken GOS Table patching on Linux 18/06/15 2.0.5 - ESXi 6 working - Latest tools from Fusion 7.1.2 20/06/15 2.0.6 - ESXi 6 patch for smcPresent vCenter compatibility
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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

富翌峰Jasper

你的鼓励将是我创作的最大动力

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

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

打赏作者

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

抵扣说明:

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

余额充值