- 论坛徽章:
- 0
|
昨天给公司放了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. |
|