中国青基会
RSS
热门关键字:  None  linux+moodle安装  mac  rhel5  199
当前位置 : Nixsky>UNIX>HP-UX>列表

HP-UX 经验分享

来源:CU 作者:tuifeibenke 时间:2007-06-19 点击:
客户报系统重起后进不去。
杀去现场。
发现引导时报找不到文件,估计是启动区文件被破坏。
本来想单用户进去重新写一下引导区,可是单用户 维护模式都进不去。
这也难不到我。回公司拿了张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/<rootvg>/<lv of '/stand'> .
               Otherwise BOOT and ROOT are considered identical.

            DUMP:
               lvlnboot -d /dev/<rootvg>/<lv0 of dump>
               lvlnboot -d /dev/<rootvg>/<lv2 of dump>

            SWAP:
               lvlnboot -s /dev/<rootvg>/<lv0 of swap>

          Refer to the lvlnboot man page for more information.

           <Press return to continue>
七.

                         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区文件丢失的恢复。百试不爽。
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册