如何在Windows版本的VMware虚拟机上安装苹果系统

      有时我想玩玩苹果系统,但自己有没有mac,只能在虚拟机上装一个苹果玩玩,但又由于某些原因虚拟机软件VMware不支持安装苹果系统,还在有大佬出于不明目的,在网上散布了适用于Windows版本的VMware解锁安装Mac OS的补丁( Unlocker),显然我起码需要先搞到二个东西,1.Unlocker 2.一个能在vm上使用的Mac OS镜像

以下是本人在虚拟机上安装苹果系统过程记录,网上找攻略安装过程中也碰到不少坑,这里特意记下一些,以便将来回顾

1、正确安装适用于Windows版本的VMware解锁安装Mac OS的补丁
写这篇笔记时还能通用的一个下载地址 http://www.ddooo.com/softdown/77514.htm
失效可百度“ware虚拟机苹果破解补丁(unlocker208)
重点1 先确认彻底关闭了自己的VMware,要ctr+k用到任务管理器
重点2下载好的 Unlocker(目前有208版了) 要放在英文目录下,不能放在中文目录下,不然会有一定几率报错。
重点3在运行unlocker208文件夹中的win-install.cmd,记住要右键管理员运行。(已经全自动化了,跑完后就可以打开VMware了)

2、找到一个黑苹果镜像

重点1 找后缀为iso或cdr(vm虚拟机支持cdr格式的)的镜像,原装格式不支持,需要转化格式

3.安装镜像需要注意的坑

重点1 创建虚拟机方式和各种linux没区别,但配置完后不要马上启动,还需要在引导文件里面进行参数修改。打开你之前设定好的Mac系统的安装目录,找到vmx后缀的配置文件,右键选择记事本打开,在“smc.present = TRUE”这个配置参数后面添加参数“smc.version = 0” ,保存退出。这时再启动安装

重点2 一路安装下去 到这一步时需要先去点上面的磁盘工具根据图文提示创建一个的分区

否则后面会提示没有足够的磁盘继续安装 然后选个你刚才创建的那个分区安装就好了,根据电脑配置不同漫长的安装读条

重点3 安装后进行一些常规设置,为了避免不必要的麻烦,先选的不联网不传输任何信息到这个mac。记住自己设置的账号和密码。设置完毕就进入正常使用的桌面了

重点4 vm会提示我们还需要安装一个软件 VMware Tools,这样可以更好地适配好虚拟机的性能以及可以在虚拟机和物理机之间传输文件。但在直接安装 VMware Tools会报错,我们需要先在虚拟机设置里找到从darwin.iso文件(重点5,这个文件在虚拟机软件vm的安装路径里面,而不在我们这个mac os虚拟系统的路径里),装载进去,然后在上面设状态勾选已连接

 

现在才可以安装VMware Tools 填上刚才设置的账号密码 并重启了
补充
发现百度经验有篇攻略说有个大前提 要cpu支持虚拟化才行
百度经验上有很长很长的详细图文教程https://jingyan.baidu.com/article/c74d6000b3ca190f6a595d37.html

转载于:https://www.cnblogs.com/iamxzc/p/9144569.html

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
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值