免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2106 | 回复: 0
打印 上一主题 下一主题

修复bootblock [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-09-30 22:41 |只看该作者 |倒序浏览
初学sun

升级solaris 10 Generic_127111-09   =》 144488-06 失败,然后bootblock损坏,操作系统无法启动
ok boot
Boot device: disk0:a  File and args:
Boot load failed.
The file just loaded does not appear to be executable.


cdrom引导到单用户模式
/usr/sbin/installboot /a/usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0
修完以后还是报错
Boot device: disk0:a  File and args:
Boot load failed.
The file just loaded does not appear to be executable.
拆了svm根盘镜像,做了bootadm boot-archive,还是不行

我有三个问题
1)修复bootblock时,是不是是用的光盘OS版本需要和升级前OS版本一致啊?
我看官方文档上说理想情况下要保持一致,不一致会有可能出问题吗?
Ideally, you should match the version of the bootblock that you are going to copy with the Solaris[TM] Version that is installed.
To verify this, Solaris[TM] provides the /etc/release file:
# cat /a/etc/release

This document will tell you the release (Document 1002239.1) is installed and also the release. For instance "Solaris 9 9/04". This should match the version of the DVD you are using.
Now copy the bootblock back to the disk:
# /usr/sbin/installboot /a/usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0

2)bootadm update-archive 没有出现
15+0 records in
15+0 records out
只有
# bootadm update-archive -fvR /a
forced update of archive requested
cannot find: /a/etc/cluster/nodeid: No such file or directory
cannot find: /a/etc/mach: No such file or directory
Creating boot_archive for /a
updating /a/platform/sun4u/boot_archive

我看文档上举例都是
# bootadm update-archive -fvR /mnt
forced update of archive requested
cannot find: /mnt/etc/cluster/nodeid: No such file or directory
cannot find: /mnt/etc/mach: No such file or directory
Creating boot_archive for /mnt
updating /mnt/platform/sun4u/boot_archive
15+0 records in
15+0 records out


3)"The file just loaded does not appear to be executable." 一般什么情况下能修好?


您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP