Solaris 8 (Intel 平台版本) 2/02 发行说明

Live Upgrade 可能无法确定引导设备(4525464)

如果从 Solstice DiskSuiteTM 或 SolarisTM Volume Manager 的根映像、或封装了 Veritas 的根来引导,则lucreate 命令可能无法确定引导设备。显示以下错误消息。


WARNING: Unable to determine root device by accessing boot device settings directly. 
ERROR: Unable to determine root device for current BE. 
ERROR: Unable to determine the physical boot device for the current BE <...>. 
Use the <-C> command line option to specify the physical boot device for the current BE 
<...>

如果使用 lucreate -C 来指定物理引导设备,该命令会失败。

解决方法:手工编辑 /usr/sbin/lucreate使 Live Upgrade 从 Solstice DiskSuite 或 Solaris Volume Manager 的根映像或封装了 Veritas 的根中确定引导设备。按这些步骤执行。

  1. 制作 /usr/sbin/lucreate 的备份副本。

  2. 在文本编辑程序中打开 /usr/sbin/lucreate

  3. /usr/sbin/lucreate 中查找下列行。


    elif [ "${dpbe_pbeBootDev}" -eq "-" ] ;then
    

  4. 将前面的行改变为下列行。


    elif [ "${dpbe_pbeBootDev}" = '-' ] ;then
    

  5. /usr/sbin/lucreate 中查找下列行。


     if [ "${OPTARG}" -ne "-" ] ;then
    

  6. 将前面的行改变为下列行。


    if [ "${OPTARG}" != '-' ] ;then
    

  7. 保留对 /usr/sbin/lucreate 的更改。

lucreate 命令现在可以确定引导设备, -C 选项可以正常运行。

当更新完成后,可以删除 /usr/sbin/lucreate 的备份副本。