My FAQ,最新最全的IT技术FAQ
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 未整理篇 | 技术讨论
  当前位置: > 操作系统 > HP-Unix
hpux trouble shooting module 4
作者:未知 时间:2005-09-13 22:56 出处:Blog.ChinaUnix.net 责编:My FAQ
              摘要:hpux trouble shooting module 4
module 4

Module4 Troubleshooting a PA-RISC System Boot Disk

PDC 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/

(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)
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 myfaq.com.cn All rights reserved. www.myfaq.com.cn 版权所有