考慮到大家很多人並不是我這款網卡,在這里貼出一個鏈接,其包含下面列出的網卡的驅動。使用方法跟下面正文的方法一樣,只需要把網卡那部分替換成你需要的網卡驅動。下載時注意是 Direct Download links 下的 Offline Bundle of version XXX。
net-e1000e: Obsolete - Driver for Intel I217/I218/82579LM/82574L
net-tulip: DECchip 21140 Ethernet driver (This driver allows running ESXi as a VM under Microsoft Hyper-V)
net55-r8168: Updated driver for Realtek 8168/8111/8411/8118 based NICs
net51-r8169: Adds the blacklisted ESXi 5.1 built-in net-r8169 driver back to ESXi 6.0
net51-sky2: Adds the blacklisted ESXi 5.1 built-in net-sky2 driver back to ESXi 6.0
net51-drivers: Deprecated - Adds all blacklisted ESXi 5.1 NIC drivers back to ESXi 6.0
net-atl1: Attansic/Atheros L1 Gigabit Ethernet driver
net-atl1e: Driver for Atheros® AR8121/AR8113/AR8114/AR8131/AR8132/AR8152 PCI-E Ethernet NICs
net-igb: Intel® Gigabit Ethernet Network Driver (modified to ignore invalid NVM checksums)
net-r8101: Realtek RTL8101E/RTL8102E driver
net-r8139too: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter Driver
net-skge: Driver for Marvell Yukon chipset and SysKonnect Gigabit Ethernet Adapters
使用了10年的 Samsung 300e4a 筆記本,陸續升級到 10G RAM + 120G SSD + HD,現在換了新電腦后,覺得把它扔了實在可惜。於是在琢磨了身邊人的各種利舊方案后,決定安裝ESXi,以充分折騰。
優點:
安裝ESXi,便於安裝各個小應用虛擬機,將10G內存划分干凈;
120G SSD只安裝虛擬機系統磁盤也基本夠用,將機械硬盤直通給其中一台虛擬機做NAS,初步決定為黑群暉。
筆記本電池還能撐3、4個小時,UPS也有了!
缺點:
沒有直接操作虛擬機的界面,只能用電腦或手機遠程管理;
ESXi不支持無線網卡,只能插着網線使用;
300e4a 使用網卡是 Realtek 8168E,ESXi 6.7.0 u1 沒有驅動不能直接安裝,但是ESXi 5.5是帶這款網卡驅動的,所以要自定義安裝鏡像。
一、准備安裝鏡像(官方鏡像中添加 r8168 驅動)
1、環境、文件准備:
設置 PowerShell 執行策略,以允許本地腳本執行,參考鏈接Set-ExecutionPolicy
PS> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
安裝 VMware PowerCLI 模塊,參考鏈接Community: VMware PowerCLI |VMware Communities
PS> Install-Module -Name VMware.PowerCLI
安裝該模塊因為是在線安裝,需要時間會久一點,這時候繼續以下工作。
下載 ESXi-Customizer-PS 腳本,參考鏈接VMware Front Experience: ESXi-Customizer-PS
腳本下載地址:
http://vibsdepot.v-front.de/tools/ESXi-Customizer-PS-v2.6.0.ps1
當然參考連接中的下載地址有更新時,建議下載最新的。
下載 Realtek 8168E 網卡驅動,參考鏈接Net55-r8168 - V-Front VIBSDepot Wiki
驅動下載鏈接:
http://vibsdepot.v-front.de/depot/bundles/net55-r8168-8.045a-napi-offline_bundle.zip
下載 VMware vSphere Hypervisor (ESXi) Offline Bundle,注意不是VMware vSphere Hypervisor (ESXi ISO) image,介於官方下載要注冊加申請試用,放一個非官方的雷鋒鏈接,參考鏈接:老管網絡日志
參考鏈接里有百度網盤地址:
百度網盤 VMware vSphere 6.7.0 update1
下載其中的update-from-esxi6.7-6.7_update01.zip,即Offline Bundle。
下載鏡像U盤寫入工具Rufus,參考鏈接Rufus官網
rufus下載地址:
https://github.com/pbatard/rufus/releases/download/v3.3/rufus-3.3.exe
運行后會自動更新。
2、自定義安裝鏡像的操作
將上面的環境准備好,文件下載完后放在同一個文件夾下。
圖1
貼一下ESXi-Customizer-PS-v2.6.0.ps1的參數,可以看到功能還是挺多的:
PS> .\ESXi-Customizer-PS-v2.6.0.ps1 -help
This is ESXi-Customizer-PS Version 2.6.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
Usage:
ESXi-Customizer-PS [-help] | [-izip [-update]] [-sip] [-v67|-v65|-v60|-v55|-v51|-v50]
[-ozip] [-pkgDir
Optional parameters:
-help : display this help
-izip : use the VMware Offline bundle as input instead of the Online depot
-update : only with -izip, updates a local bundle with an ESXi patch from the VMware Online depot,
combine this with the matching ESXi version selection switch
-pkgDir
首先建議加入VMware 的 CEIP,當然不加入也可以,運行PowerCLI相關命令工具會出現警告。
PS> Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true
現在生成自定義鏡像:
PS> ./ESXi-Customizer-PS-v2.6.0.ps1 -izip update-from-esxi6.7-6.7_update01.zip -dpt net55-r8168-8.045a-napi-offline_bundle.zip -load net55-r8168
順利的話,很快就在目錄下生成對應的ISO鏡像文件。
我的輸出如下:
PS> ./ESXi-Customizer-PS-v2.6.0.ps1 -izip update-from-esxi6.7-6.7_update01.zip -dpt net55-r8168-8.045a-napi-offline_bundle.zip -load net55-r8168
This is ESXi-Customizer-PS Version 2.6.0 (visit https://ESXi-Customizer-PS.v-front.de for more information!)
(Call with -help for instructions)
Logging to C:\Users\Yang\AppData\Local\Temp\ESXi-Customizer-PS-8264.log …
Running with PowerShell version 5.1 and VMware PowerCLI version 11.0.0.10336080
Adding base Offline bundle update-from-esxi6.7-6.7_update01.zip … [OK]
Connecting additional depot net55-r8168-8.045a-napi-offline_bundle.zip … [OK]
Getting Imageprofiles, please wait … [OK]
Using Imageprofile ESXi-6.7.0-20181002001-standard …
(dated 10/08/2018 10:26:44, AcceptanceLevel: PartnerSupported,
Updates ESXi 6.7 Image Profile-ESXi-6.7.0-20181002001-standard)
Load additional VIBs from Online depots …
Add VIB net55-r8168 8.045a-napi [New AcceptanceLevel: CommunitySupported] [OK, added]
Exporting the Imageprofile to ‘D:\Temp\300e4a-esxi\ESXi-6.7.0-20181002001-standard-customized.iso’. Please be patient …
All done.
至此,安裝鏡像就准備好了。
3、制作安裝用U盤
運行rufus,設備處下拉選擇要寫的U盤,使用“選擇”按鈕選擇剛生成的鏡像。“開始”寫入,有提示的話都選擇推薦。
圖2
等寫入進程結束后,就做好了。
二、300E4A 使用U盤安裝 ESXi 6.7.0 u1
此處只寫一個暗坑,不知道是我的個例還是通病,記錄一下。其他安裝過程都沒啥可多說的。
用U盤啟動后花屏
我的 300E4A 用 ESXi 優盤啟動后花屏,在恢復 CMOS 默認設置后,打開 AHCI,關閉UEFI特性后啟動安裝正常。原因沒深究,估計還是跟電腦固件太老有關系。
安裝完 ESXi 后無限重啟
用上一步的方法安裝完 ESXi 后,筆記本不能引導。當然啊,因為把 UEFI 特性給關了啊,在 CMOS 設置里打開UEFI特性就行了。
來源網址:https://www.jianshu.com/p/b0124a2c5e33
參考網站:1、ESXi-Customizer-PS https://www.v-front.de/p/esxi-customizer-ps.html#download