Solaris 10 6/06 版本說明

當您在空的啟動環境上使用 Solaris Live Upgrade 安裝 Solaris Flash 歸檔時,安裝失敗 (6222925)

如果您使用 Solaris Live Upgrade 將 Solaris Flash 歸檔安裝於空的替代啟動環境上,安裝將會失敗。螢幕上會顯示與以下錯誤類似的訊息。


sh:  /path_to_install_image/Solaris_10/Tools/Boot/usr/sbin/install.d
/mergescripts/merge_name_service:  not found

ERROR: Transfer list entry (/a/var/svc/profile/name_service.xml):
mergescript failed (/path_to_install_image/Solaris_10/Tools/Boot/usr
/sbin/install.d/mergescripts/merge_name_service)

ERROR: Unable to copy a temporary file to it's final location

ERROR: Flash installation failed

Extracting Flash Archive: 100% completed (of 4361.24 megabytes)
The Solaris flash install of the BE S10B74L2 failed.

在上述範例中,path_to_install_image 是用以安裝之網路安裝影像的目錄路徑。

解決方法:請執行以下步驟。

  1. 將目錄變更為用以安裝之網路安裝影像中之 mergescripts 目錄。


    # cd path_to_install_image/Solaris_10/Tools
    /Boot/usr/sbin/install.d/mergescripts
    
  2. 建立 merge_name_service 檔案。


    # touch merge_name_service
    
  3. 製作 merge_name_service 可執行檔。


    # chmod a+x merge_name_service
    
  4. 於欲安裝的系統上,利用 Solaris Live Upgrade 將 Solaris Flash 歸檔安裝於替代啟動環境上。

    如需有關如何利用 Solaris Live Upgrade 安裝 Solaris Flash 歸檔的說明,請參閱 「Solaris 10 6/06 安裝指南:Solaris Live Upgrade 與升級規劃」中的「在啟動環境上安裝 Solaris Flash 歸檔」

  5. 將檔案系統掛載於步驟 4 中所安裝之其他啟動環境上。


    # lumount alt_boot_env 
    mount-point
    

    在前述的指令中,alt_boot_env 是您於步驟 4 中所安裝的啟動環境,而 mount-point 是該替代啟動環境的掛載點。

  6. 將目錄變更為於該其他啟動環境中的 /var/svc/profile 目錄。


    # cd mount-point/var/svc/profile
    
  7. 移除 name_service.xml 設定檔。


    # rm name_service.xml
    
  8. 請建立名稱服務設定檔至 name_service.xml 檔的符號連結。


    # ln -s ns_name-service.xml name_service.xml
    

    於上述範例中,name-service 是您希望該系統使用的名稱服務。請為此變數使用下列字串之一。

    • nis

    • nisplus

    • dns

    • ladp

    • files