Win8.1通过Vmware11安装OS X10.10

首先你需要下载

  1. Vmware11,软件包点击这里下载,提取码:r1s5,注册机自己网上找。
  2. OS X 10.10 系统,点击这里下载,提取码:4u1c
  3. unlocker203,用来让 Vmware 识别 Mac 系统的,点击这里下载,提取码:egak
  4. Vmware Tools for Mac 和 Vmsvga2_1.2.5_OS_10.9.pkg,虚拟机里面的显卡驱动,不装会很卡,点我下载

目录

首先你需要下载

开始安装

显示与分辨率

怎么联网


开始安装

  • 先打开下载好的 unlocker203 文件夹,找到win-install.cmd,右击管理员运行,注意该路径和 Vmware 的路径都不要有中文,否则会失败。如果路径没中文还不行的话,Google 一下 error 代码。这里一个建议,因为这个文件是用来修改 Vmware 的服务的,我的电脑是这个情况:每次重启电脑后,Vmware 的服务就会重新开启,所以必须再执行这个文件一次才可以正常打开 Mac 虚拟机,所以建议把这个文件在桌面放一个快捷方式,玩 Mac 之前运行一次就好。

  • 打开 Vmware ,新建虚拟机,选择典型安装,下一步。
    选择典型安装
    然后选择镜像路径,选择的时候注意文件格式,搜索的默认格式是iso,而这个系统是cdr,所以文件夹里面看不见,改一下就行。然后下一步。
    选择镜像文件
    这时,如果第一步成功的话,这里可以在系统列表中看到Apple Mac OS X的选项了,下面版本选择 OS X 10.10,下一步。
    系统版本选择
    后面的步骤就一路下一步了,唯一需要设置的就是虚拟机参数,我把我的参数放出来供参考吧。我的电脑8G内存,分了4G给虚拟机。至少我这样不卡,你们酌情配置。
    虚拟机配置

  • 这时候点击启动虚拟机,你可能会弹出一个错误,关于这个,在unlocker203文件夹内的readme.txt已经说明,解决方案就是打开保存 OS X 虚拟机的路径,找到.vmx后缀的文件,用记事本打开,搜索smc.present = "TRUE"这一句,在它下面添加一行:smc.version = "0",之后顺利启动,进入安装界面。

  • 安装中会出现一次磁盘空间不够的提示,那是因为它识别到的磁盘是镜像盘,不是你装虚拟机分的空盘。而你找不到分出来的盘是因为格式不识别,需要格式化。点击 Mac 顶部工具栏->实用工具->磁盘工具,然后可以看到左边有几十个G的磁盘,选中,右边有抹掉,也就是格式化,选择格式,下面改个磁盘名,点击抹掉。之后就简单了,等它自己装好就行。


显示与分辨率

  花了十几分钟,装好了 OS X,进系统看到那漂亮的界面,心里暗爽,不禁要操作操作,然而刚挥动起鼠标,我擦,怎么全是残影!再一看系统,32M显存什么鬼,虽然我知道苹果机显存和内存共用,而且这又是虚拟机,但这个32M肯定有问题,而且分辨率也很怪。然后网上一查,原来也要装显卡驱动。解压我前面提供下载的驱动,找到 darwin.iso 文件,在虚拟机设置里选择CD/DVD,选择使用镜像,打开darwin.iso。

设置

  然后在 Vmware 右下角的状态栏找到光盘图标,单击选择连接,就可以在 OS X 的桌面右上角看到加载的磁盘了。没看到的话,按照下图设置一下,还不行再重启系统。打开磁盘,安装 Vmware Tools 。安装结束重启系统。现再进入系统发现没有那么卡了。

OS X 设置

  之后安装显卡驱动VMsvga2_v1.2.5_OS_10.9.pkg。在前面下载的目录里找到该文件,然后把文件拖到虚拟机中,然后...嗯?以前都这么玩的,这次发现竟然拖不了!解决方案就是回到虚拟机设置界面,在选项中打开共享文件夹,共享的路径尽量英文吧。具体如图:

共享文件夹

  按照图片设置结束后,把要拷进去的文件放在这里,然后重启 OS X 系统,即可看到这个文件夹。打开文件夹,双击VMsvga2_v1.2.5_OS_10.9.pkg安装驱动。结束后还是要重启一次,这时再查看系统,会发现显存变成了128M,而且操作也流畅了非常的多。然后在系统设置里找到显示选项,看有没有适合你的分辨率,如果没有的话,打开 Vmware 设置,在硬件里选择显示器,手动输入你想要的分辨率,点确定,再启动OS X系统,打开设置显示,菜单里出现了你需要的分辨率,选择它,然后尽情地玩吧。

分辨率


怎么联网

  系统装好了,然后就要写代码了,OS X下写代码当然要用强大的 Xcode 。你可以从网上下载好安装包放到共享文件夹里,然后用OS X安装,当然也可以直接上App Store下载最新的稳定版本。那么怎么联网?
打开Windows的网络,选择当前上网的网络属性,选择共享标签,选择允许其他链接此网络,如图:

网络共享

然后回到虚拟机设置,网络适配器选择:仅主机模式

主机模式

接着打开OS X,打开网络设置,左边选择以太网,右边选择使用DHCP,点应用,然后大功告成。

当然,这样搞只是权宜之计,如果你真想投入iOS开发,还是买个Mac好。如果你钱不是很多的话,买个便宜的Mac Mini做开发也行的。
如果你只是想先体验体验,这样折腾折腾自己也是必要的。

 

 

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
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、付费专栏及课程。

余额充值