module 4Module4 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/ (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) |