转载—HPUX 根盘lif区恢复

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:201

客户报系统重起后进不去。
到现场后
发现引导时报找不到文件,估计是启动区文件被破坏。
本来想单用户进去重新写一下引导区,可是单用户 维护模式都进不去。
这也难不到我。回公司拿了张11。0的光盘,用光盘启动。下面是我修复时截下来的。

HP-UX CORE MEDIA SYSTEM RECOVERY
MAIN MENU

s. Search for a file
b. Reboot
l. Load a file
r. Recover an unbootable HP-UX system
x. Exit to shell
c. Instructions on chrooting to a lvm /(root).

This menu is for listing and loading the tools contained on the core media.
Once a tool is loaded, it may be run from the shell. Some tools require other
files to be present in order to successfully execute.

Select one of the above:

二.选择R

HP-UX Recovery MENU

Select one of the following:
a. Rebuild the bootlif (ISL, HPUX, and the AUTO file) and install
all files required to boot and recover HP-UX on the
root file system.
b. Do not rebuild the bootlif, but install files required to boot
and recover HP-UX on the root file system.
c. Rebuild only the bootlif.
d. Replace only the kernel on the root file system.

m. Return to 'HP-UX Recovery Media Main Menu'.
x. Exit to the shell.

Use this menu to select the level of recovery desired.

Selection:C

三.

BOOTLIF PATH VERIFICATION
MENU

This menu must be used to determine the path to the bootlif (ISL, HPUX
and the AUTO file).
When the information is correct, select 'a'.

INFORMATION to verify:
Path to the bootlif is 8/0.5.0

Select one of the following:
a. The above information is correct.
b. WRONG!! The path to bootlif is incorrect.

m. Return to the 'HP-UX Recovery MENU.'
x. Exit to the shell.

Selection:A

四.

BOOT STRING VERIFICATION
MENU

This menu must be used to verify the system's boot string.
When the information is correct, select 'a'.

INFORMATION to verify:
The system's boot string should be:
'hpux -lm /stand/vmunix'

Select one of the following:
a. The above information is correct.
b. WRONG!! Prompt the user for the system's boot string.

m. Return to the 'HP-UX Recovery MENU.'
x. Exit to the shell.

NOTE: For an LVM '/'(ROOT) the '-lm' option MUST be specified
(example: 'hpux -lm (2.3.4)/stand/vmunix' )

Selection:B

AUTO FILE should be (replacing 'hpux -lm /stand/vmunix'):
hpux /stand/vmunix

五.

BOOT STRING VERIFICATION
MENU

This menu must be used to verify the system's boot string.
When the information is correct, select 'a'.

INFORMATION to verify:
The system's boot string should be:
'hpux /stand/vmunix'

Select one of the following:
a. The above information is correct.
b. WRONG!! Prompt the user for the system's boot string.

m. Return to the 'HP-UX Recovery MENU.'
x. Exit to the shell.

NOTE: For an LVM '/'(ROOT) the '-lm' option MUST be specified
(example: 'hpux -lm (2.3.4)/stand/vmunix' )

Selection: a
回车

*********** Installing bootlif ***********
六.

After bringing the system back online the SWAP, BOOT and DUMP
volume information in the BOOTLIF should be restored.

For example:
BOOT:
If '/stand' is on a separate logical volume, then use
lvlnboot -b /dev// .
Otherwise BOOT and ROOT are considered identical.

DUMP:
lvlnboot -d /dev//
lvlnboot -d /dev//

SWAP:
lvlnboot -s /dev//

Refer to the lvlnboot man page for more information.


七.

RECOVERY COMPLETION
MENU

Use this menu after the recovery process has installed all requested
files on your system.

Select one of the following:
a. REBOOT the customer's system and continue with recovery.
b. Return to the HP-UX Recovery Media Main Menu.

Selection:
八.选择A就可以启动了.

注意此方法经过本人多次测试,主要用于LIF区文件丢失的恢复。

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】