1,750 瀏覽數

VMware esxi 無 Video (螢幕)輸出的安裝方式

VMware 要透過無 VGA 螢幕 輸出的安裝方式可以透過 serial (comport) 序列埠的方式來進行,首先我們需要修改 VMware 的開機設定檔案,所以無法透過 CD 光碟來安裝,所以這邊將採用 PXE 的安裝模式.

你可能須要先了解一下關於

首先需要設定 PXE 開機的設定檔 default

#vi /tftpboot/linux-install/pxelinux.cfg/default 
LABEL esxi50
KERNEL images/esx/mboot.c32
APPEND -c images/esx/boot.cfg text gdbPort=none logPort=none tty2Port=com1

主要是 APPEND -c images/esx/boot.cfg 後面增加透過 文字模式+序列埠安裝的參數 text gdbPort=none logPort=none tty2Port=com1

  1. text
    安裝為文字模式
  2. gdbPort=none
  3. logPort=none
  4. tty2Port=com1
    指定 tty (就是序列埠) 為 com1 (Comport 1)

不像是 Redhat 之類的 Linux 系統,從 comport (serial) port 序列埠安裝作業系統,系統就會使用 comport (serial) port 序列埠為預設的輸出, VMware 還需要手動修改 boot.cfg 設定檔, 並將 kernelopt 後的參數修改成如下所示.

#vi /tftpboot/linux-install/esxi/boot.cfg
bootstate=0
title=Loading ESXi installer
prefix=images/esx/
kernel=tboot.b00
kernelopt=runweasel text nofb com1_baud=115200 com1_Port=0x3f8 tty2Port=com1 gdbPort=none logPort=none
modules=b.b00 --- useropts.gz --- k.b00 --- chardevs.b00 --- a.b00 --- user.b00 --- s.v00 --- 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 --- weaselin.t00 --- esx_dvfi.v00 --- xlibs.v00 --- 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 --- net_vmxn.v00 --- ohci_usb.v00 --- sata_ahc.v00 --- sata_ata.v00 --- sata_sat.v00 --- sata_sat.v01 --- sata_sat.v02 --- sata_sat.v03 --- sata_sat.v04 --- 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 --- scsi_rst.v00 --- uhci_usb.v00 --- tools.t00 --- xorg.v00 --- imgdb.tgz --- imgpayld.tgz
build=
updated=0s

主要是 kernelopt=runweasel text nofb com1_baud=115200 com1_Port=0x3f8 tty2Port=com1 gdbPort=none logPort=none 的設定

kernelopt=runweasel text nofb com1_baud=115200 com1_Port=0x3f8 tty2Port=com1 gdbPort=none logPort=none
  1. text
    安裝為文字模式
  2. nofb
  3. com1_baud=115200
    序列埠的鮑率設定成為 115200
  4. com1_Port=0x3f8
    一般系統的 comport IO 位置皆在 0x3f8
  5. tty2Port=com1
    指定 tty (就是序列埠) 為 com1 (Comport 1)
  6. gdbPort=none
  7. logPort=none
    我猜是將 GDB / Log 設定成無 ??

參考網頁
www.vmwareadmins.com

發表迴響