使用 Solaris Live Upgrade 將 UFS 根檔案系統轉換為 ZFS 時,bootlst 指令不會複製至正確位置。此錯誤會導致 boot -L 指令無法運作。螢幕上將顯示下列錯誤訊息:
Evaluating: boot -L The file just loaded does not appear to be executable. Boot device: /pci@1f,0/pci@1/scsi@8/disk@1,0:a File and args: Can't mount root Error in Fcode execution !!! Evaluating: boot The file just loaded does not appear to be executable. |
解決方法:將 bootlst 指令從 /platform/`uname -m`/bootlst 複製至 / root pool/platform/`uname -m`/bootlst。例如,若根池為 rpool,則鍵入下列指令:
# cp -p /platform/`uname -m`/bootlst /rpool/platform/`uname -m`/bootlst |