当前位置:   article > 正文

Vmware Esxi 部署Mac OS虚拟机_esxi安装苹果系统

esxi安装苹果系统

Vmware Esxi在创建虚拟机的时候是有Mac OS选项的,但是实际创建时,选择ISO开机后一直反复引导,是有问题的,原因是需要先解锁,需要在ESXI主机上修改配置并重启。

首先找到管理-服务-TSM-ssh,点击启动,此时可ssh连接ESXI

登录进去。

之后下载Vmware exsi-unlocker

Releases · DrDonk/esxi-unlocker · GitHub

我下载的是4.0.6

然后上传到ESXI主机中。

注意:不能上传到根分区,执行unlock会报错,上传到存储目录里。如下:

  1. [root@ESXI01:~] cd /vmfs/volumes/
  2. [root@ESXI01:/vmfs/volumes] ls
  3. 144c39dd-85481ced-f0b5-cbcb4ce2f77e BOOTBANK2
  4. 65ab8c2a-155585f1-857e-e484294e6c68 Dell-SC5020_LUN03
  5. 65ab8c2a-e3bc539d-b692-e484294e6c68 OSDATA-65ab8c2a-e3bc539d-b692-e484294e6c68
  6. 65afbc68-db62bc7d-81c3-00620b230640 datastore1
  7. BOOTBANK1 f72e5769-4a43e573-1885-9138ce0a9280
  8. [root@ESXI01:/vmfs/volumes] cd Dell-SC5020_LUN03/
  9. [root@ESXI01:/vmfs/volumes/65afbc68-db62bc7d-81c3-00620b230640]
  10. 上传下载好的esxi-unlocker
  11. [root@ESXI01:/vmfs/volumes/65afbc68-db62bc7d-81c3-00620b230640] ll esxi-unlocker-4.0.6/
  12. total 39296
  13. drwxr-xr-x 1 root root 77824 Feb 28 10:35 .
  14. drwxr-xr-t 1 root root 81920 Feb 28 10:41 ..
  15. -rw-r--r-- 1 root root 375 Feb 28 08:53 .gitattributes
  16. drwxr-xr-x 1 root root 73728 Feb 28 08:53 .github
  17. -rw-r--r-- 1 root root 96 Feb 28 08:53 .gitignore
  18. -rw-r--r-- 1 root root 1759 Feb 28 08:53 CHANGELOG.md
  19. -rw-r--r-- 1 root root 1075 Feb 28 08:53 LICENSE
  20. -rw-r--r-- 1 root root 3922 Feb 28 08:53 README.md
  21. -rw-r--r-- 1 root root 3349 Feb 28 08:53 TROUBLESHOOTING.md
  22. -rw-r--r-- 1 root root 38406670 Feb 28 10:35 apple.v00
  23. -rwxr-xr-x 1 root root 1128 Feb 28 08:53 check
  24. -rwxr-xr-x 1 root root 67 Feb 28 08:53 checksmc
  25. -rwxr-xr-x 1 root root 70 Feb 28 08:53 checkvmkctl
  26. -rwxr-xr-x 1 root root 66 Feb 28 08:53 dumpsmc
  27. -rwxr-xr-x 1 root root 10663 Feb 28 08:53 patchsmc
  28. -rwxr-xr-x 1 root root 2157 Feb 28 08:53 patchvmkctl
  29. -rwxr-xr-x 1 root root 677 Feb 28 08:53 relock
  30. -rwxr-xr-x 1 root root 2970 Feb 28 08:53 unlock
  31. 执行unlock
  32. [root@ESXI01:/vmfs/volumes/65afbc68-db62bc7d-81c3-00620b230640] cd esxi-unlocker-4.0.6/
  33. [root@ESXI01:/vmfs/volumes/65afbc68-db62bc7d-81c3-00620b230640/esxi-unlocker-4.0.6] ./unlock
  34. VMware ESXi Unlocker 4.0.5
  35. ==========================
  36. Installing unlocker...
  37. PatchSMC 4.0.5
  38. ==============
  39. Filename: ./tmp/bin/vmx
  40. File ./tmp/bin/vmx is already patched
  41. PatchSMC 4.0.5
  42. ==============
  43. Filename: ./tmp/bin/vmx-debug
  44. File ./tmp/bin/vmx-debug is already patched
  45. PatchSMC 4.0.5
  46. ==============
  47. Filename: ./tmp/bin/vmx-stats
  48. File ./tmp/bin/vmx-stats is already patched
  49. PatchVMKCTL 4.0.5
  50. =================
  51. Filename: ./tmp/lib64/libvmkctl.so
  52. Patch Status: True
  53. File is already patched
  54. Building apple.v00 VMTAR file...
  55. Cleaning up tmp files...
  56. Adding to bootbank...
  57. Acquiring lock /tmp/bootbank.lck
  58. Copying apple.v00 to /bootbank/apple.v00
  59. Editing /bootbank/boot.cfg to add module apple.v00
  60. Reboot the ESXi server to install unlocker (y/N)?
  61. 选择y,之后会重启ESXI

重启完毕后再次创建虚拟机,如下选择

打开虚拟机,正常显示:

点击继续

点击同意

此处会显示没有足够空间,需要点击实用工具-磁盘工具,选中VMware Virtual盘,点击抹掉,然后命令Mac OS

之后退出磁盘工具

等待安装完成

选择中国,继续

继续,填写静态IP地址

下一步设置账号密码随意即可

安装完成

弹出镜像,再安装vmware tools,官网下载

https://customerconnect.vmware.com/cn/downloads/details?downloadGroup=VMTOOLS1235&productId=1259&rPId=112357&download=true&fileId=c42c8256f1e2d76622c3d83b9c3ed47a&uuId=bd3e55dc-e811-4232-8aa8-b2eba6a26a8a

下载后本地解压出darwin.iso,上传到ESXI数据存储中,之后给虚拟机挂载上。

等待安装完成即可

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/526671
推荐阅读
相关标签
  

闽ICP备14008679号