U盤安裝ESXi4.1

 

具體步驟如下:
a、下載Syslinux的軟件並解壓縮,這裏測試的版本是syslinux-3.86;
(下載地址:http://www.kernel.org/pub/linux/utils/boot/syslinux/
b、進入解壓縮目錄...\win32,執行syslinux.exe U盤符
D:\syslinux-3.86\win32>syslinux.exe j:
c、將ESXi鏡像內容全部拷貝到U盤中
d、將U盤中的syslinux.cfg文件名改爲SYSlinux.cfg
如果是ESXi4.1之前的版本到此就設置完成,這裏要安裝ESX4.1版本,還要繼續設置。
e、在U盤的根目錄創建一個ks.cfg文件,輸入以下內容
# Accept the VMware End User License Agreement
vmaccepteula
# Set the root password for the DCUI and Tech Support Mode
rootpw password  
# Choose the first discovered disk to install onto
autopart --firstdisk --overwritevmfs
# The installation media is in the CD-ROM drive
install usb
# Set the network to DHCP on teh first network adapater
network --bootproto=dhcp --device=vmnic0
f、 修改SYSlinux.cfg文件,在append vmkboot.gz 後面增加一句:ks=usb:/ks.cfg
完整內容如下:
default menu.c32
menu title VMware VMvisor Boot Menu
timeout 80
 
label ESXi Installer
menu label ^ESXi Installer
kernel mboot.c32
append vmkboot.gz ks=usb:/ks.cfg --- vmkernel.gz --- sys.vgz --- cim.vgz --- ienviron.vgz --- install.vgz
 
label ^Boot from local disk
menu label ^Boot from local disk
localboot 0x80
 
到此,U盤安裝ESXi4.1設置完成,安裝時服務器從U盤啓動即可,安裝過程跟光盤安裝無兩樣。此例中root的密碼爲password
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章