VmSky虚拟化论坛

 找回密码
 我要注册

手机号码,快捷登录

搜索
查看: 4896|回复: 29

Mac OS X Unlocker for VMware V1.3.0

[复制链接]
发表于 4-24-2014 10:56:19 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?我要注册

x
Mac OS X Unlocker for vmware
============================

1. Introduction
---------------

The package is a combination of the Unlocker code written by Zenith432 plus some
fixes and scripts written by myself that wrap the actual unlocker code.

It has been tested against:

* Workstation 8/9/10 on Windows and Linux (32 & 64-bit versions)
* Player 4/5/6 on Windows and Linux (32 & 64-bit versions)
* Fusion 4/5/6 on Snow Leopard, Lion, Mountain Lion and Mavericks
* ESXi 5.0/5.1/5.5

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 creation
* Copy darwin.iso if needed to VMware folder

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.

Also Player is missing vmware-vmx-debug and vmware-vmx-stats files and so an
error is shown during patching as the files are not found. This can be safely
ignored.

OS X guests on ESXi patched hosts cannot be controlled from vCenter, only from
the ESXi host itself. This means power operations have to be run directly on
the server.

The vmwarebase code does not need to be patched on ESXi or OS X 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.

2. 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".

install.cmd   - patches VMware and copies darwin.iso tools image to VMware
uninstall.cmd - restores VMware and removes darwin.iso tools image from VMware

3. Linux
---------
On Linux you will need to be either root or use sudo to run the scripts.

You may need to ensure the contents of the linux folder have execute permissions
by running chmod +x against the 4 files.

install.sh   - patches VMware and copies darwin.iso tools image to VMware
uninstall.sh - restores VMware and removes darwin.iso tools image from VMware

4. 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 contents of the osx folder have execute permissions
by running chmod +x against the 3 files.

install.sh   - patches VMware
uninstall.sh - restores VMware

5. 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.

<<< WARNING: use a datastore volume to run the scripts >>>

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 contents of the esxi folder have execute permissions
by running chmod +x against the 3 files.

install.sh   - patches VMware
uninstall.sh - restores VMware

Note:
1. System should have a persistent scratch partition - should be OK except for stateless
   and USB boot on drives less than 4GB
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033696
http://www-01.ibm.com/support/docview.wss?uid=isg3T1013015
http://www.vreference.com/2011/04/28/check-for-esxi-scratch-persistence/
2. 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.
3. This option runs at boot time to patch the releavant files and it now survives
   an upgrade or patch to ESXi as local.sh is part of the persisted local state.

6. Zenith432's Unlocker
-----------------------

In all cases the unlocker can be run without the scripts but you would need to
carry out additional actions which the scripts encapsulate for you especially on
ESXi. If you want to run the unlocker directly the parameters are:

Usage: Unlocker [-h] [-u] [target_directory]
  -h: print help
  -u: remove the patch
  target_directory: customize location of vmx executables

On all platforms you must run it with administrator or root privileges.
The source code is provided and Zenith432 makes it freely available for
modification. I have modified the code and it is available as per Zenith432's
original statement.


Thanks to Zenith432 for building the unlocker and Mac Son of Knife for all
the testing and support.


History
-------
11/10/11 1.0.0 - First release
07/11/11 1.0.1 - Fixed typo in Windows command files
07/12/11 1.0.2 - Updated patcher and tools for latest release WKS 8.0.1 & FUS 4.1.1
10/05/12 1.1.0 - Changed the patching mechanism for vmwarebase .dll or .so
                 & tested against ESXi 5.0 U1 and Tech Previews.
13/07/13 1.1.1 - Changed ESXi scripts to ensure not deleting root /bin folder
               - Fixed vmwarebase patching on 32-bit Linux
               - Some other code clean-up in Unlocker.cpp
18/09/13 1.2.0 - Updated vmwarebase pattern matching for WKS 10.0.0 & FUS 6.0.0
25/03/14 1.3.0 - New method to run patcher on ESXi
               - Fixes crashes when using vCenter
               - Tested against ESXi 5.5
               - Darwin guest tools from Fusion 6.0.2
               - Zip file preserves file attributes for Posix based systems

(c) 2011-2014 Dave Parsons

unlock-all-v130.zip

4.16 MB, 下载次数: 449, 下载积分: V币 -1 个

vmsky精彩虚拟化
发表于 4-24-2014 11:26:53 | 显示全部楼层
谢谢分享

需要此补丁

十分感谢
vmsky精彩虚拟化
发表于 4-27-2014 20:12:15 | 显示全部楼层
感谢分享此补丁
vmsky精彩虚拟化
发表于 4-28-2014 21:28:14 | 显示全部楼层
来得真及时,谢谢~~~~
vmsky精彩虚拟化
发表于 4-29-2014 09:43:56 | 显示全部楼层
哇塞....都到1.3了  和1.2有啥差别/
vmsky精彩虚拟化
发表于 4-29-2014 11:51:59 | 显示全部楼层
good 下载试一下
vmsky精彩虚拟化
发表于 5-7-2014 22:34:29 | 显示全部楼层
很好好强大
vmsky精彩虚拟化
发表于 6-15-2014 15:55:52 | 显示全部楼层
有VM7用的吗
vmsky精彩虚拟化
发表于 7-24-2014 11:44:43 | 显示全部楼层
谢谢分享

很有用 能做mac实验了
vmsky精彩虚拟化
发表于 9-4-2014 16:19:32 | 显示全部楼层
这个不错 可以在windows上的VMware虚拟机上装 mac os x
vmsky精彩虚拟化
发表于 10-20-2014 13:29:14 | 显示全部楼层
太好了,谢谢。
vmsky精彩虚拟化
 楼主| 发表于 10-20-2014 14:43:01 | 显示全部楼层
Install OS X Yosemite 10.10 14A389  这一版都可以。已经装上了好几天了。
vmsky精彩虚拟化
发表于 10-26-2014 22:49:01 | 显示全部楼层
英语不好只能围观了...
vmsky精彩虚拟化
发表于 11-2-2014 19:43:33 | 显示全部楼层
谢谢楼主分享!
vmsky精彩虚拟化
发表于 11-3-2014 09:00:54 | 显示全部楼层
thx for sharing
vmsky精彩虚拟化
发表于 11-9-2014 19:50:08 | 显示全部楼层
这个工具干嘛的?
vmsky精彩虚拟化
发表于 11-18-2014 22:29:28 | 显示全部楼层
一直想在机器上装个Max OS,终于可以试一下了,谢谢!
vmsky精彩虚拟化
发表于 12-7-2014 10:40:29 | 显示全部楼层
谢谢楼主分享!
vmsky精彩虚拟化
发表于 12-8-2014 08:32:43 | 显示全部楼层
晕,官网更新的时候我就下载了,就没想到传上来。1.3.0还是不支持11版本的,只能用VM10版本来补丁安装MAC,11版试不行。
vmsky精彩虚拟化
 楼主| 发表于 12-8-2014 08:39:17 | 显示全部楼层
本来就不支持11的,只有等更新了。
vmsky精彩虚拟化
发表于 12-9-2014 07:43:44 | 显示全部楼层
支持VMWARE WORKSTATION 11版本的什么时候出来?
vmsky精彩虚拟化
发表于 12-9-2014 12:16:12 | 显示全部楼层
玩黑苹果就需要这个。
vmsky精彩虚拟化
发表于 12-18-2014 15:53:10 | 显示全部楼层

谢谢楼主分享!
vmsky精彩虚拟化
您需要登录后才可以回帖 登录 | 我要注册

本版积分规则

小黑屋|手机版|Archiver|VmSky技术社区 ( 京ICP备18030265号-3 )

GMT+8, 9-19-2019 21:33 , Processed in 0.057919 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表