联想启天M415台式机安装esxi找不到网卡的解决方法

联想启天M415台式机安装esxi时出现找不到网卡不能继续安装的情况,报错如下:

No network adapters

No Network adapters were detected .Either no network adapters are physically connected to the system,or a suitable driver could not be located .A third party driver may be required.
Ensure that there is at least one network adapter physically connected to the system before attempting installation.If the problem persists,consult the VMware Knowledge Base.

具体原因是esxi安装盘中没有启天M415电脑的网卡驱动,导致无法识别网卡。写到这里吐个槽,联想网站上配置单只有10M/100M/1000M有线网卡的记载,没有具体型号说明,拆机查看网卡使用的是RTL8111。

大致操作分为下面四个步骤:

1,确定网卡型号和驱动包名。

2,安装PowerCLI及cumtomizer驱动打包工具。

3,用打包工具打出新esxi安装镜像。

4,重新安装。

 

具体操作方法如下:

1.1,通过各种方式获取网卡的具体型号,比如上文拆机得知M415使用RTL 8111网卡。

1.2,去V-Front VIBSDepot wiki(https://vibsdepot.v-front.de/wiki/index.php/List_of_currently_available_ESXi_packages)根据网卡型号确定驱动包名。由下图可知,RTL 8168/8111/8411/8118这几个型号的网卡驱动包是net55-r8168。

2,下载ESXi-Customizer-PS和VMware PowerCLI,后者需要安装。

2.1,Win7系统需要安装Windows Management Framework,包名是KB2819745,Win10无需。

2.2,以管理员身份运行PowerShell,执行下列两条命令。这两条命令的作用是允许RemoteSigned

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Set-ExecutionPolicy Unrestricted

3.1,以管理员身份启动VMWare PowerCLI。

3.2,切换到ESXi-Customizer-PS目录中,执行下面的打包命令,此过程必须联网。如果有长时间卡在某个步骤不动,请检查网络。

cd D:\vmd

.\ESXi-Customizer-PS-v2.6.0.ps1 -v67 -vft -load net55-r8168,sata-xahci

执行后会有安全警告,选R,运行一次。完成后会在当前目录下生成带有-customized标记的iso文件。

4,将此镜像刻盘,并用此光盘引导,即可安装。

 

附:

ESXi-Customizer-PS-v2.6.0.ps1.zip

net55-r8168-8.045a-napi.x86_64.vib.zip

VMware-PowerCLI-6.5.0-4624819.exe.zip

Windows6.1-KB2819745-x64-MultiPkg.msu.zip

本文链接地址: https://danteng.org/how-to-solve-no-network-adapters-when-esxi-is-install/