Solaris 10 5/09 安裝指南:基本安裝

第 3 章 使用 Solaris 互動式文字介面安裝程式安裝 ZFS 根池 (規劃與作業)

本章說明如何使用 Solaris Operating System DVD 或 Solaris Software - 1 CD 中的 Solaris 互動式安裝程式,執行 ZFSTM 根池的初始安裝。

本章包含下列主題:

ZFS 根池安裝 (規劃)

您可以使用 Solaris 互動式文字介面安裝程式執行初始安裝,以建立含有可啟動 ZFS 根池的 ZFS 儲存池。您不能使用標準 GUI 安裝程式來安裝 ZFS 根池。

Solaris 互動式文字介面安裝程序與先前的 Solaris 發行版本類似。不同之處在於,此程序提供了安裝 UFS ( /) 根檔案系統或 ZFS 根池的選項。UFS 仍是預設檔案系統。您必須選取 ZFS 選項才能建立並安裝 ZFS 儲存池。

如果您的系統已有 ZFS 儲存池,這些儲存池會維持不變,除非您選取現有池中的磁碟來建立新儲存池。如果您目前已有 ZFS 儲存池,且想將它用於 ZFS 根檔案系統,則必須使用 Solaris Live Upgrade 將現有的 UFS 根 (/) 檔案系統遷移至 ZFS 根池。Solaris Live Upgrade 另外還提供了升級 ZFS 根池的方法。如需更多資訊,請參閱「Solaris 10 5/09 安裝指南:Solaris Live Upgrade 與升級規劃」中的第 11 章「Solaris Live Upgrade 和 ZFS (簡介)」

在開始初始安裝以建立 ZFS 儲存池之前,請參閱「Solaris 10 5/09 安裝指南:規劃安裝與升級」中的第 6 章「ZFS 根檔案系統安裝 (規劃)」

使用 Solaris 互動式文字介面安裝程式執行 ZFS 的初始安裝

本程序說明如何使用 CD 或 DVD 媒體,安裝獨立式 SPARC 系統。

ProcedureSPARC: 如何安裝 ZFS 根池

開始之前

如果您要安裝 Solaris 作業系統的機器或網域沒有直接連接的 DVD-ROM 或 CD-ROM 光碟機,您可以使用已連接至其他機器的 DVD-ROM 或 CD-ROM 光碟機。如需詳細說明,請參閱「Solaris 10 5/09 安裝指南:網路安裝」中的附錄 B「遠端安裝或升級 (作業)」

確定您已準備好所需媒體。

如果您希望保留所有現存資料或應用程式,請備份系統。

  1. 插入 Solaris Operating System for SPARC Platforms DVD 或 Solaris Software for SPARC Platforms - 1 CD。

  2. 啟動系統。

    • 如果是剛從包裝中取出的新系統,請啟動系統。

    • 如果您想要安裝的系統正在運作中,請關閉該系統。

    螢幕上會顯示 ok 提示。

  3. 啟動 Solaris 互動式文字介面安裝程式。您不能執行安裝 GUI 來安裝 ZFS 根池。若要從本機 DVD 或 CD 啟動並在桌面階段作業中啟動文字介面安裝程式,請鍵入以下指令


    ok boot cdrom - text
    
    text

    指定在桌面階段作業中執行文字介面安裝程式。使用此選項來置換預設的 GUI 安裝程式。

    如果作業系統找不到可自我識別的鍵盤,下一個畫面會顯示鍵盤配置選取。


    備註 –

    PS/2 鍵盤不能自我識別。安裝期間系統會要求您選取鍵盤配置。


  4. (可選擇) 從以下畫面選取所需的鍵盤配置,然後按 F2 鍵繼續執行。


    Configure Keyboard Layout
    +---------------------------------------------------------------------------+
    |   Please specify the keyboard layout from the list below.                 |
    |                                                                           |
    |   To make a selection, use the arrow keys to highlight the option and     |
    |   press Return to mark it [X].                                            |
    |                                                                           |
    |            Keyboard  Layout                                               |
    |            -----------------------                                        |
    |       [  ] Serbia-And Montenegro                                          |
    |       [  ] Slovenian                                                      |
    |       [  ] Slovakian                                                      |
    |       [  ] Spanish                                                        |
    |       [  ] Swedish                                                        |
    |       [  ] Swiss-French                                                   |
    |       [  ] Swiss-German                                                   |
    |       [  ] Taiwanese                                                      |
    |       [  ] TurkishQ                                                       |
    |       [  ] TurkishF                                                       |
    |       [  ] UK-English                                                     |
    |       [ X] US-English                                                     |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    系統會配置裝置和介面,然後搜尋配置檔案。可能會顯示語言選項清單。如果沒有顯示此畫面,請跳至步驟 6

  5. (可選擇) 您可能會看到一個選取語言的畫面。選取您在安裝期間要使用的語言,然後按 F2 鍵。


    Select a Language
    +---------------------------------------------------------------------------+
    |   Please specify the the language from the list below.                    |
    |                                                                           |
    |   To make a selection, use the arrow keys to highlight the option and     |
    |   press Return to mark it [X].                                            |
    |                                                                           |
    |       [  ] English                                                        |
    |       [  ] French                                                         |
    |       [  ] German                                                         |
    |       [  ] Italian                                                        |
    |       [  ] Japanese                                                       |
    |       [  ] Korean                                                         |
    |       [  ] Simplified Chinese                                             |
    |       [  ] Spanish                                                        |
    |       [  ] Swedish                                                        |
    |       [  ] Traditional Chinese                                            |
    |       [  ] UK-English                                                     |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+
  6. 按 F2 鍵開始安裝。如果系統向您發出提示,請回答任何餘下的系統配置問題。

    在回答配置問題並設定 Root 密碼後,便會顯示 Solaris 互動式安裝畫面。


    Solaris Interactive Installation
    +---------------------------------------------------------------------------+
    |On the following screens, you can accept the defaults or you can customize |
    | how Solaris software will be install by:                                  |
    |  - Selecting the type of Solaris software to install                      |
    |  - Selecting disks to hold the software you've selected                   |
    |  - Selecting unbundled products to be installed with Solaris              |
    |  - Specifying how file systems are laid out on the disks                  |
    |                                                                           |
    |After completing these tasks, a summary of your selections                 |
    |(called a profile) will be displayed.                                      |
    |                                                                           |
    |There are two ways to install your Solaris software:                       |
    |                                                                           |
    |  - "Standard" installs your system from a standard Solaris                |
    |     Distribution. Selecting "standard" allows you to choose               |
    |     between initial install and upgrade, if your system is upgradeable.   |
    |                                                                           |
    |  - "Flash" installs your system from one or more Flash Archives.          |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+
  7. 決定您是否希望系統自動重新啟動,以及您是否希望光碟片自動退出。請按 F2 鍵。

    如果您的系統已有 ZFS 儲存池,下列訊息會確認這些儲存池,它們會維持不變,除非您選取現有池中的磁碟來建立新儲存池。


    There are existing ZFS pools available on this system.  However, they can only be upgraded 
    using the Live Upgrade tools.  The following screens will only allow you to install a ZFS root system, 
    not upgrade one.

    會出現 [授權] 畫面。

  8. 接受授權合約後才可繼續安裝。請按 F2 鍵。

    會出現 [選取升級或初始安裝] 畫面。如果有可升級的 UFS 檔案系統,則會顯示此畫面。如果沒有顯示此畫面,請跳至步驟 10

  9. 若要執行 ZFS 安裝,您必須按 F4 鍵進行初始安裝。

    會顯示選擇地理區域、語言環境及其他產品的畫面。

  10. 請選擇您要的地理區域、語言環境和其他產品。

    會顯示 [選擇檔案系統類型] 畫面。

  11. 若要建立 ZFS 根池,請選取 ZFS 選項,然後按 F2 鍵。


    Choose a Filesystem Type
    +---------------------------------------------------------------------------+
    |   Select the filesystem to use for your Solaris installation              |
    |                                                                           |
    |           [ ] UFS                                                         |
    |           [X] ZFS                                                         |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    會顯示 [選取軟體] 畫面。

  12. 選取您想要執行的安裝類型。請按 F2 鍵。

    若要執行預設安裝,請接受系統提供的預設值。若要執行自訂安裝,請編輯顯示在文字介面安裝程式畫面中的值。在此畫面範例中,選取了預設的 [Entire Distribution] 軟體群組進行安裝。

    如需有關軟體群組的更多資訊,請參閱軟體群組的磁碟空間建議


    Select Software
    +---------------------------------------------------------------------------+
    |Select the Solaris software to install on the system                       |
    |                                                                           |
    |Note: After selecting a software group, you can add or remove              |
    |software by customizing it. However this requires understanding of         |
    |software dependencies and how Solaris software is packaged.                |
    |                                                                           |
    |  [ ] Entire Distribution plus OEM support ......5838.00 MB                |
    |  [X] Entire Distribution........................5830.00 MB                |
    |  [ ] Developer System Support...................5695.00 MB                |
    |  [ ] End User System Support....................4747.00 MB                |
    |  [ ] Core System Support........................1558.00 MB                |
    |  [ ] Reduced Networking Core System Support.....1512.00 MB                |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    會顯示 [選取磁碟] 畫面。

  13. 選取要安裝的軟體後,系統會提示您選取要用來建立 ZFS 儲存池的磁碟。除以下文字之外,此畫面類似於先前的 Solaris 發行版本:


    For ZFS, multiple disks will be configured as mirrors, so the disk you choose, 
    or the slice within the disk must exceed the Suggested Minimum value.

    您可以選取一個或多個磁碟,將其用於 ZFS 根池。

    • 如果您選取單一磁碟,並且想在稍候配置鏡像,請參閱「Solaris ZFS Administration Guide」中的「Managing Devices in ZFS Storage Pools」zpool attach 指令。

    • 如果您選取兩個磁碟,系統會為根池設定鏡像雙磁碟配置。雙磁碟或三磁碟鏡像池都是最合適的配置。

    • 如果您有八個磁碟,並且選取了全部的八個磁碟,這八個磁碟會以一個大型鏡像用於根池。這並非是最合適的配置。

    根池不支援 AID-Z 池配置。如需有關配置 ZFS 儲存池的更多資訊,請參閱「Solaris ZFS Administration Guide」中的「Replication Features of a ZFS Storage Pool」


    Select Disks
    +---------------------------------------------------------------------------+
    |On this screen you must select the disks for installing Solaris            |
    |software. Start by looking at the Suggested Minimum Field;                 |
    |this value is the approximate space needed to install the software         |
    |you've selected. For ZFS, multiple disks will be configured as mirrors,    |
    |so the disk you choose on the slice within the disk must exceed            |
    |the Suggested Minimum Value.                                               |
    |                                                                           |
    |  Note: xx denotes the current boot disk                                   |
    |                                                                           |
    |Disk Device                                        Available Space         |
    |========================================================================== |
    |                                                                           |
    |[X]xx c0t0d0                                        29164 MB (F4 to edit)  |
    |                                                                           |
    |                                 Maximum Root Size: 29164 MB               |
    |                                 Suggested Minimum: 5838 MB                |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    會顯示 [保留資料] 畫面。

  14. (可選擇) 在您要安裝軟體的磁碟上保留資料。

    如果您選取要用於安裝的磁碟含有檔案系統,或有您想要儲存的未命名磁碟片段,則您可以現在儲存這些檔案系統或未命名磁碟片段。


    Preserve Data?
    +---------------------------------------------------------------------------+
    |Do you want to preserve existing data? At least one of the disks you've    |
    |selected for installing Solaris software has file systems or unnamed slices|
    |that you may want to save                                                  |
    |                                                                           |
    |                                                                           |
    |    F2_Continue      F4_Preserve    F6_Help                                |
    +---------------------------------------------------------------------------+

    如果您按下 F4 鍵來儲存資料,便會顯示儲存資料的畫面。

  15. (可選擇) 選取要儲存的資料。


    Preserve Data
    +---------------------------------------------------------------------------+
    |On this screen you can perserve the data on some or all disk slices. Any   |
    |slice you preserve will not be touched when Solaris software is installed  |
    |If  you preserve data on / (root), /usr, or /var you  must rename them     |
    |because new versions of these file systems are created when Solaris        |
    |software is installed.                                                     |
    |                                                                           |
    |Warning: Preserving an 'overlap' slice will not preserve any data within   |
    |it. To preserve this data, you must explicitly set the mount point name.   |
    |                                                                           |
    |Mount Point or Pool                   State    Disk/Slice             Size |
    |========================================================================== |
    |[ ] zfs: rpool                        Online    c0t0d0s0          27133 MB |
    |[ ]swap                                         c0t1d0s1           2047 MB |
    |[X]overlap                                      c0t2d0s2          29188 MB |
    |                                                                           |
    |                                                                           |
    |    F2_Continue                     F6_Help                                |
    +---------------------------------------------------------------------------+

    會顯示配置 ZFS 設定的畫面。

  16. 您可以接受預設值。或者,您可以變更 ZFS 池的名稱,資料集名稱、池大小、交換和傾印。此外,您還可以修改建立及掛載 /var 檔案系統的方式。


    Configure ZFS Settings
    +-------------------------------------------------------------------------- -+
    |Specify the name of the pool to be created from the disk(s) you have chosen.|
    |Also specify the name of the dataset to be created within the pool that is  |
    |to be used as the root directory for the filesystem.                        |
    |                                                                            |
    |                                                                            |
    |              ZFS Pool Name: rpool                                          |
    |      ZFS Root Dataset Name: szboot_0507                                    |
    |          ZFS Pool Size in (MB): 17270                                      |
    |          Size of swap area in (MB): 1024                                   |
    |          Size of dump area in (MB): 1024                                   |
    |        (Pool size must be between 9472 MB and 17270 MB)                    |
    |                                                                            |
    |                         [X] Keep / and /var combined                       |
    |                         [ ] Put /var on a separate dataset                 |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+

    會顯示掛載遠端檔案系統的畫面。

  17. 決定是否要掛載遠端檔案系統。


    Mount Remote File System
    +-------------------------------------------------------------------------- -+
    |Do you want to mount a software from a remote file server? This may         |
    |be necessary if you had to remove software because of disk space problems.  |
    |                                                                            |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+

    會顯示最後的安裝畫面。

  18. 檢視顯示您針對安裝所做選擇的設定檔畫面。如有必要,您可以變更 安裝設定檔。以下畫面是最後的安裝設定檔畫面範例。


    Profile
    +-------------------------------------------------------------------------- -+
    |The information shown below is your profile for installing Solaris software.|
    |It reflects the choices you've made on previous screens.                    |
    |                                                                            |
    |============================================================================|
    |                                                                            |
    |                Installation Option: Initial                                |
    |                        Boot Device: c1t2d0                                 |
    |              Root File System Type: ZFS                                    |
    |                    Client Services: None                                   |
    |                                                                            |
    |                            Regions: North America                          |
    |                      System Locale: C ( C )                                |
    |                                                                            |
    |                           Software: Solaris 10, Entire Distribution        |
    |                          Pool Name: rpool                                  |
    |              Boot Environment Name: szboot_0507                            |
    |                          Pool Size: 17270 MB                               |
    |                    Devices in Pool: c1t2d0                                 |
    |                                                                            |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+
  19. 若要安裝 Solaris 軟體,請按 F2 鍵。遵循螢幕上的操作指示來安裝 Solaris 軟體。

    當 Solaris 互動文字程式完成了 Solaris 軟體的安裝之後,系統將自動重新啟動或提示您手動重新啟動。

    如果您要安裝附加產品,系統會提示您插入這些產品的 DVD 或 CD。如需安裝程序的說明,請參閱適當的安裝說明文件。

    安裝完成後,安裝記錄會儲存在檔案中。您可以在 /var/sadm/system/logs/var/sadm/install/logs 目錄中找到安裝記錄。

    安裝完成。

  20. 如果您沒有在安裝期間選取自動重新啟動,請手動重新啟動系統。


    # reboot
    

    您的系統會啟動至所安裝的 ZFS 根池。

    您可以使用 boot 指令搭配 -L 選項,顯示可用啟動環境清單。如需有關基於 SPARC 的啟動之更多資訊,請參閱「System Administration Guide: Basic Administration」中的「Booting From a ZFS Root File System on a SPARC Based System」

  21. 在完成安裝之後,請查閱產生的 ZFS 儲存池和檔案系統資訊,如以下範例所示。

    ZFS 根池是一種不需管理的特殊池。zfs list 輸出範例會指出根池元件,例如預設無法存取的 rpool/ROOT 項目。


    # zpool status
      pool: rpool
     state: ONLINE
     scrub: none requested
    config:
    
            NAME        STATE     READ WRITE CKSUM
            rpool       ONLINE       0     0     0
            c1t2d0s0  ONLINE       0     0     0
    
    errors: No known data errors
    # zfs list
    NAME                     USED  AVAIL  REFER  MOUNTPOINT
    rpool                   6.83G  9.66G    62K  /rpool
    rpool/ROOT              5.82G  9.66G    18K  legacy
    rpool/ROOT/szboot_0507  5.82G  9.66G  5.82G  
    rpool/dump               512M  9.66G   512M  -
    rpool/swap               518M  9.66G   518M  -

    如果您一開始是使用單磁碟建立 ZFS 儲存池,則您可以在安裝之後將該磁碟轉換為鏡像 ZFS 配置。如需有關增加或附接磁碟的更多資訊,請參閱「Solaris ZFS Administration Guide」中的「Managing Devices in ZFS Storage Pools」

疑難排解

如果在安裝期間發生任何問題,請參閱「Solaris 10 5/09 安裝指南:自訂 JumpStart 及進階安裝」中的附錄 A「疑難排解 (作業)」

x86: 使用 Solaris 互動式文字介面安裝程式執行 ZFS 的初始安裝

您可以使用 Solaris 互動式文字介面安裝程式執行 Solaris 作業系統的初始安裝。初始安裝會覆寫將安裝軟體之磁碟上的資料。本節提供有關如何使用 DVD 或 CD 媒體安裝 Solaris 作業系統的詳細說明。

Procedurex86: 使用具備 GRUB 之 Solaris 互動式文字介面安裝程式安裝 ZFS

基於 x86 系統的 Solaris 安裝程式會使用 GRUB 開機管理程式。此程序說明如何使用 CD 或 DVD 媒體中的 GRUB 開機管理程式安裝獨立式基於 x86 的系統。如需有關 GRUB 開機管理程式的簡介資訊,請參閱「System Administration Guide: Basic Administration」中的「Modifying Boot Behavior by Editing the GRUB Menu at Boot Time」

開始之前

在開始安裝之前,請先執行下列作業。

  1. 在您的系統中插入適當的媒體。

    如果您要從 Solaris Operating System DVD 或 Solaris Software - 1 CD 啟動,請插入光碟片。系統的 BIOS 必須支援從 DVD 或 CD 啟動。

    您可能需要手動設定 BIOS 從 DVD 或 CD 啟動。有關如何設定 BIOS 的詳細資訊,請參閱您的硬體說明文件。

  2. 請透過關機,然後關閉電源再開啟電源的方式啟動系統。

  3. 如果您需要手動將 BIOS 設定成從 CD 或 DVD 啟動,請鍵入適當的按鍵順序,以中斷系統啟動程序。

    在 BIOS 中修改啟動優先權,然後退出 BIOS 以返回安裝程式。

    這時會執行硬體檢測及記憶體測試。螢幕會更新。會顯示 GRUB 功能表。


    GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
    +-------------------------------------------------------------------------+
    | Solaris                                                                 |
    | Solaris Serial Console ttya                                             |
    | Solaris Serial Console ttyb (for lx50, v60x and v65x)                   |
    |                                                                         |
    |                                                                         |
    +-------------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the
    commands before booting, or 'c' for a command-line.
  4. 選取 [Solaris],然後按 Enter 鍵。

    Solaris 安裝程式會檢查預設啟動磁碟,確定是否符合安裝或升級系統的需求。如果安裝程式無法偵測系統配置,程式會提示您所缺少的資訊。

    完成檢查之後,螢幕上會顯示安裝選項畫面。

  5. 選取安裝類型。若要在桌面階段作業中使用文字介面安裝程式進行安裝,請鍵入 3,再按 Enter 鍵。

    選取此安裝類型將會置換預設的 GUI 安裝程式,並執行文字介面安裝程式來進行 ZFS 安裝。


          Select the type of installation you want to perform:
    
             1 Solaris Interactive
             2 Custom JumpStart
             3 Solaris Interactive Text (Desktop session)
             4 Solaris Interactive Text (Console session)
             5 Apply driver updates
             6 Single user shell
    
             Enter the number of your choice followed by the <ENTER> key.
             Alternatively, enter custom boot arguments directly.
    
             If you wait 30 seconds without typing anything,
             an interactive installation will be started.

    系統會配置裝置及介面並搜尋配置檔案。如果作業系統找不到可自我識別的鍵盤,下一個畫面會顯示鍵盤配置選取。如果系統找到可自我識別的鍵盤,請跳至步驟 7

  6. (可選擇) 從以下畫面選取所需的鍵盤配置,然後按 F2 鍵繼續執行。


    Configure Keyboard Layout
    +---------------------------------------------------------------------------+
    |   Please specify the keyboard layout from the list below.                 |
    |                                                                           |
    |   To make a selection, use the arrow keys to highlight the option and     |
    |   press Return to mark it [X].                                            |
    |                                                                           |
    |            Keyboard  Layout                                               |
    |            -----------------------                                        |
    |       [  ] Serbia-And Montenegro                                          |
    |       [  ] Slovenian                                                      |
    |       [  ] Slovakian                                                      |
    |       [  ] Spanish                                                        |
    |       [  ] Swedish                                                        |
    |       [  ] Swiss-French                                                   |
    |       [  ] Swiss-German                                                   |
    |       [  ] Taiwanese                                                      |
    |       [  ] TurkishQ                                                       |
    |       [  ] TurkishF                                                       |
    |       [  ] UK-English                                                     |
    |       [ X] US-English                                                     |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    系統會配置裝置和介面,然後搜尋配置檔案。您可能會看到確認視窗正在運作中的兩個畫面。確認接下來的兩個畫面,並在文字模式下繼續操作。

  7. (可選擇) 在以下畫面中,按 Enter 鍵。


    Starting Solaris Interactive (graphical user interface) 
    Installation
    +------------------------------------------------------------+
    | You must respond to the first question within 30 seconds   |
    | or the installer proceeds in a non-window environment      |
    | (console mode).                                            |
    |                                                            |
    | If the screen becomes blank or unreadable the installer    |
    | proceeds in console mode.                                  |
    |                                                            |
    | If the screen does not properly revert to console mode,    |
    | restart the installation and make the following selection: |
    |                                                            |
    |      Solaris Interactive Text (Console session)            |
    -------------------------------------------------------------+

    進度訊息結束之後,會顯示另一個確認畫面。

  8. (可選擇) 將游標移至下列文字畫面,然後按 Enter 鍵。


    +------------------------------------------------------------+
    |If the screen is legible, press ENTER in this window.       |
    |                                                            |
    |                                                            |
    |                                                            |
    |-------------------------------------------------------------+

    可能會顯示語言選項清單。如果沒有顯示此畫面,請跳至步驟 10

  9. (可選擇) 在以下畫面中,選取安裝期間所要使用的語言,然後按 F2 鍵。


    Select a Language
    +---------------------------------------------------------------------------+
    |   Please specify the the language from the list below.                    |
    |                                                                           |
    |   To make a selection, use the arrow keys to highlight the option and     |
    |   press Return to mark it [X].                                            |
    |                                                                           |
    |       [  ] English                                                        |
    |       [  ] French                                                         |
    |       [  ] German                                                         |
    |       [  ] Italian                                                        |
    |       [  ] Japanese                                                       |
    |       [  ] Korean                                                         |
    |       [  ] Simplified Chinese                                             |
    |       [  ] Spanish                                                        |
    |       [  ] Swedish                                                        |
    |       [  ] Traditional Chinese                                            |
    |       [  ] UK-English                                                     |
    
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+
  10. 按 F2 鍵開始安裝。如果系統向您發出提示,請回答任何餘下的系統配置問題。

    在回答配置問題並設定 Root 密碼後,便會顯示 Solaris 互動式安裝畫面。


    Solaris Interactive Installation
    +---------------------------------------------------------------------------+
    |On the following screens, you can accept the defaults or you can customize |
    | how Solaris software will be install by:                                  |
    |  - Selecting the type of Solaris software to install                      |
    |  - Selecting disks to hold the software you've selected                   |
    |  - Selecting unbundled products to be installed with Solaris              |
    |  - Specifying how file systems are laid out on the disks                  |
    |                                                                           |
    |After completing these tasks, a summary of your selections                 |
    |(called a profile) will be displayed.                                      |
    |                                                                           |
    |There are two ways to install your Solaris software:                       |
    |                                                                           |
    |  - "Standard" installs your system from a standard Solaris                |
    |     Distribution. Selecting "standard" allows you to choose               |
    |     between initial install and upgrade, if your system is upgradeable.   |
    |                                                                           |
    |  - "Flash" installs your system from one or more Flash Archives.          |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+
  11. 決定您是否希望系統自動重新啟動,以及您是否希望光碟片自動退出。請按 F2 鍵。

    如果您的系統已有 ZFS 儲存池,下列訊息會確認這些儲存池,它們會維持不變,除非您選取現有池中的磁碟來建立新儲存池。


    There are existing ZFS pools available on this system.  However, they can only be upgraded 
    using the Live Upgrade tools.  The following screens will only allow you to install a ZFS root system, 
    not upgrade one.

    會出現 [授權] 畫面。

  12. 接受授權合約後才可繼續安裝。請按 F2 鍵。

    會出現 [選取升級或初始安裝] 畫面。如果您有可升級的 UFS 檔案系統,則會顯示此畫面。如果沒有顯示此畫面,請跳至步驟 14

  13. 若要執行 ZFS 安裝,您必須按 F4 鍵進行初始安裝。

    會顯示選擇地理區域、語言環境及其他產品的畫面。

  14. 請選擇您要的地理區域、語言環境和其他產品。

    會顯示 [選擇檔案系統類型] 畫面。

  15. 若要建立並安裝 ZFS 根池,請選取 ZFS 選項。


    Choose a Filesystem Type
    +---------------------------------------------------------------------------+
    |   Select the filesystem to use for your Solaris installation              |
    |                                                                           |
    |           [ ] UFS                                                         |
    |           [X] ZFS                                                         |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    會顯示 [選取軟體] 畫面。

  16. 選取您想要執行的安裝類型。請按 F2 鍵。

    若要執行預設安裝,請接受系統提供的預設值。若要執行自訂安裝,請編輯顯示在文字介面安裝程式畫面中的值。在此畫面範例中,選取了預設的 [Entire Distribution] 軟體群組進行安裝。

    如需有關軟體群組的更多資訊,請參閱軟體群組的磁碟空間建議


    Select Software
    +---------------------------------------------------------------------------+
    |Select the Solaris software to install on the system                       |
    |                                                                           |
    |Note: After selecting a software group, you can add or remove              |
    |software by customizing it. However this requires understanding of         |
    |software dependencies and how Solaris software is packaged.                |
    |                                                                           |
    |  [ ] Entire Distribution plus OEM support ......5838.00 MB                |
    |  [X] Entire Distribution........................5830.00 MB                |
    |  [ ] Developer System Support...................5695.00 MB                |
    |  [ ] End User System Support....................4747.00 MB                |
    |  [ ] Core System Support........................1558.00 MB                |
    |  [ ] Reduced Networking Core System Support.....1512.00 MB                |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    會顯示 [選取磁碟] 畫面。

  17. 選取要安裝的軟體後,系統會提示您選取要用來建立 ZFS 儲存池的磁碟。除以下文字之外,此畫面類似於先前的 Solaris 發行版本:


    For ZFS, multiple disks will be configured as mirrors, so the disk you choose, 
    or the slice within the disk must exceed the Suggested Minimum value.

    您可以選取一個或多個磁碟,將其用於 ZFS 根池。

    • 如果您選取單一磁碟,並且想在稍候配置鏡像,請參閱「Solaris ZFS Administration Guide」中的「Managing Devices in ZFS Storage Pools」zpool attach 指令。

    • 如果選取兩個磁碟,系統會為根池設定鏡像雙磁碟配置。雙磁碟或三磁碟鏡像池都是最合適的配置。

    • 如果您有八個磁碟,並且選取了全部的八個磁碟,這八個磁碟會以一個大型鏡像用於根池。這並非是最合適的配置。

    根池不支援 AID-Z 池配置。如需有關配置 ZFS 儲存池的更多資訊,請參閱「Solaris ZFS Administration Guide」中的「Replication Features of a ZFS Storage Pool」


    Select Disks
    +---------------------------------------------------------------------------+
    |On this screen you must select the disks for installing Solaris            |
    |software. Start by looking at the Suggested Minimum Field;                 |
    |this value is the approximate space needed to install the software         |
    |you've selected. For ZFS, multiple disks will be configured as mirrors,    |
    |so the disk you choose on the slice within the disk must exceed            |
    |the Suggested Minimum Value.                                               |
    |                                                                           |
    |  Note: xx denotes the current boot disk                                   |
    |                                                                           |
    |Disk Device                                        Available Space         |
    |========================================================================== |
    |                                                                           |
    |[X]xx c0d0                                          29164 MB (F4 to edit)  |
    |                                                                           |
    |                                 Maximum Root Size: 29164 MB               |
    |                                 Suggested Minimum: 5838 MB                |
    |                                                                           |
    |    F2_Continue      F6_Help                                               |
    +---------------------------------------------------------------------------+

    會顯示 [保留資料] 畫面。

  18. (可選擇) 在您要安裝軟體的磁碟上保留資料。

    如果您選取要用於安裝的磁碟含有檔案系統,或有您想要儲存的未命名磁碟片段,則您可以現在儲存這些檔案系統或未命名磁碟片段。


    Preserve Data?
    +---------------------------------------------------------------------------+
    |Do you want to preserve existing data? At least one of the disks you've    |
    |selected for installing Solaris software has file systems or unnamed slices|
    |that you may want to save                                                  |
    |                                                                           |
    |                                                                           |
    |    F2_Continue      F4_Preserve    F6_Help                                |
    +---------------------------------------------------------------------------+

    如果您按下 F4 鍵來儲存資料,便會顯示儲存資料的畫面。

  19. (可選擇) 選取要儲存的資料。


    Preserve Data
    +---------------------------------------------------------------------------+
    |On this screen you can perserve the data on some or all disk slices. Any   |
    |slice you preserve will not be touched when Solaris software is installed  |
    |If  you preserve data on / (root), /usr, or /var you  must rename them     |
    |because new versions of these file systems are created when Solaris        |
    |software is installed.                                                     |
    |                                                                           |
    |Warning: Preserving an 'overlap' slice will not preserve any data within   |
    |it. To preserve this data, you must explicitly set the mount point name.  |
    |                                                                           |
    |Mount Point or Pool                   State    Disk/Slice             Size |
    |========================================================================== |
    |[ ] zfs: rpool                        Online    c0d0s0            27133 MB |
    |[ ]swap                                         c0d0s1             2047 MB |
    |[X]overlap                                      c0d0s2            29188 MB |
    |                                                                           |
    |                                                                           |
    |    F2_Continue                     F6_Help                                |
    +---------------------------------------------------------------------------+

    會顯示配置 ZFS 設定的畫面。

  20. 您可以接受預設值。或者,您可以變更 ZFS 池的名稱,資料集名稱、池大小、交換和傾印。此外,您還可以修改建立及掛載 /var 檔案系統的方式。


    Configure ZFS Settings
    +-------------------------------------------------------------------------- -+
    |Specify the name of the pool to be created from the disk(s) you have chosen.|
    |Also specify the name of the dataset to be created within the pool that is  |
    |to be used as the root directory for the filesystem.                        |
    |                                                                            |
    |                                                                            |
    |              ZFS Pool Name: rpool                                          |
    |      ZFS Root Dataset Name: szboot_0507                                    |
    |          ZFS Pool Size in (MB): 17270                                      |
    |          Size of swap area in (MB): 1024                                   |
    |          Size of dump area in (MB): 1024                                   |
    |        (Pool size must be between 9472 MB and 17270 MB)                    |
    |                                                                            |
    |                         [X] Keep / and /var combined                       |
    |                         [ ] Put /var on a separate dataset                 |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+

    會顯示掛載遠端檔案系統的畫面。

  21. 決定是否要掛載遠端檔案系統。


    Mount Remote File System
    +-------------------------------------------------------------------------- -+
    |Do you want to mount a software from a remote file server? This may         |
    |be necessary if you had to remove software because of disk space problems.  |
    |                                                                            |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+

    會顯示最後的安裝畫面。

  22. 檢視顯示您針對安裝所做選擇的設定檔畫面。如有必要,您可以變更 安裝設定檔。以下畫面是最後的安裝設定檔畫面範例。


    Profile
    +-------------------------------------------------------------------------- -+
    |The information shown below is your profile for installing Solaris software.|
    |It reflects the choices you've made on previous screens.                    |
    |                                                                            |
    |============================================================================|
    |                                                                            |
    |                Installation Option: Initial                                |
    |                        Boot Device: c0d0                                 |
    |              Root File System Type: ZFS                                    |
    |                    Client Services: None                                   |
    |                                                                            |
    |                            Regions: North America                          |
    |                      System Locale: C ( C )                                |
    |                                                                            |
    |                           Software: Solaris 10, Entire Distribution        |
    |                          Pool Name: rpool                                  |
    |              Boot Environment Name: szboot_0507                            |
    |                          Pool Size: 17270 MB                               |
    |                    Devices in Pool: c1t2d0                                 |
    |                                                                            |
    |                                                                            |
    |    F2_Continue      F6_Help                                                |
    +------------------------------------------------------------------------- --+
  23. 若要安裝 Solaris 軟體,請按 F2 鍵。遵循螢幕上的操作指示來安裝 Solaris 軟體。

    當 Solaris 互動文字程式完成了 Solaris 軟體的安裝之後,系統將自動重新啟動或提示您手動重新啟動。

    如果您要安裝附加產品,系統會提示您插入這些產品的 DVD 或 CD。如需安裝程序的說明,請參閱適當的安裝說明文件。

    安裝完成後,安裝記錄會儲存在檔案中。您可以在 /var/sadm/system/logs/var/sadm/install/logs 目錄中找到安裝記錄。

    安裝完成。

  24. 如果安裝時未選取自動重新啟動,請退出所有安裝媒體,然後重新啟動系統。


    # reboot
    

    系統重新啟動之後,GRUB 功能表會列出已經安裝的作業系統 (包括新安裝的 Solaris 作業系統)。選取您要啟動的作業系統。如果未做其他選取,會載入預設選項。

    會顯示 GRUB 功能表清單。


    GNU GRUB version 0.95 (637K lower / 3144640K upper memory)
    +----------------------------------------------------------------------------+
    |szboot_0507                                                                 |
    |szboot_0507 Failsafe                                                        |
    |                                                                            |
    |+---------------------------------------------------------------------------+
    
         Use the ^ and v keys to select which entry is highlighted.
         Press enter to boot the selected OS, .e. to edit the
         commands before booting, or .c. for a command-line.
  25. 顯示 GRUB 功能表時,請按 Enter 鍵來啟動預設作業系統實例。預設值是新安裝的根池。在此範例中,啟動環境名稱為 szboot_0507。如果在 10 秒內沒有選取任何項目,系統就會自動啟動。

  26. 在完成安裝之後,請查閱產生的 ZFS 儲存池和檔案系統資訊,如以下範例所示。

    ZFS 根池是一種不需管理的特殊池。zfs list 輸出範例會指出根池元件,例如預設無法存取的 rpool/ROOT 項目。


    # zpool status
      pool: rpool
     state: ONLINE
     scrub: none requested
    config:
    
            NAME        STATE     READ WRITE CKSUM
            rpool       ONLINE       0     0     0
            c1d0s0  ONLINE       0     0     0
    
    errors: No known data errors
    # zfs list
    NAME                     USED  AVAIL  REFER  MOUNTPOINT
    rpool                   6.83G  9.66G    62K  /rpool
    rpool/ROOT              5.82G  9.66G    18K  legacy
    rpool/ROOT/szboot_0507  5.82G  9.66G  5.82G  
    rpool/dump               512M  9.66G   512M  -
    rpool/swap               518M  9.66G   518M  -

    如果您一開始是使用單磁碟建立 ZFS 儲存池,則您可以在安裝之後將該磁碟轉換為鏡像 ZFS 配置。如需有關增加或附接磁碟的更多資訊,請參閱「Solaris ZFS Administration Guide」中的「Managing Devices in ZFS Storage Pools」

後續步驟

在機器上安裝多個作業系統時,必須指示 GRUB 開機管理程式如何辨識這些作業系統,以利開機作業的進行。如需更多資訊,請參閱「System Administration Guide: Basic Administration」中的「Modifying Boot Behavior by Editing the GRUB Menu at Boot Time」

疑難排解

如果在安裝期間發生任何問題,請參閱「Solaris 10 5/09 安裝指南:自訂 JumpStart 及進階安裝」中的附錄 A「疑難排解 (作業)」