Solaris 9 12/03 安裝指南

使用設定檔安裝 Solaris Flash 歸檔檔案 (指令行介面)

本程序提供使用設定檔安裝 Solaris Flash 歸檔檔案或差動歸檔檔案的步驟。

在設定檔中增加語言環境前,應先使用附加的磁碟空間建立啟動環境。

  1. 以超級使用者的身份登入。

  2. 建立設定檔。

    如需有關可在 Solaris Live Upgrade 設定檔中使用的升級關鍵字清單,請參閱表 33–2

  3. 類型:


    # luupgrade -f -n BE_name -s os_image_path -j profile_path
    
    -f

    表示從 Solaris Flash 歸檔檔案安裝作業系統。

    -n BE_name

    指定欲升級的啟動環境名稱。

    -s os_image_path

    指定包含作業系統影像的目錄路徑名稱。此目錄可以在安裝媒體 (如 DVD-ROM、CD-ROM) 上,或者其可以為 NFS 或 UFS 目錄。

    -j profile_path

    針對 flash 安裝所配置的設定檔路徑。設定檔必須儲存在本機目錄中。

    該啟動環境已準備就緒,可以啟動。


    範例 33–8 使用設定檔在啟動環境上安裝 Solaris Flash 歸檔檔案 (指令行介面)

    在本範例中,設定檔提供要安裝的歸檔檔案位置。

    # profile keywords         profile values
    # ----------------         -------------------
     install_type              flash_install
     archive_location          nfs installserver:/export/solaris/flasharchive/solarisarchive
     

    設定檔建立後,您可以執行 luupgrade 指令並安裝歸檔檔案。-j 選項可用來存取設定檔。


    # luupgrade -f -n second_disk \
    -s /net/installmachine/export/solarisX/OS_image \
    -j /var/tmp/profile 
    

    該啟動環境已準備就緒,可以啟動。若要建立設定檔,請參閱建立用於 Solaris Live Upgrade 的設定檔