esxi 5.0 的pxe安装

 

tftp环境的搭建请参考相关资料,操作步骤如下:
 
1 解压光盘
2 建立/tftpboot/vmware/esx5目录,拷贝光盘全部文件到此目录下
3 在/tftpboot/vmware/esx5下运行
   ls | awk '{printf("mv %s %s\n", $0, tolower($0))|"sh"}'
  将所有大写文件名转化成小写。
4 编辑/tftpboot/vmware/esx5/boot.cfg文件,内容如下:
 
bootstate=0
title=Loading ESXi installer
prefix=vmware/esx5
kernel=tboot.b00
modules=b.b00 --- useropts.gz --- k.b00 --- a.b00 --- ata-pata.v00 --- ata-pata.v01 --- ata-pata.v02 --- ata-pata.v03 --- ata-pata.v04 --- ata-pata.v05 --- ata-pata.v06 --- ata-pata.v07 --- block-cc.v00 --- ehci-ehc.v00 --- s.v00 --- weaselin.i00 --- ima-qla4.v00 --- ipmi-ipm.v00 --- ipmi-ipm.v01 --- ipmi-ipm.v02 --- misc-cni.v00 --- misc-dri.v00 --- net-be2n.v00 --- net-bnx2.v00 --- net-bnx2.v01 --- net-cnic.v00 --- net-e100.v00 --- net-e100.v01 --- net-enic.v00 --- net-forc.v00 --- net-igb.v00 --- net-ixgb.v00 --- net-nx-n.v00 --- net-r816.v00 --- net-r816.v01 --- net-s2io.v00 --- net-sky2.v00 --- net-tg3.v00 --- ohci-usb.v00 --- sata-ahc.v00 --- sata-ata.v00 --- sata-sat.v00 --- sata-sat.v01 --- sata-sat.v02 --- sata-sat.v03 --- scsi-aac.v00 --- scsi-adp.v00 --- scsi-aic.v00 --- scsi-bnx.v00 --- scsi-fni.v00 --- scsi-hps.v00 --- scsi-ips.v00 --- scsi-lpf.v00 --- scsi-meg.v00 --- scsi-meg.v01 --- scsi-meg.v02 --- scsi-mpt.v00 --- scsi-mpt.v01 --- scsi-mpt.v02 --- scsi-qla.v00 --- scsi-qla.v01 --- uhci-usb.v00 --- tools.t00 ---imgdb.tgz --- imgpayld.tgz
build=
updated=0
 
5 在http目录下创建esxi5ks.cfg文件,内容如下:
 
#Accept the VMware End User License Agreement
accepteula
 
# Set the root password for the DCUI and Tech Support Mode
rootpw 123456
 
clearpart --firstdisk --overwritevmfs
#Part disk
#install --firstdisk=local  --overwritevmfs
install --firstdisk --overwritevmfs
 
#Set the network to DHCP IP on the first network adapater
network --bootproto=dhcp --device=vmnic0
 
#Final reboot
reboot
 
6 编辑/tftpboot/pxelinux.cfg/default 增加vmware相关内容:
 
 
label vmware5
menu label [^5]  Boot VMware ESXi 5.0
kernel vmware/esx5/mboot.c32
append -c vmware/esx5/boot.cfg  ks=http://192.168.0.1/esxi5ks.cfg
 
 
参考文档:
http://www.vmware.com/files/pdf/techpaper/vSphere-5-ESXi-Operations-Guide.pdf

你可能感兴趣的:(职场,休闲,esxi,5.0,pxe)