ESXi6.7上安装MAC系统(苹果系统)
ESXi6.7上安装MAC系统(苹果系统)
(1)下载
下载地址
https://sysin.org/blog/macOS-Big-Sur/#1-ISO-%E6%A0%BC%E5%BC%8F%E8%BD%AF%E4%BB%B6%E5%8C%85%EF%BC%88%E6%8E%A8%E8%8D%90%EF%BC%89
(2)ESXi7.0 能过vCenter建立MAC虚拟机
(3)通过Vmworkstation打开虚拟机,加载ISO文件并启动
解决:
一定要进行esxi-unlocker-master,并且HOST不能重启重启就必须重新unlock
(3.2.1)上传esxi-unlocker-master文件
Unlocker 3.0.2 for ESXi is designed for VMware ESXi 6.5, 6.7 and 7.0.zip
(3.2.2)开启SSH
(3.2.3)通过SSH连接ESXi7.0服务器
(3.2.4)找到unlocker工具并解压
[root@D223:~] cd /vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO]
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO] pwd
/vmfs/volumes/D-10.12.12.223/ISO
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO] ls
esxi-unlocker-master.zip
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO] unzip esxi-unlocker-master.zip
Archive: esxi-unlocker-master.zip
creating: esxi-unlocker-master/
inflating: esxi-unlocker-master/.gitattributes
creating: esxi-unlocker-master/.github/
creating: esxi-unlocker-master/.github/workflows/
inflating: esxi-unlocker-master/.github/workflows/main.yml
inflating: esxi-unlocker-master/.github/workflows/manual.yml
inflating: esxi-unlocker-master/.gitignore
inflating: esxi-unlocker-master/LICENSE
inflating: esxi-unlocker-master/esxi-build.py
inflating: esxi-unlocker-master/esxi-install.sh
inflating: esxi-unlocker-master/esxi-smctest.sh
inflating: esxi-unlocker-master/esxi-uninstall.sh
creating: esxi-unlocker-master/etc/
creating: esxi-unlocker-master/etc/rc.local.d/
inflating: esxi-unlocker-master/etc/rc.local.d/unlocker.py
inflating: esxi-unlocker-master/readme.md
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO]
(3.2.5)安装unlocker并重启
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO] ls
esxi-unlocker-master esxi-unlocker-master.zip
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO] cd esxi-unlocker-master/
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/esxi-unlocker-master] ls
LICENSE esxi-install.sh esxi-uninstall.sh readme.md
esxi-build.py esxi-smctest.sh etc
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/esxi-unlocker-master] ./esxi-install.sh
VMware Unlocker 3.0.2
===============================
Copyright: Dave Parsons 2011-18
Installing unlocker.tgz
File unlocker.tgz does not exist
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/esxi-unlocker-master] ./esxi-smctest.sh
解决重新上传文件,删除原来的文件:
安装:
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/unlocker-3.0.3] ./lnx-install.sh
-sh: ./lnx-install.sh: Permission denied
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/unlocker-3.0.3]
对相应文件(install.sh)增加权限:
chmod 777 install.sh
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/unlocker-3.0.3] chmod 777 lnx-install.sh
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/unlocker-3.0.3] ./lnx-install.sh
-sh: ./lnx-install.sh: not found
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/unlocker-3.0.3]
重新解压文件:
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/unlocker-3.0.3] sh ./lnx-install.sh
Unlocker 3.0.2 for VMware Workstation
=====================================
(c) Dave Parsons 2011-18
This script is optimized by EricNTH, you can visit https://blog.csdn.net/EricNTH to view his and blogs.
sh: 0: unknown operand
Creating backup folder...
cp: can't stat '/usr/lib/vmware/bin/vmware-vmx': No such file or directory
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/ISO/unlocker-3.0.3]
重新上传文件,删除原来的文件:
unlocker3.0.2.zip这个就是nlocker7.zip
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO] ls
unlocker7.zip
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO] unzip unlocker7.zip
Archive: unlocker7.zip
inflating: unlocker7/esxi-install.sh
inflating: unlocker7/esxi-smctest.sh
inflating: unlocker7/esxi-uninstall.sh
inflating: unlocker7/readme.txt
inflating: unlocker7/unlocker.tgz
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO] ls
unlocker7 unlocker7.zip
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO] cd unlocker7/
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7] ls
esxi-install.sh esxi-smctest.sh esxi-uninstall.sh readme.txt unlocker.tgz
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7] ./esxi-install.sh
-sh: ./esxi-install.sh: Permission denied
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7] ls
esxi-install.sh esxi-smctest.sh esxi-uninstall.sh readme.txt unlocker.tgz
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7] sh ./esxi-install.sh
VMware Unlocker 3.0.2
===============================
Copyright: Dave Parsons 2011-18
Installing unlocker.tgz
Acquiring lock /tmp/bootbank.lck
Copying unlocker.tgz to /bootbank/unlocker.tgz
Editing /bootbank/boot.cfg to add module unlocker.tgz
Success - please now restart the server!
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7]
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7]
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7] su ./esxi-smctest.sh
-sh: su: not found
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7] ./esxi-smctest.sh
-sh: ./esxi-smctest.sh: Permission denied
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7] sh ./esxi-smctest.sh
smcPresent = false
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7]
重启服务器:
检查补丁是否成功
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO] pwd
/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO]
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO] ls
unlocker7 unlocker7.zip
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO] cd unlocker7/
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7] ls
esxi-install.sh esxi-smctest.sh esxi-uninstall.sh readme.txt unlocker.tgz
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7] sh ./esxi-smctest.sh
/bin/vmx
smcPresent = true
custom.vgz false 36059568 B
[root@D223:/vmfs/volumes/61add2a5-344a580e-c340-c81f66bf2047/0000000ISO/unlocker7]
true表示成功
(3.2.6)重新安装虚拟机
开机没有从ISO启动,BIOS的启动顺序是正常的,ISO文件也是挂载成功的。
重新新建一个虚拟机测试下:用VMware workstation连接上去新创建一台虚拟机后,可以成功启动了。
、
看不到硬盘:
重启机器 ,重新开始安装:
此界面实际用时:约20分钟,第一段阶到黑色的界面的阶段
实际用时:约30分钟
安装完成。
安装VMware tools
无法安装 VMware Tools。尝试访问安装 VMware Tools 所需的图像文件“/usr/lib/vmware/isoimages/darwin.iso”时出错: 2 (No such file or directory)。请参考产品文档或知识库文章 2129825,了解关于如何获取该客户机操作系统的 VMware Tools 软件包的详细信息。
VMware Tools 的更新而一直更新,最新版本为 11.0,可以在这个网站上下载:
http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/
下载了一个10的版本,不对,重新下载一个13的版本:
解压后的路径:
重启虚拟机,重启后重新挂载:
重启后tools就安装好了:
结束。
VMware workstation支持苹果系统Mac (uncloker)
http://www.zh-cjh.com/xunihua/1901.html
系统安装(列表、list、全)系统安装list、安装list、系统list
http://www.zh-cjh.com/wenzhangguilei/1406.html
文章归类、所有文章列表、LISTLIST
http://www.zh-cjh.com/wangzhangonggao/2195.html
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。
转载请保留出处: www.zh-cjh.com珠海陈坚浩博客 » ESXi6.7上安装MAC系统(苹果系统)
作者: cjh
手机扫一扫,手机上查看此文章: |
一切源于价值!
其他 模板文件不存在: ./template/plugins/comment/pc/index.htm