Akemi

ESXi物理机安装踩坑汇总

2024/04/26

如果出现无法载图的情况,请检查与github的连通性

物理机型号: 零刻Sei12 i5-12450H 32G内存 2T SSD

2024.2.20更新

我的i225-v用第三方的驱动封装没有用,最近搜的时候发现在VMware官网社区找到了社区封装的驱动包,支持7.0版本的i225和i219系列的网卡,支持8.0版本i219版本的网卡

详细页链接

Community Network Driver for ESXi Documentation - VMware Technology Network VMTN

下载链接

https://download3.vmware.com/software/vmw-tools/community-network-driver/Net-Community-Driver_1.2.7.0-1vmw.700.1.0.15843807_19480755.zip

使用这个vib包进行封装

封装方法见下文,将文件名替换成这个压缩包里解压出来的vib文件即可

申请许可与下载镜像

从官网下载镜像,要申请个人的license,我一开始使用想用exsi8的,后面失败了最后改用的7,现在申请能秒通过,不用像以前一样等了

申请链接:

ESXi7:Download VMware vSphere Hypervisor for Free

ESXi8:Download VMware vSphere Hypervisor for Free

8.0镜像封装驱动

使用ESXi-Customizer-PS进行安装

参考文档:ESXI中封装驱动_esxi 封装驱动-CSDN博客

准备工作:

下载ESXi-Customizer-PS-v2.6.0.ps1,下载链接https://www.v-front.de/p/esxi-customizer-ps.html

下载8.0的离线安装包VMware-ESXi-8.0U2-22380479-depot.zip(官网下载

下载对应驱动net55-r8168-8.045a-napi.x86_64.vib(我的是8168的网卡,网卡参数可以用AIDA64看,下载链接https://vibsdepot.v-front.de/wiki/index.php/List_of_currently_available_ESXi_packages

1
2
3
4
5
6
7
#打开powershell,安装PowerCLI
Install-Module -Name [VMware](https://so.csdn.net/so/search?q=VMware&spm=1001.2101.3001.7020).PowerCLI
#将离线安装包和ESXi-Customizer-PS-v2.6.0.ps1放到同一目录(我是D:\pkg)下
#创建文件夹(我是1),将驱动vib文件放进去
#执行命令
cd D:\pkg
.\ESXi-Customizer-PS-v2.6.0.ps1 -izip .\VMware-ESXi-8.0U2-22380479-depot.zip -pkgDir .\1

报错没有python

在官网下载python 3.7.1版本的executable

下载链接:

Python Release Python 3.7.1 | Python.org

Windows x86-64 executable installer

安装时勾选add python 3.7 to PATH

选择Customize installation,然后一路往下,选个自己喜欢的路径,我的路径是C:\Python\Python37\,下面要用到

成功安装3.7.1后重启powershell

添加可执行文件路径给PowerCLI

Set-PowerCLIConfiguration -PythonPath C:\Python\Python37\python.exe

重启powershell

cd D:\pkg

.\ESXi-Customizer-PS-v2.6.0.ps1 -izip .\VMware-ESXi-8.0U2-22380479-depot.zip -pkgDir .\1

报错缺少模块

python -m pip install –upgrade pip

pip install six lxml psutil pyopenssl

安装完成后重试

cd D:\pkg

.\ESXi-Customizer-PS-v2.6.0.ps1 -izip .\VMware-ESXi-8.0U2-22380479-depot.zip -pkgDir .\1

报错VIB包无效

使用7.0的离线包进行加载——加载成功

.\ESXi-Customizer-PS-v2.6.0.ps1 -izip .\VMware-ESXi-7.0U3n-21930508-depot.zip -pkgDir .\1

加载成功后在当前目录下会产生镜像文件

报错HW feature imcompatibility detected; cannot start

参考文档

Intel 1240安装ESXI文档 - LILEI-2 - 博客园 (cnblogs.com)

ESXi 7 and 8 Installation fails with “Fatal CPU mismatch on feature” | virten.net

启动时增加参数cpuUniformityHardCheckPanic=FALSE

CATALOG
  1. 1. 2024.2.20更新
  2. 2. 申请许可与下载镜像
  3. 3. 8.0镜像封装驱动
    1. 3.1. 报错没有python
    2. 3.2. 报错缺少模块
    3. 3.3. 报错VIB包无效
      1. 3.3.1. 使用7.0的离线包进行加载——加载成功
  4. 4. 报错HW feature imcompatibility detected; cannot start