免费注册 查看新帖 |

Chinaunix

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

经验分享 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-05-28 09:10 |只看该作者 |倒序浏览
客户报系统重起后进不去。
杀去现场。
发现引导时报找不到文件,估计是启动区文件被破坏。
本来想单用户进去重新写一下引导区,可是单用户 维护模式都进不去。
这也难不到我。回公司拿了张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区文件丢失的恢复。百试不爽。
其他的可以不加精 这个一定要给个精!

[ 本帖最后由 tuifeibenke 于 2007-5-28 09:12 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-05-28 09:22 |只看该作者
不错

论坛徽章:
0
3 [报告]
发表于 2007-05-29 16:54 |只看该作者
我举双手同意给楼主加精!!!!!!!

论坛徽章:
0
4 [报告]
发表于 2007-05-30 10:02 |只看该作者
多谢楼主!已经加精

论坛徽章:
0
5 [报告]
发表于 2007-05-31 13:57 |只看该作者
原来如此,但是这个东东视需要安装光盘,如果没有安装光盘仅仅有网络的话能不能搞定?

论坛徽章:
0
6 [报告]
发表于 2007-06-04 17:22 |只看该作者

回复 1楼 tuifeibenke 的帖子

不错,虽然简单但是实用!服务于大家!

论坛徽章:
0
7 [报告]
发表于 2007-06-05 10:54 |只看该作者
顶了再说

论坛徽章:
0
8 [报告]
发表于 2007-06-12 10:20 |只看该作者
学习,,谢谢,,顶。。

论坛徽章:
0
9 [报告]
发表于 2007-06-12 11:47 |只看该作者
hao

论坛徽章:
0
10 [报告]
发表于 2007-07-26 22:32 |只看该作者
十分感谢,谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP