- 論壇徽章:
- 2
|
在這里我的想法是克隆一個(gè)系統(tǒng)盤.尤其光纖硬盤.當(dāng)然想使用live upgrade,則需要做更多的準(zhǔn)備,包括升級(jí)到什么版本,該升級(jí)哪些包等.
當(dāng)做完升級(jí)或想做的事后,用luactivate激活目標(biāo)盤后,然后用init ot shutdown重啟機(jī)器,即實(shí)現(xiàn)了用目標(biāo)啟動(dòng).
當(dāng)想回到原來(lái)的啟動(dòng)環(huán)境時(shí),其實(shí)在用luactivate時(shí)屏幕有提示如下:
*********************************************************************
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
**********************************************************************
或者從目標(biāo)啟動(dòng)后,運(yùn)行l(wèi)uactivate命令重新激活原來(lái)的系統(tǒng)盤,用命令init or shutdown即可恢復(fù)到原來(lái)的系統(tǒng)盤.
每次成功創(chuàng)建了一個(gè)BE后,在/etc/lutab將增加一行,當(dāng)覺得不想要時(shí),個(gè)人覺得可以簡(jiǎn)單地移除這個(gè)文件就行了.
個(gè)人認(rèn)為對(duì)于簡(jiǎn)單地復(fù)制系統(tǒng)盤來(lái)說(shuō)操作還是非常簡(jiǎn)單的.也不需要安裝額外的軟件包,復(fù)制完后也不需要做任何配置文件的修改,在需要時(shí)在ok 修改一下boot-device的路徑,或者直接boot diskx就行了.
[ 本帖最后由 bencyber 于 2007-6-21 09:30 編輯 ] |
|