免费注册 查看新帖 |

Chinaunix

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

安腾机器添加启动菜单 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-19 15:11 |只看该作者 |倒序浏览
昨天给公司放了1年多的rx4620装系统,装好v2,关机,拔电源.过了5分钟想再开启看看,结果好像启动信息丢失了,系统停在shell>处了.按照官方文档操作,添加HPUX到启动菜单失败,最后在系统使用setboot -p path命令搞定.现把过程贴出来,请各路大虾指教,Thanks!

注:fs0为启动盘

我的操作如下:
Shell> map
Device mapping table
  fs0  : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,SigBD540FBE-824D-11D1-8002-D6217B60E58
  fs1  : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,SigBD540FFA-824D-11D1-8004-D6217B60E58
  blk0 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)
  blk1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)
  blk2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,SigBD540FBE-824D-11D1-8002-D6217B60E58
  blk3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,SigBD540FDC-824D-11D1-8003-D6217B60E58
  blk4 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,SigBD540FFA-824D-11D1-8004-D6217B60E58
  blk5 : Acpi(HWP0002,100)/Pci(1|1)/Scsi(Pun0,Lun0)

Shell> help bcfg
Displays/modifies the driver/boot configuration.
BCFG driver|boot [dump [-v]] [add # file "desc"] [rm #] [mv # #]
    driver         - Display/modify the driver option list
    boot           - Display/modify the boot option list
    dump           - Display the option list
    -v             - Display the option list with extra info
    add            - Add an option
    #              - The number of the option to add in hex
    file           - The file name of the EFI application/driver for the option
    "desc"         - The description of the option being added
    rm             - Remove an option
    #              - The number of the option to remove in hex
    mv             - Move an option
    #              - The number of the option to move in hex
    #              - The new number of the option being moved
Examples:
  * To display driver options:
    Shell> bcfg driver dump
  * To display boot options:
    Shell> bcfg boot dump
Press ENTER to continue, 'q' to exit:  
  * To display verbosely of boot options:
    Shell> bcfg boot dump -v
  * To add a driver option #5
    Shell> bcfg driver add 5 mydriver.efi "My Driver"
       help                                            
List of classes of commands:

    Shell> bcfg boot add 3 osloader.efi "My OS"
Shell> bcfg boot add 1 \EFI\HPUX\HPUX.EFI "HP-UX 11i"
bcfg: File  - No mapping

Shell> bcfg boot add fs0 \EFI\HPUX\HPUX.EFI "HP-UX 11i"
bcfg: File  - No mapping

Shell> bcfg boot add 0 \EFI\HPUX\HPUX.EFI "HP-UX 11i"
bcfg: File  - No mapping   

Shell> bcfg boot add 1 HPUX.EFI "HPUX 11i"
Shell> ile HPUX.EFI - No mapping

Shell> map
Device mapping table
  fs0  : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,SigBD540FBE-824D-11D1-8002-D6217B60E58
  fs1  : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,SigBD540FFA-824D-11D1-8004-D6217B60E58
  blk0 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)
  blk1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)
  blk2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,SigBD540FBE-824D-11D1-8002-D6217B60E58
  blk3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,SigBD540FDC-824D-11D1-8003-D6217B60E58
  blk4 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,SigBD540FFA-824D-11D1-8004-D6217B60E58
  blk5 : Acpi(HWP0002,100)/Pci(1|1)/Scsi(Pun0,Lun0)
Shell> fs0:
fs0:\> hpux
(C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P.
All rights reserved
HP-UX Boot Loader for IPF  --  Revision 2.029
Press Any Key to interrupt Autoboot
\efi\hpux\AUTO ==> boot vmunix
Seconds left till autoboot -   0
AUTOBOOTING...> System Memory = 4081 MB
loading section 0
........................................................... (complete)
loading section 1
.............. (complete)
loading symbol table
loading System Directory (boot.sys) to MFS
....
loading MFSFILES directory (bootfs) to MFS
....................
Launching /stand/vmunix
SIZE: Text:30177K + Data:7102K + BSS:5269K = Total:42549K
Console is on a Serial Device
Booting kernel...
HP-UX will call firmware in physical-addressing mode

官方文档:
Adding an HP-UX Boot Option
This procedure adds an HP-UX item to the boot options list from the EFI Shell.
To add an HP-UX boot option when logged in to HP-UX, use the setboot command. For details
refer to the setboot (1M) manpage.

Step 1. Access the EFI Shell environment.
Log in to the iLO MP and enter CO to access the system console.
When accessing the console, confirm that you are at the EFI Boot Manager menu (the main EFI
menu). If you are at another EFI menu, choose the Exit option from the submenus until you return
to the screen with the EFI Boot Manager heading.
From the EFI Boot Manager menu, choose the EFI Shell menu option to access the EFI Shell
environment.

Step 2. Access the EFI System Partition (fsX: where X is the file system number) for the device from which
you want to boot HP-UX.
For example, enter fs2: to access the EFI System Partition for the bootable file system number 2.
The EFI Shell prompt changes to reflect the file system currently accessed.
The full path for the HP-UX loader is \EFI\HPUX\HPUX.EFI and it should be on the device you are
accessing.

Step 3. At the EFI Shell environment, use the bcfg command to manage the boot options list.
The bcfg command includes the following options for managing the boot options list:
• bcfg boot dump — Display all items in the boot options list for the server.
• bcfg boot rm # — Remove the item number specified by # from the boot options list.
• bcfg boot mv #a #b — Move the item number specified by #a to the position specified by #b
in the boot options list.
• bcfg boot add # file.efi "Description" — Add a new boot option to the position in the
boot options list specified by #. The new boot option references file.efi and is listed with the
title specified by Description.
For example, bcfg boot add 1 \EFI\HPUX\HPUX.EFI "HP-UX 11i" adds an HP-UX 11i item
as the first entry in the boot options list.
Refer to the help bcfg command for details.

Step 4. Exit the console and MP interfaces if you are finished using them.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP