免费注册 查看新帖 |

Chinaunix

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

hpux trouble shooting module 4 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-11 00:59 |只看该作者 |倒序浏览
module 4
Module4 Troubleshooting a PA-RISC System Boot DiskPDC on the boot-ROM chip,功能是硬件自检,读取stablestorage,从LIF区域装载ISL
Stable Storage 非易失存储,存储硬件路径,自动搜索和自动启动的配置参数。还有低级别的诊断信息,这个部件损坏可能导致不能启动,但是可以通过PDC交互过程来解决,命令有search  path boot  config等。
ISL  定义,装载和将控制权转到第二装载器
HPUX  

LIF header
PVRA
  BDRA
  LIF area
  VGRA
  Lvol1
  Lvol2
  Lvol3
  Extents
  BBRA
LABEL contains pointers to the starting points and sizes of the boot-relevant logical volumes.To load the operating system,the HP-UX secondary loader uses information found in the LABEL file.LABEL file is maintained by the lvlboot and lvrmboot command




                                                                     









Repairing Damage –Missing /Corrupt LIF Utilities
1.       boot from the support media
2.       from the Main Menu,select “Run a Recovery Shell”
3.       Verify the hardware path to your boot disk
4.       From the Recovery menu, select
Mount the root disk and exit to a shell only
5.       From the Recovery shell,execute the following commands
Loadfile chroot
Chroot /ROOT /sbin/sh
Vgchange –a y/dev/vg00
Mountall
Mkboot /dev/rdsk/{bootdisk}
(lvlnboot –b /dev/vg00/lvol1
lvlnboot –s /dev/vg00/lvol2
lvlnboot –r /dev/vg00/lvol3
lvlnboot –d /dev/vg00/lvol2
lifcp /dev/rdsk/cxtydz:AUTO -  (查看AUTO文件的内容,如果不是hpux,执行 mkboot –a “your_startup_string” /dev/rdsk/cxtydz )

reboot

Repairing Damage – Corrupt LABEL File
1.       Boot from the support media
2.       From the Main Menu,select “Run a Recovery Shell”
3.       Verify the hardware path to your boot disk
4.       From the Recovery menu,select  --mount the root disk and exit to a shell only
5.       From the Recovery shell, execute the following commands:
Loadfile chroot
Chroot /ROOT /sbin/sh
Vgchange –a y /dev/vg00
Mountall
Lvlnboot –b /dev/vg00/lvol1

reboot

   Repairing Damage – Rebuilding Kernel
1.       from the Main Menu,select “Run a Recovery Shell”
2.       Verify the hardware path to your boot disk
3.       From the Recovery menu,select  ….Mount the root disk and exit to a shell only
From the Recovery shell,execute the following commands:
Loadfile chroot
Chroot /ROOT /sbin/sh
Vgchange –a y /dev/vg00
Fsck –P
Mountall
Cd /stand
Mk_kernel
Kmupdate
/sbin/init.d/kmbuild stop
reboot

Repairing Damage—Missing Binary File(s)
1.       From the Main Menu, select “Run a Recovery Shell”
2.       Verify the hardware path to your boot disk
3.       From the Recovery menu, select ….mount the root disk and exit to a shell only
4.       from the Recovery shell,execute the following commands
loadfile XXX       从光盘下载文件到内存中

PA-RISC Boot Disk Structure
Potential Boot Disk Failures
Repair Boot Disk (install media/ Recovery Shell/Corrupt LIF Utilities/LABEL file/Kernel)

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/92/showart_40646.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP