- 论坛徽章:
- 2
|
在这里我的想法是克隆一个系统盘.尤其光纤硬盘.当然想使用live upgrade,则需要做更多的准备,包括升级到什么版本,该升级哪些包等.
当做完升级或想做的事后,用luactivate激活目标盘后,然后用init ot shutdown重启机器,即实现了用目标启动.
当想回到原来的启动环境时,其实在用luactivate时屏幕有提示如下:
*********************************************************************
The target boot environment has been activated. It will be used when you
reboot. NOTE: You MUST NOT USE the reboot, halt, or uadmin commands. You
MUST USE either the init or the shutdown command when you reboot. If you
do not use either init or shutdown, the system will not boot using the
target BE.
**********************************************************************
In case of a failure while booting to the target BE, the following process
needs to be followed to fallback to the currently working boot environment:
1. Enter the PROM monitor (ok prompt).
2. Change the boot device back to the original boot environment by typing:
setenv boot-device
/pci@8,600000/SUNW,qlc@2/fp@0,0/disk@w21000000876c1c54,0:a
3. Boot to the original boot environment by typing:
boot
**********************************************************************
或者从目标启动后,运行luactivate命令重新激活原来的系统盘,用命令init or shutdown即可恢复到原来的系统盘.
每次成功创建了一个BE后,在/etc/lutab将增加一行,当觉得不想要时,个人觉得可以简单地移除这个文件就行了.
个人认为对于简单地复制系统盘来说操作还是非常简单的.也不需要安装额外的软件包,复制完后也不需要做任何配置文件的修改,在需要时在ok 修改一下boot-device的路径,或者直接boot diskx就行了.
[ 本帖最后由 bencyber 于 2007-6-21 09:30 编辑 ] |
|