・VMware Workstation Player 16 で、ゲストOSに「Mac OS」を選択できるようにしたい。
・具体的な手順を教えてほしい。
こういった疑問に答えます。
本記事の内容
この記事を書いている私は、某SIerに勤務しながら、
WEB系エンジニア・インフラエンジニアに憧れて、プログラミングおよびインフラ技術の勉強をしています。
こういった私が、解説していきます。
私が実機で試したコマンドや画像を載せて書いています。
記事の信頼性担保に繋がると思います。
注意:本記事の内容は、私が見た夢の話です。
Mac本体を所有していない方が、MacOSをコピーして他のマシンにインストールして使うことは、ライセンス違反になる可能性があります。
本記事の手順を真似する場合は、すべて自己責任でお願いいたします。
前提
VMware Workstation Player 16 は、インストール直後の状態では、
ゲストOSの種類は「Windows」「Linux」「その他」の3種類です。
「Mac OS」は選択することができません。
VMware Workstation Player 16 にunlocker3.0.2を適用する手順
Donk氏という偉い人が「unlocker3.0.2」というのを作ってくれていて、これを使うと、ゲストOSで「Mac OS」を選択できるようになります。
unlocker3.0.2のダウンロード
2020年10月時点でのVMware Workstation用の「unlocker」の最新バージョンは「3.0.2」です。
https://www.insanelymac.com/forum/files/file/963-macos-unlocker-v30-for-vmware-workstation/
※ダウンロードするには「insanelymac.com」のメールアドレスでのアカウント登録が必要です。
unlocker3.0.2の実行
ダウンロードしたunlocker302.zip
を解凍すると、中身は以下のようになっています。
win-install.cmd
を「管理者として実行」します。
コマンドプロンプトの黒い画面が一瞬表示され、自動的に終了します。
実際のコマンドプロンプトに出力された内容は以下です。
Active code page: 850 VMware is installed at: C:\Program Files (x86)\VMware\VMware Player\ VMware product version: 16.0.0.16894299 Stopping VMware services... Backing up files... C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe -> C:\MyProgram\unlocker302\backup\x64\vmware-vmx.exe 1 File(s) copied C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx-debug.exe -> C:\MyProgram\unlocker302\backup\x64\vmware-vmx-debug.exe 1 File(s) copied File not found - vmware-vmx-stats.exe 0 File(s) copied C:\Program Files (x86)\VMware\VMware Player\vmwarebase.dll -> C:\MyProgram\unlocker302\backup\vmwarebase.dll 1 File(s) copied Patching... File: C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe appleSMCTableV0 (smc.version = "0") appleSMCTableV0 Address : 0xba6e70 appleSMCTableV0 Private Key #: 0xF2/242 appleSMCTableV0 Public Key #: 0xF0/240 appleSMCTableV0 Table : 0xba6e90 +LKS Key: 002 0xba6ed8 +LKS 01 flag 0x90 0x1401e6420L 07 OSK0 Key Before: 241 0xbab210 OSK0 32 ch8* 0x80 0x1401e6420L 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK0 Key After: 241 0xbab210 OSK0 32 ch8* 0x80 0x1401e6420L 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK1 Key Before: 242 0xbab258 OSK1 32 ch8* 0x80 0x1401e6420L 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 OSK1 Key After: 242 0xbab258 OSK1 32 ch8* 0x80 0x1401e6420L 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 appleSMCTableV1 (smc.version = "1") appleSMCTableV1 Address : 0xbab2a0 appleSMCTableV1 Private Key #: 0x01B4/436 appleSMCTableV1 Public Key #: 0x01B0/432 appleSMCTableV1 Table : 0xbab2c0 +LKS Key: 004 0xbab398 +LKS 01 flag 0x90 0x1401e6420L 01 OSK0 Key Before: 435 0xbb2cd0 OSK0 32 ch8* 0x90 0x1401e6420L 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK0 Key After: 435 0xbb2cd0 OSK0 32 ch8* 0x90 0x1401e6420L 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK1 Key Before: 436 0xbb2d18 OSK1 32 ch8* 0x90 0x1401e6420L 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 OSK1 Key After: 436 0xbb2d18 OSK1 32 ch8* 0x90 0x1401e6420L 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 File: C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx-debug.exe appleSMCTableV0 (smc.version = "0") appleSMCTableV0 Address : 0xe0fda0 appleSMCTableV0 Private Key #: 0xF2/242 appleSMCTableV0 Public Key #: 0xF0/240 appleSMCTableV0 Table : 0xe0fdc0 +LKS Key: 002 0xe0fe08 +LKS 01 flag 0x90 0x140254ee0L 07 OSK0 Key Before: 241 0xe14140 OSK0 32 ch8* 0x80 0x140254ee0L 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK0 Key After: 241 0xe14140 OSK0 32 ch8* 0x80 0x140254ee0L 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK1 Key Before: 242 0xe14188 OSK1 32 ch8* 0x80 0x140254ee0L 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 OSK1 Key After: 242 0xe14188 OSK1 32 ch8* 0x80 0x140254ee0L 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 appleSMCTableV1 (smc.version = "1") appleSMCTableV1 Address : 0xe141d0 appleSMCTableV1 Private Key #: 0x01B4/436 appleSMCTableV1 Public Key #: 0x01B0/432 appleSMCTableV1 Table : 0xe141f0 +LKS Key: 004 0xe142c8 +LKS 01 flag 0x90 0x140254ee0L 01 OSK0 Key Before: 435 0xe1bc00 OSK0 32 ch8* 0x90 0x140254ee0L 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK0 Key After: 435 0xe1bc00 OSK0 32 ch8* 0x90 0x140254ee0L 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK1 Key Before: 436 0xe1bc48 OSK1 32 ch8* 0x90 0x140254ee0L 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 OSK1 Key After: 436 0xe1bc48 OSK1 32 ch8* 0x90 0x140254ee0L 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 GOS Patching: C:\Program Files (x86)\VMware\VMware Player\vmwarebase.dll GOS Patched: C:\Program Files (x86)\VMware\VMware Player\vmwarebase.dll Getting VMware Tools... Retrieving Darwin tools from: http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.6/16696540/packages/com.vmware.fusion.tools.darwin.zip.tar Traceback (most recent call last): File "gettools.py", line 159, in <module> main() File "gettools.py", line 112, in main tar = tarfile.open(convertpath(dest + '/tools/com.vmware.fusion.tools.darwin.zip.tar'), 'r') File "tarfile.py", line 1680, in open tarfile.ReadError: file could not be opened successfully [4880] Failed to execute script gettools File not found - darwin*.* 0 File(s) copied Starting VMware services... Finished!
最後の方に、以下が出力されていて、どうやら「com.vmware.fusion.tools.darwin.zip.tar」というファイルを取得できずに失敗しているようです。
tarfile.ReadError: file could not be opened successfully [4880] Failed to execute script gettools File not found - darwin*.* 0 File(s) copied
MK-unlocker3.0.2のダウロード
そこで、よく似た修正版の「MK-unlocker3.0.2」というのをダウンロードして代わりに使ってみます。
https://www.mediafire.com/file/w4khcmcu7hqo1a7/MK-unlocker.zip/file
ダウンロードしたMK-unlocker.zip
を解凍すると、中身は以下のようになっています。
同じように、win-install.cmd
を「管理者として実行」します。
出力結果は以下のような感じ。
Active code page: 850 VMware is installed at: C:\Program Files (x86)\VMware\VMware Player\ VMware product version: 16.0.0.16894299 Stopping VMware services... Backing up files... C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe -> C:\MyProgram\MK_unlocker\backup\x64\vmware-vmx.exe 1 File(s) copied C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx-debug.exe -> C:\MyProgram\MK_unlocker\backup\x64\vmware-vmx-debug.exe 1 File(s) copied File not found - vmware-vmx-stats.exe 0 File(s) copied C:\Program Files (x86)\VMware\VMware Player\vmwarebase.dll -> C:\MyProgram\MK_unlocker\backup\vmwarebase.dll 1 File(s) copied Patching... File: C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe appleSMCTableV0 (smc.version = "0") appleSMCTableV0 Address : 0xba6e70 appleSMCTableV0 Private Key #: 0xF2/242 appleSMCTableV0 Public Key #: 0xF0/240 appleSMCTableV0 Table : 0xba6e90 +LKS Key: 002 0xba6ed8 +LKS 01 flag 0x90 0x1401e6420 07 OSK0 Key Before: 241 0xbab210 OSK0 32 ch8* 0x80 0x1401e6420 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK0 Key After: 241 0xbab210 OSK0 32 ch8* 0x80 0x1401e6420 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK1 Key Before: 242 0xbab258 OSK1 32 ch8* 0x80 0x1401e6420 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 OSK1 Key After: 242 0xbab258 OSK1 32 ch8* 0x80 0x1401e6420 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 appleSMCTableV1 (smc.version = "1") appleSMCTableV1 Address : 0xbab2a0 appleSMCTableV1 Private Key #: 0x01B4/436 appleSMCTableV1 Public Key #: 0x01B0/432 appleSMCTableV1 Table : 0xbab2c0 +LKS Key: 004 0xbab398 +LKS 01 flag 0x90 0x1401e6420 01 OSK0 Key Before: 435 0xbb2cd0 OSK0 32 ch8* 0x90 0x1401e6420 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK0 Key After: 435 0xbb2cd0 OSK0 32 ch8* 0x90 0x1401e6420 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK1 Key Before: 436 0xbb2d18 OSK1 32 ch8* 0x90 0x1401e6420 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 OSK1 Key After: 436 0xbb2d18 OSK1 32 ch8* 0x90 0x1401e6420 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 File: C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx-debug.exe appleSMCTableV0 (smc.version = "0") appleSMCTableV0 Address : 0xe0fda0 appleSMCTableV0 Private Key #: 0xF2/242 appleSMCTableV0 Public Key #: 0xF0/240 appleSMCTableV0 Table : 0xe0fdc0 +LKS Key: 002 0xe0fe08 +LKS 01 flag 0x90 0x140254ee0 07 OSK0 Key Before: 241 0xe14140 OSK0 32 ch8* 0x80 0x140254ee0 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK0 Key After: 241 0xe14140 OSK0 32 ch8* 0x80 0x140254ee0 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK1 Key Before: 242 0xe14188 OSK1 32 ch8* 0x80 0x140254ee0 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 OSK1 Key After: 242 0xe14188 OSK1 32 ch8* 0x80 0x140254ee0 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 appleSMCTableV1 (smc.version = "1") appleSMCTableV1 Address : 0xe141d0 appleSMCTableV1 Private Key #: 0x01B4/436 appleSMCTableV1 Public Key #: 0x01B0/432 appleSMCTableV1 Table : 0xe141f0 +LKS Key: 004 0xe142c8 +LKS 01 flag 0x90 0x140254ee0 01 OSK0 Key Before: 435 0xe1bc00 OSK0 32 ch8* 0x90 0x140254ee0 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK0 Key After: 435 0xe1bc00 OSK0 32 ch8* 0x90 0x140254ee0 6F 75 72 68 61 72 64 77 6F 72 6B 62 79 74 68 65 73 65 77 6F 72 64 73 67 75 61 72 64 65 64 70 6C OSK1 Key Before: 436 0xe1bc48 OSK1 32 ch8* 0x90 0x140254ee0 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 OSK1 Key After: 436 0xe1bc48 OSK1 32 ch8* 0x90 0x140254ee0 65 61 73 65 64 6F 6E 74 73 74 65 61 6C 28 63 29 41 70 70 6C 65 43 6F 6D 70 75 74 65 72 49 6E 63 GOS Patching: C:\Program Files (x86)\VMware\VMware Player\vmwarebase.dll GOS Patched flag @: 0x4ac2a8 GOS Patched flag @: 0x4ac2e8 GOS Patched flag @: 0x4ac328 GOS Patched flag @: 0x4ac368 GOS Patched flag @: 0x4ac3a8 GOS Patched flag @: 0x4ac3e8 GOS Patched flag @: 0x4ac428 GOS Patched flag @: 0x4ac468 GOS Patched flag @: 0x4ac4a8 GOS Patched flag @: 0x4ac4e8 GOS Patched flag @: 0x4ac528 GOS Patched flag @: 0x4ac568 GOS Patched flag @: 0x4ac5a8 GOS Patched flag @: 0x4ac5e8 GOS Patched flag @: 0x4ac628 GOS Patched flag @: 0x4ac668 GOS Patched flag @: 0x55a478 GOS Patched flag @: 0x55a4b8 GOS Patched flag @: 0x55a4f8 GOS Patched flag @: 0x55a538 GOS Patched flag @: 0x55a578 GOS Patched flag @: 0x55a5b8 GOS Patched flag @: 0x55a5f8 GOS Patched flag @: 0x55a638 GOS Patched flag @: 0x55a678 GOS Patched flag @: 0x55a6b8 GOS Patched flag @: 0x55a6f8 GOS Patched flag @: 0x55a738 GOS Patched flag @: 0x55a778 GOS Patched flag @: 0x55a7b8 GOS Patched flag @: 0x55a7f8 GOS Patched flag @: 0x55a838 GOS Patched: C:\Program Files (x86)\VMware\VMware Player\vmwarebase.dll Getting VMware Tools... Trying for the 1th time Retrieving Darwin tools from: http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.6/16696540/packages/com.vmware.fusion.tools.darwin.zip.tar Link didn't work, trying another one... Trying for the 2th time Retrieving Darwin tools from: http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.5/16269456/packages/com.vmware.fusion.tools.darwin.zip.tar Link didn't work, trying another one... Trying for the 3th time Retrieving Darwin tools from: http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.3/15870345/packages/com.vmware.fusion.tools.darwin.zip.tar Link didn't work, trying another one... Trying for the 4th time Retrieving Darwin tools from: http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.2/15794494/packages/com.vmware.fusion.tools.darwin.zip.tar Link didn't work, trying another one... Trying for the 5th time Retrieving Darwin tools from: http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.1/15018442/packages/com.vmware.fusion.tools.darwin.zip.tar Link didn't work, trying another one... Trying for the 6th time Retrieving Darwin tools from: http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.5.0/14634996/packages/com.vmware.fusion.tools.darwin.zip.tar Link didn't work, trying another one... Trying for the 7th time Retrieving Darwin tools from: http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.1.0/13668589/packages/com.vmware.fusion.tools.darwin.zip.tar Retrieving DarwinPre15 tools from: http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/11.1.0/13668589/packages/com.vmware.fusion.tools.darwinPre15.zip.tar C:\MyProgram\MK_unlocker\tools\darwin.iso -> C:\Program Files (x86)\VMware\VMware Player\darwin.iso C:\MyProgram\MK_unlocker\tools\darwin.iso.sig -> C:\Program Files (x86)\VMware\VMware Player\darwin.iso.sig C:\MyProgram\MK_unlocker\tools\darwinPre15.iso -> C:\Program Files (x86)\VMware\VMware Player\darwinPre15.iso C:\MyProgram\MK_unlocker\tools\darwinPre15.iso.sig -> C:\Program Files (x86)\VMware\VMware Player\darwinPre15.iso.sig 4 File(s) copied Starting VMware services... Finished!
今度は、com.vmware.fusion.tools.darwin.zip.tar
の取得に成功して、darwin.iso
ファイルがVMwareのインストールフォルダにコピーされていました。
VMware Workstation Player 16を起動して、ゲストOSの選択肢に「Mac OS」が追加されたことを確認
まとめ
今回は、VMware Workstation Player 16 のゲストOSで「Mac OS X」を選択できるようにする手順を紹介しました。