考慮到大家很多人并不是我這款網(wǎng)卡碉钠,在這里貼出一個鏈接,其包含下面列出的網(wǎng)卡的驅(qū)動卷拘。使用方法跟下面正文的方法一樣喊废,只需要把網(wǎng)卡那部分替換成你需要的網(wǎng)卡驅(qū)動。下載時注意是 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(R) AR8121/AR8113/AR8114/AR8131/AR8132/AR8152 PCI-E Ethernet NICs
- net-igb: Intel(R) 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 筆記本污筷,陸續(xù)升級到 10G RAM + 120G SSD + HD,現(xiàn)在換了新電腦后乍赫,覺得把它扔了實在可惜瓣蛀。于是在琢磨了身邊人的各種利舊方案后,決定安裝ESXi雷厂,以充分折騰惋增。
優(yōu)點:
- 安裝ESXi,便于安裝各個小應用虛擬機改鲫,將10G內(nèi)存劃分干凈诈皿;
- 120G SSD只安裝虛擬機系統(tǒng)磁盤也基本夠用,將機械硬盤
直通給其中一臺虛擬機做NAS像棘,初步?jīng)Q定為黑群暉稽亏。 - 筆記本電池還能撐3、4個小時缕题,UPS也有了截歉!
缺點:
- 沒有直接操作虛擬機的界面,只能用電腦或手機遠程管理避除;
- ESXi不支持無線網(wǎng)卡怎披,只能插著網(wǎng)線使用;
- 300e4a 使用網(wǎng)卡是 Realtek 8168E瓶摆,ESXi 6.7.0 u1 沒有驅(qū)動不能直接安裝凉逛,但是ESXi 5.5是帶這款網(wǎng)卡驅(qū)動的,所以要自定義安裝鏡像群井。
一状飞、準備安裝鏡像(官方鏡像中添加 r8168 驅(qū)動)
1、環(huán)境、文件準備:
- 設置 PowerShell 執(zhí)行策略诬辈,以允許本地腳本執(zhí)行酵使,參考鏈接Set-ExecutionPolicy
PS> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
- 安裝 VMware PowerCLI 模塊,參考鏈接Community: VMware PowerCLI |VMware Communities
PS> Install-Module -Name VMware.PowerCLI
安裝該模塊因為是在線安裝焙糟,需要時間會久一點口渔,這時候繼續(xù)以下工作。
- 下載 ESXi-Customizer-PS 腳本穿撮,參考鏈接VMware Front Experience: ESXi-Customizer-PS
腳本下載地址:
http://vibsdepot.v-front.de/tools/ESXi-Customizer-PS-v2.6.0.ps1
當然參考連接中的下載地址有更新時缺脉,建議下載最新的。 - 下載 Realtek 8168E 網(wǎng)卡驅(qū)動悦穿,參考鏈接Net55-r8168 - V-Front VIBSDepot Wiki
驅(qū)動下載鏈接:
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,介于官方下載要注冊加申請試用栗柒,放一個非官方的雷鋒鏈接礁扮,參考鏈接:老管網(wǎng)絡日志
參考鏈接里有百度網(wǎng)盤地址:
百度網(wǎng)盤 VMware vSphere 6.7.0 update1
下載其中的update-from-esxi6.7-6.7_update01.zip,即Offline Bundle瞬沦。 - 下載鏡像U盤寫入工具Rufus太伊,參考鏈接Rufus官網(wǎng)
rufus下載地址:
https://github.com/pbatard/rufus/releases/download/v3.3/rufus-3.3.exe
運行后會自動更新。
2蛙埂、自定義安裝鏡像的操作
將上面的環(huán)境準備好倦畅,文件下載完后放在同一個文件夾下。
貼一下ESXi-Customizer-PS-v2.6.0.ps1的參數(shù)绣的,可以看到功能還是挺多的:
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 <bundle> [-update]] [-sip] [-v67|-v65|-v60|-v55|-v51|-v50]
[-ozip] [-pkgDir <dir>] [-outDir <dir>] [-vft] [-dpt depot1[,...]]
[-load vib1[,...]] [-remove vib1[,...]] [-log <file>] [-ipname <name>]
[-ipdesc <desc>] [-ipvendor <vendor>] [-nsc] [-test]
Optional parameters:
-help : display this help
-izip <bundle> : use the VMware Offline bundle <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 <dir> : local directory of Offline bundles and/or VIB files to add (if any, no default)
-ozip : output an Offline bundle instead of an installation ISO
-outDir <dir> : directory to store the customized ISO or Offline bundle (the default is the
script directory. If specified the log file will also be moved here.)
-vft : connect the V-Front Online depot
-dpt depot1[,...] : connect additional Online depots by URL or local Offline bundles by file name
-load vib1[,...] : load additional packages from connected depots or Offline bundles
-remove vib1[,...] : remove named VIB packages from the custom Imageprofile
-sip : select an Imageprofile from the current list
(default = auto-select latest available standard profile)
-v67 | -v65 | -v60 |
-v55 | -v51 | -v50 : Use only ESXi 6.7/6.5/6.0/5.5/5.1/5.0 Imageprofiles as input, ignore other versions
-nsc : use -NoSignatureCheck with export
-log <file> : Use custom log file <file>
-ipname <name>
-ipdesc <desc>
-ipvendor <vendor> : provide a name, description and/or vendor for the customized
Imageprofile (the default is derived from the cloned input Imageprofile)
-test : skip package download and image build (for testing)
- 首先建議加入VMware 的 CEIP叠赐,當然不加入也可以,運行PowerCLI相關命令工具會出現(xiàn)警告屡江。
PS> Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true
- 現(xiàn)在生成自定義鏡像:
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盤惹苗,使用“選擇”按鈕選擇剛生成的鏡像∷是停“開始”寫入桩蓉,有提示的話都選擇推薦。
等寫入進程結束后劳闹,就做好了院究。
二洽瞬、300E4A 使用U盤安裝 ESXi 6.7.0 u1
此處只寫一個暗坑,不知道是我的個例還是通病业汰,記錄一下伙窃。其他安裝過程都沒啥可多說的。
- 用U盤啟動后花屏
我的 300E4A 用 ESXi 優(yōu)盤啟動后花屏样漆,在恢復 CMOS 默認設置后为障,打開 AHCI,關閉UEFI特性后啟動安裝正常氛濒。原因沒深究产场,估計還是跟電腦固件太老有關系。 - 安裝完 ESXi 后無限重啟
用上一步的方法安裝完 ESXi 后舞竿,筆記本不能引導。當然啊窿冯,因為把 UEFI 特性給關了啊骗奖,在 CMOS 設置里打開UEFI特性就行了。