回到網頁內容 臺灣-繁體中文
HP.com 首頁 產品資訊 支�#169;及驅動程式 解決方案 如何購買
» 聯絡 HP
進階選項
HP.com 首頁
HP Integrity 虛擬機器: A.03.50 版安裝、配置與管理 > 第 5 章. 建立 Windows 從機

安裝 Windows 從機

» 

技術文件

PDF 格式的完整書籍
» 回饋意見
內容©韟像B開©l

 » 目錄

 » 辭彙

 » 索引

欲安裝 Windows 從機作業系統,請遵循下列步驟:

  1. 建立一個 Windows 從機。在下列範例中,虛擬機器的名稱 (從機名稱) 為 win1

    # hpvmcreate -P win1 -O windows -c 1 -r 2G \
    -a disk:scsi::disk:/dev/rdsk/c3t2d0 \
    -a dvd:scsi::disk:/dev/rdsk/c0t0d0 \
    -a network:lan::vswitch:switch1

    hpvmcreate 命令會建立 /var/opt/hpvm/guests/win1/ 目錄,並在目錄中建立從機配置。

  2. 將虛擬機器開機至 EFI 功能表,並輸入下列命令來控制虛擬控制台:

    # hpvmconsole -P win1 -fi -c "pc -on"
    vMP MAIN MENU
    
    CO:Console
    CM:Command Menu
    CL:Console Log
    SL:Show Event Logs
    VM:Virtual Machine Menu
    HE:Main Help Menu
    X:Exit Connection
    
    [guest1] vMP> pc -on
    
    System will be powered on.
    
    -> System is being powered on.
    
    Please wait for the guest start sequence to complete.Use of the attention
    character can prevent the guest from running.
    (C) Copyright 2000 -2007 Hewlett-Packard Development Company, L.P.
    Opening minor device and creating guest machine container
    Creation of VM, minor device 1
    Allocating guest memory: 1024MB2,048MB
    allocating low RAM (0-80000000, 2,048MB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/682da886-06b2-11db-a3aa-00306e4a931c
    /vmm_config.current):
    Allocated 2147483648 bytes at 0x6000000100000000
    allocating firmware RAM (ffaa0000-ffab5000, 84KB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/682da886-06b2-11db-a3aa-00306e4a931c
    /vmm_config.current):
    Allocated 86016 bytes at 0x6000000180000000
    Loading boot image
    Image initial IP=102000 GP=62A000
    Initialize guest memory mapping tables
    Starting event polling thread
    Starting thread initialization
    Daemonizing....
    hpvmstart:Successful start initiation of guest 'win1'
    
    -> Command successful.
    [guest1] vMP> CO
    
    
    
    (Use Ctrl-B to return to vMP main menu.)
    
    
    
    Loading device drivers
    
    EFI Boot Manager ver 1.10 [14.62] [Build:Thu Jun  8 12:30:44 2007]
    
    Please select a boot option
    EFI Shell [Built-in]
    Boot option maintenance menu
    Use ^ and v to change option(s).Use Enter to select an option
    Boot option maintenance menu

  3. 一般而言,啟動時會自動選取 EFI shell。若未自動選取,請從功能表中選擇 EFI Shell [Built-in]

    Loading.:EFI Shell [Built-in]
    EFI Shell version 1.10 [14.62]
    Device mapping table
    fs0  :Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
    blk0 :Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)
    blk1 :Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)
    blk2 :Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
    
    Shell>

  4. 輸入檔案系統的名稱,即可連至 CDROM 檔案系統 (列示於 EFI 輸出)。例如:

    EFI Shell> fs0:

  5. 輸入 ls 命令來確認已連至正確的裝置 (尋找 setupldr.efi 檔案):

    Fs0: ls

備妥 EFI 後,即可安裝 Windows® 作業系統。安裝作業系統的程序取決於欲從哪一種類型的媒體安裝:

  • 欲自重新安裝套件 (reinstall kit,OPK) 安裝 Windows 作業系統,請遵循第  節的指示。

  • 欲自 Microsoft 媒體安裝,請遵循第  節的指示。

自 HP 重新安裝 (OPK) 媒體安裝

  1. 輸入下列命令,啟動作業系統載入程式:

    fs0:\> setupldr

    安裝命令集開始執行。顯示 SAC> 提示符號。顯示 EVENT 訊息指出可使用 cmd 命令時,請鍵入 cmd 並按下 Enter 鍵。

    Starting BUILD ENT20K.US HP Re-install Environment.Please wait...
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
    Press F6 if you need to install a third party SCSI or RAID driver...    
    .
    .
    .
    SAC>
    EVENT:The CMD command is now available.
    SAC>cmd
    The Command Prompt session was successfully launched.
    SAC>

  2. 依序迅速按下 ESC 鍵和 TAB 鍵,以回應下列提示符號。接著按下 Enter 鍵變更為新的命令通道 (channel):

    Press <esc> <tab> for next channel.
    Press 0 to return to the SAC channel.
    Use any other key to view this channel.
    
    X:\ia64\system32>

  3. 出現命令提示符號時,鍵入 txtrestore 並按下 Enter

    X:\ia64\system32> txtrestore
    This is txtrestore.cmd Batch file
    
    Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp.
    You are about to install Windows Server on the following drive:
    Drive 0: HP Virtual Disk SCSI Disk Device (36GB) Bus Number 0, Target ID 0, LUN 0 H
    Attached to SCSI Controller In Embedded Slot (PCI bus 0, device 0, function 0)
    Drive Layout: Partition table style is MBR
    Signature = 0C9C0C9C
    WARNING:If you continue with the installation, all data, including
    partition table information, on the above drive will be erased
    and permanently lost.
    
    Continue with installation (Y/N)?y
    輸入 y 繼續使用指定的裝置。欲使用不同的裝置,請輸入 n

  4. 若繼續進行,會顯示下列訊息:

    Target drives set to default.
    
    TARGETHDD=0
    TARGETPQI=1
    ImageDrive=X:
    ImagePath=\Images
    ScriptDrive=X:
    ScriptPath=\IA64\ADDINS
    Support=X:\Supp
    IVPQET2373ALABA.PQI
    
    =================================================================
    Note:  <Ctrl/C> Will always exit.
    ========================== TASK MENU ============================
    
    A - 16GB Drive Partition Size.
    B - 33GB Drive Partition size.
    C - Full Drive size.
    Q - Exit to console.
    
    =================================================================
    Select a task by typing a letter A, B, C or Q and then press enter:
    WARNING, SELECTING A, B OR C WILL ERASE THE DATA ON BOOT DRIVE.
    Input :c
    從上列清單中鍵入您的選擇,並按下 Enter。HP 建議您指定 C

    輸入 y 回應下列提示:

    WARNING, This could potentially wipe out important data!
    Recommended:Only the boot controller and hard drive be installed.
    Target Drive selected:Drive0
    Target Partition Size Selected:Full Drive size
    Input [Y/N] : y
    

  5. 複製檔案到硬碟中時,請勿關閉系統電源。回復處理程序會有一段長時間顯示 99% 完成。處理程序成功結束時會顯示下列訊息。鍵入 Exit 使系統重新開機。

    Re-install Total Time:23 minutes
    Re-Install Finished [OK].
    
    To restart the system...
    Type [exit] to exit from command console.
    At the SAC console, type [restart].         
    
    X:\IMAGES> exit
    The Command Console session is exiting.

    若顯示錯誤訊息,請解決造成錯誤的問題,再重新啟動程序。

    出現下列提示時,請依序按下 ESC Tab 鍵取得 SAC 提示符號。

    按下 Enter 鍵重新啟動系統,以回應 SAC 提示符號:

    Press <esc> <tab> for next channel.
    Press 0 to return to the SAC channel.
    Use any other key to view this channel.
    
    
    SAC> Enter

  6. 虛擬機器將重新啟動。提示您選擇開機選項時,請按下 Enter 鍵接受 Windows Server 2003 選項。

    The SAC will become unavailable soon.The computer is shutting down.
    
    SAC>
    
    *** VM restarting ***
    
    Scsi(Pun1,Lun0) HP      Virtual FileDVD 0.04
    Scsi(Pun1,Lun0) HP      Virtual FileDVD 0.04 ( 80 MBytes/sec)
    
    EFI version 1.10 [14.62] Build flags: Running on Intel(R) Itanium Processor EFI_DEBUG 
    EFI IA-64 SDV/FDK (BIOS CallBacks) [Thu Jun  8 12:30:44 2007] - HP
    Cache Enabled.This image MainEntry is at address 0000000000102000
    FPSWA.EFI preload successful.
    FPSWA.EFI start successful.
    
    Loading device drivers
    
    EFI Boot Manager ver 1.10 [14.62] [Build:Thu Jun  8 12:30:44 2007]
    
    Please select a boot option
    Windows Server 2003, Enterprise
    EFI Shell [Built-in]
    Boot option maintenance menu
    Use ^ and v to change option(s).Use Enter to select an option
    Default boot selection will be booted in 30 seconds
    
    
    Starting:Windows Server 2003, Enterprise
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    
    Starting Windows...

  7. 當 Windows SAC> 提示符號顯示 EVENT: 時,即可使用 CMD 命令。按下 Escape 鍵並快速按下 TAB 鍵,接著按下 Enter 鍵進入下列命令提示符號:

    Computer is booting,
    SAC started and initialized.
    Use the "ch -?" command for information about using channels.
    Use the "?" command for general help.
    SAC>...
    EVENT:A new channel has been created.Use "ch -?" for channel help.
    Channel:Unattended Setup Channel
    SAC>
    EVENT:The CMD command is now available.
    SAC>
    SAC>
    END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE
    MICROSOFT WINDOWS SERVER 2003, STANDARD EDITION WITH SERVICE PACK 2
    MICROSOFT WINDOWS SERVER 2003, ENTERPRISE EDITION WITH SERVICE PACK 2
    IMPORTANT-READ CAREFULLY:This end user license agreement ('EULA') is a legal
    agreement between you (either an individual or a single legal entity) and the
    manufacturer ('Manufacturer') of the computer system ('Server') with which you
    acquired the Press F8 to accept or ESC to decline the EULA.                                 
    Press PAGE DOWN for next page.

    欲接受 EULA,請按下 Escape 鍵,並按下模擬 F8 功能鍵的 8

  8. 請輸入產品金鑰 (包括破折號) 來回應下列提示符號:

    Type the Product Key below in the form
    XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    
    Product ID:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    (在您的真品憑證下半部上的 25 個字元的產品金鑰。)

  9. 出現下列提示符號時,請輸入管理者密碼並按下 Enter

    Enter the password that will be used for the Administrator
    Account on this machine.This password must not be blank.
    Administrator Password:*******
    
    Please re-enter the Administrator password.
    Password Confirmation:*******
    
    Setup will now proceed in an automated fashion.

  10. 按下 ESC-TAB 切換畫面,直到看見執行安裝命令集的畫面為止。系統開機至 Windows 作業系統。

    欲回到 SAC> 提示符號,請按下 ESC-TAB

  11. 當出現 SAC> 提示符號時輸入 i,取得從機的 IP 位址。

    自個人電腦使用遠端桌面連線 (Remote Desktop Connection) 連至該 IP 位址,並以管理者 (Administrator) 身分登入。Support Pack 會完成安裝:

    Computer is booting, SAC started and initialized.
    Use the "ch -?" command for information about using channels.
    Use the "?" command for general help.
    SAC>...
    EVENT:The CMD command is now available.
    SAC>i
    Net: 2, Ip=1.2.3.4  Subnet=255.255.248.0  Gateway=16.116.0.1
    SAC>

    附註: 若系統顯示 System model could not be verified,只要確認該對話框即可。要求確認時,請選取 No 並使虛擬機器重新開機。
  12. 在 Windows 控制台中,請遵循平台使用者指南中的初始系統設定指示。例如:

    1. 控制台->系統 (設定電腦名稱)

    2. 控制台->系統->進階->虛擬記憶體

  13. 使虛擬機器重新開機。

自 Windows 媒體安裝

欲自 Windows 媒體安裝 Windows Enterprise 作業系統,請遵循下列步驟:

  1. 分配一個虛擬 DVD 給虛擬機器,如第 3 章的說明。

  2. 將虛擬機器開機至 EFI 功能表,並輸入下列命令來控制虛擬控制台:

    # hpvmconsole -P win1 -i -c "pc -on"
    vMP MAIN MENU
    
    CO:Console
    CM:Command Menu
    CL:Console Log
    SL:Show Event Logs
    VM:Virtual Machine Menu
    HE:Main Help Menu
    X:Exit Connection
    
    [compass1] vMP> pc -on
    Please wait for the guest start sequence to complete.Use of the attention
    character can prevent the guest from running.
    (C) Copyright 2000 -2007 Hewlett-Packard Development Company, L.P.
    Opening minor device and creating guest machine container
    Creation of VM, minor device 1
    Allocating guest memory: 1024MB2,048MB
    allocating low RAM (0-80000000, 2,048MB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/682da886-06b2-11db-a3aa-00306e4a931c
    /vmm_config.current):
    Allocated 2147483648 bytes at 0x6000000100000000
    allocating firmware RAM (ffaa0000-ffab5000, 84KB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/682da886-06b2-11db-a3aa-00306e4a931c
    /vmm_config.current):
    Allocated 86016 bytes at 0x6000000180000000
    Loading boot image
    Image initial IP=102000 GP=62A000
    Initialize guest memory mapping tables
    Starting event polling thread
    Starting thread initialization
    Daemonizing....
    hpvmstart:Successful start initiation of guest 'win1'
    
    -> Command successful.
    [guest1] vMP>
  3. 自 EFI shell 輸入 map 命令:

    Shell> map
    
    Device mapping table
    fs0  :Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
    blk0 :Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)
    blk1 :Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)
    blk2 :Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
    
    Shell>
  4. 輸入 DVD 的檔案系統項目。例如:

    Shell> fs0:
    
    Fs0:
  5. 輸入 setupldr 命令:

    
    Fs0:> setupldr

    隨即顯示 Windows Setup Begins... 畫面。狀況列顯示下列內容:

    Setup is loading files (Windows Executive)...
  6. 在下一頁按一下 Enter 即可繼續:

  7. 提示使用快速設定 (Express Setup) 或自訂設定 (Custom Setup) 時,請選取快速設定。請勿選取自訂設定,因為虛擬機器尚未支援此功能。

  8. 輸入並確認管理者 (Administrator) 密碼:

  9. 按下模擬 F8 的 ESC-8 接受 Windows 授權。

  10. 選取欲安裝 Windows 的分區:

    若已按照第  節的說明清理欲進行安裝的磁碟,則會自動建立兩個分區 (EFI 和 Reserved)。磁碟的剩餘部份為未分割空間。使用向下箭頭選取未分割空間。輸入 C 即可建立一個新分區。

    若在此程序的預備作業中未清理磁碟,則會顯示目前的分區清單。請使用向下箭頭選取現有的 NTFS 分區。輸入 D 刪除現有的 NTFS 分區,接著輸入 L 確認,並按下 Enter。輸入 C 建立新分區。

  11. 選取欲安裝 Windows 的新 (原始) 分區:

    選擇一個 NTFS 分區。若沒有 NTFS 分區,請進行格式化以新建一個。格式化分區並複製檔案後,系統重新開機。

  12. 啟動 Windows 安裝。按下 ESC-Tab 回應 SAC> 提示符號。

    SAC>...ESC-Tab
    Setup is being restarted................. 
    EVENT:A new channel has been created.
    Use "ch -?" for channel help.
    Channel:Unattended Setup Channel
    SAC> EVENT: The CMD command is now available

    顯示下列訊息:

    Name:Unattended Setup Channel Description:
    .
    .
    .
    Press ESC-Tab for next channel.
    Press 0 to return to the SAC channel.
    Use any other key to view this channel.

    按下 Enter 接受 Unattended Setup Channel (自動設定通道)。

  13. 請輸入 25 個字元的產品金鑰回應下列提示符號:

    Product ID:
    XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    設定程序會自動進行。欲監控安裝作業,請輸入 Escape-Tab

    設定程序需花費數分鐘才會完成。

  14. 安裝 Windows 作業系統後,Windows 會重新開機並顯示 SAC> 提示符號:

    SAC> EVENT:The CMD command is now available.
  15. 機器名稱預設為暫時名稱,而網路則預設為 DHCP。欲檢查此資訊,請輸入 idi 命令,以回應 SAC> 提示符號:

可列印版本
隱私權聲明 使用範圍與著作權聲明
© 2007 Hewlett-Packard Development Company, L.P.