使用 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 |