您的位置:首页 > 运维架构

How to add boot option manually for specific EFI file boot

2013-09-12 14:12 393 查看
How to add boot option manually for specific EFI file boot

1. How to add manualy

2. Boot option maintenance menu / Add a Boot Option

3. Boot option maintenance menu / Change Boot Order

4. bcfg command help

IPF Boot option maintenance menu has a tool for "Add a Boot Option". But this is

valid only for the bootable media like the boot disk, ODE/Offline Diagnostic media

Windows Install media. If you want to add boot option for the HP-UX Install media,

it does not work. But you can add boot option manually.

How to add manualy [Top]

==================

1. Start the EFI shell from the main menu.

EFI Boot Manager ver 1.10 [14.60] Firmware ver 2.21 [4306]

Please select a boot option

HPUX boot

EFI Shell [Built-in]

Boot option maintenance menu

Security/Password Menu

Use ^ and v to change option(s). Use Enter to select an optio



2. Check current boot option. There are 2 boot options.

Shell> bcfg boot dump

The boot option list is:

01. Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig3CD00000)/

\EFI\HPUX\HPUX.EFI "HP-UX boot: 0/1/1/0.0.0"

02. VenHw(D65A6B8C-71E5-4DF0-A909-F0D2992B5AA9) "EFI Shell [Built-in]"

3. For instance, you can add a boot option for the file "ode.efi" on the ODE media

as follows.

Note: Load the ODE media in the DVD drive before starting next operation.

Shell>fs1:

fs1:> bcfg boot add 3 efi\hp\diag\ode\ode.efi "Test"

Target = 2

bcfg: Add boot option as 3

fs1:\> bcfg boot dump

The boot option list is:

01. Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig3CD00000)/

\EFI\HPUX\HPUX.EFI "HP-UX Primary

Boot: 0/1/1/0.0.0"

02. VenHw(D65A6B8C-71E5-4DF0-A909-F0D2992B5AA9) "EFI Shell [Built-in]"

03. Acpi(HWP0002,0)/Pci(2|0)/Ata(Primary,Master)/CDROM(Entry0)/\EFI\HP\DIAG\ODE "Test"

4. Exit the Shell and check the boot option. Your new boot option is added.

EFI Boot Manager ver 1.10 [14.60] Firmware ver 2.21 [4306]

Please select a boot option

HPUX Primary

EFI Shell [Built-in]

Test

Boot option maintenance menu

Security/Password Menu

Use ^ and v to change option(s). Use Enter to select an optio

Boot option maintenance menu [Top]

=============================

1) Add boot option operation

1. Start the Boot option maintenance menu from the main menu.

EFI Boot Manager ver 1.10 [14.60] Firmware ver 2.21 [4306]

Please select a boot option

HPUX boot

EFI Shell [Built-in]

Boot option maintenance menu

Security/Password Menu

Use ^ and v to change option(s). Use Enter to select an optio

2. Select " Add a Boot Option"

EFI Boot Maintenance Manager ver 1.10 [14.60]

Main Menu. Select an Operation

Boot from a File

Add a Boot Option

Delete Boot Option(s)

Change Boot Order

Manage BootNext setting

Set Auto Boot TimeOut

Select Active Console Output Devices

Select Active Console Input Devices

Select Active Standard Error Devices

Cold Reset

Exit

Timeout-->[30] sec SystemGuid-->[80C1D1BF-252B-11D7-8B99-CB9AB7567419]

SerialNumber-->[uss40190by ]

2. Select a volume. In this case, you select the Removable Media.

EFI Boot Maintenance Manager ver 1.10 [14.60]

Add a Boot Option. Select a Volume

NO VOLUME LABEL [Acpi(HWP0002,0)/Pci(2|0)/Scsi(Pun0,Lun0)/HD(Par

NO VOLUME LABEL [Acpi(HWP0002,0)/Pci(2|0)/Scsi(Pun0,Lun0)/HD(Par

NO VOLUME LABEL [Acpi(HWP0002,0)/Pci(2|0)/Scsi(Pun2,Lun0)/HD(Par

IA64_EFI [Acpi(HWP0002,100)/Pci(1|0)/Pci(1|1)/Scsi(Pun0,Lun0)/HD

IA64_EFI [Acpi(HWP0002,100)/Pci(1|0)/Pci(1|1)/Scsi(Pun2,Lun0)/HD

Removable Media Boot [Acpi(HWP0002,0)/Pci(2|1)/Scsi(Pun2,Lun0)]

Load File [EFI Shell [Built-in]]

Load File [Acpi(HWP0002,100)/Pci(1|0)/Pci(4|0)/Mac(00306E2817FE)

Exit

3. Enter your new desription. Select No boot option. Then save the changes to VNRAM.

Device Path Acpi(HWP0002,0)/Pci(2|1)/Scsi(Pun2,Lun0)

Enter New Description: Load DVD Media

New BootOption Data. ASCII/Unicode strings only, with max of 240 characters

Enter BootOption Data Type [A-Ascii U-Unicode N-No BootOption] : N None

Save changes to NVRAM [Y-Yes N-No]: Y

4. Exit to the main menu and check the boot option. Your new option is added.

EFI Boot Manager ver 1.10 [14.60] Firmware ver 2.21 [4306]

Please select a boot option

HPUX boot

EFI Shell [Built-in]

Microsoft Windows .NET Enterprise Server

Redhat Linux

Load DVD Media

Boot option maintenance menu

Security/Password Menu

Use ^ and v to change option Use Enter to select an option

2) Change Boot Order [Top]

1. Before staring this operation, you need to understand how to move the boot option

up or down. Here is the Help output of this menu.

Boot Order Menu Help Screen

This menu helps in setting the boot order of options. Select a boot

option using the arrow keys. Pressing 'U' or 'u' moves it up the order

chain and pressing 'D' or 'd' moves it down the order chain. Save the

settings to NVRAM (if needed) before exiting.

2. Select Change boot order from the Boot maintenance menu. Current boot order

is diaplayed.

3. Move the cusor with arrow key to the position of the description you want to

move. Hardware path information of the discription you selected is displayed

at bootom of the window.

4. Press u/U or d/D key to move the order. If you want to move it two steps, you

need to press the key twice.

4. Move the cursor to "Save Settings to NVRAM", they press "Return" key.

5. Exit the menu.

EFI Boot Maintenance Manager ver 1.10 (14.60)

Change boot order. Select an Operation

HPUX boot

EFI Shell [Built-in]

Load DVD Media

Save Settings to NVRAM

Help

Exit

Acpi(HWP0002,0)/Pci(2|1)/Scsi(Pun2,Lun0)

Boot0004

bcfg command help [Top]

===================

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

Example:

The boot option list is:

01. Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,SigF5F6C7BA-8A85-11D9-80

02-D6217B60E588)/\startup.nsh "TEST"

02. Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,SigF5F6C7BA-8A85-11D9-80

02-D6217B60E588)/\EFI\HPUX\HPUX.EFI "HP-UX Primary Boot: 0/1/1/0.1.0"

03. Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master) "Internal Bootable DVD"

04. VenHw(D65A6B8C-71E5-4DF0-A909-F0D2992B5AA9) "EFI Shell [Built-in]"

* 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"

* To add a boot option #3

Shell> bcfg boot add 3 osloader.efi "My OS"

* To remove boot option #3

Shell> bcfg boot rm 3

* To move boot option #3 to boot option #7

Shell> bcfg boot mv 3 7
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: