"installboot" command.
7) With root mounted under "/a" run the following commands to re-build
the devices tree :
drvconfig -r /a/devices -p /a/etc/path_to_inst
cd /devices
find . -print | cpio -pduVm /a/devices
disks -r /a
devlinks -r /a
NOTE: It is currently necessary to use both "drvconfig" and "find | cpio" due
to bugid 4161768, drvconfig does not work properly with socal disks.
Configure the "boot-device" parameter in the EEPROM using the
"luxadm set_boot_dev /dev/dsk/{root slice entry}" command.
9) Restore the other filesystems on that disk, or comment out the
entries for them from /a/etc/vfstab. At least you must have all the
Solaris filesystems (root, /var, /usr, /opt, etc.) recovered.
补充一点:
假如原有系统根盘采用disksuite做了映像的话,先在缺省引导盘上做1-9步,完毕后做以下步骤:
备份/etc/system,然后将里面的disksuite root信息、内核驱动信息全部删除干净。
* Begin MDD root info (do not edit)
forceload: misc/md_trans
forceload: misc/md_raid
forceload: misc/md_hotspares
forceload: misc/md_sp
forceload: misc/md_stripe
forceload: misc/md_mirror
forceload: drv/pcipsy
forceload: drv/glm
forceload: drv/sd
rootdev:/pseudo/md@0:0,10,blk
* End MDD root info (do not edit)
* Begin MDD database info (do not edit)
set md:mddb_bootlist1="sd:6:16 sd:6:1050 sd:6:2084 sd:14:16 sd:14:1050"
set md:mddb_bootlist2="sd:14:2084 sd:22:16 sd:30:16"
* End MDD database info (do not edit)
10、假如原有系统根盘采用disksuite做了映像的话,需要将disksuite映像配置信息清理掉
/etc/lvm/md.cf
10) Reboot the system from the recovered disk.
建议用reboot -- -r选项重启
12、假如原有系统根盘采用disksuite做了映像的话,正常启动后按照标准做法重新配置disksuite映像。
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




