HP Integrity Superdome SX1000 SmartSetup Scripting Toolkit Deployment Guide: H - Page 68

Table 6-10, Commands, Command Line Input, Description, Result

Page 68 highlights

Table 6-10 efibootmgr Commands Commands -@ | --@ file -b | --bootnum XXXX -d | --disk disk -e | --edd [1|3|-1] -E | --device num -g | --gpt -H | --acpi_hid XXXX -l | --loader name -L | --label label -p | --part part -q | --quiet --test filename -u | --unicode | --UCS-2 -U | --acpi_uid XXXX -v | --verbose -w | --write-signature Description Define the file to include more options. Select BootXXXX (hex) variable to be deleted. Device file that the boot loader stores. (defaults to /dev/sda). Force EDD 1.0 or 3.0 creation variables, or guess. EDD 1.0 device number (defaults to 0x80). Force disk with invalid PMBR to be treated as GPT. Set the ACPI HID (used with -i). Boot loader file name. The full path must be informed if necessary. (defaults to \elilo.efi). Boot manager display label (defaults to "Linux"). Partition number that containing boot loader (defaults to 1) Be quiet. Do not write to NVRAM, writes to filename. Pass extra args as UCS-2 (default is ASCII). Set the ACPI UID (used with -i). Print additional information. Write unique sig to MBR if needed. Table 6-11 efibootmgr Command Line Input Command Line Input efibootmgr efibootmgr -c Result Show the current configuration. Create a default boot entry with the following values: • NAME: Linux • DEVICE: /dev/sda • PARTITION: 1 • BOOT LOADER: /elilo.efi • LOAD OPTION: none efibootmgr -c -L "New Boot" -l /efi/boot/bootia64.efi -d /dev/cciss/c0d0 -p 4 LINUX Create a boot entry with following values: • NAME: New Boot • DEVICE: /dev/cciss/c0d0 • PARTITION: 4 • BOOT LOADER: /efi/boot/bootia64.efi • LOAD OPTION: LINUX efibootmgr -c -L "Boot" -l /bootia64.efi --test bootentry.bin Generate a boot entry but do not save it in NVRAM. The boot entry values are: • NAME: Boot • DEVICE: /dev/sda • PARTITION: 1 • BOOT LOADER: /bootia64.efi • LOAD OPTION: none 68 Utilities Reference

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85

Table 6-10
efibootmgr
Commands
Description
Commands
Define the file to include more options.
-@ | --@ file
Select
BootXXXX
(hex) variable to be deleted.
-b | --bootnum XXXX
Device file that the boot loader stores. (defaults to
/dev/sda
).
-d | --disk disk
Force EDD 1.0 or 3.0 creation variables, or guess.
-e | --edd [1|3|-1]
EDD 1.0 device number (defaults to 0x80).
-E | --device num
Force disk with invalid PMBR to be treated as GPT.
-g | --gpt
Set the ACPI HID (used with -i).
-H | --acpi_hid XXXX
Boot loader file name. The full path must be informed if necessary.
(defaults to
\elilo.efi
).
-l | --loader name
Boot manager display label (defaults to "Linux").
-L | --label label
Partition number that containing boot loader (defaults to 1)
-p | --part part
Be quiet.
-q | --quiet
Do not write to NVRAM, writes to filename.
--test filename
Pass extra args as UCS-2 (default is ASCII).
-u | --unicode | --UCS-2
Set the ACPI UID (used with
-i)
.
-U | --acpi_uid XXXX
Print additional information.
-v | --verbose
Write unique sig to MBR if needed.
-w | --write-signature
Table 6-11
efibootmgr
Command Line Input
Result
Command Line Input
Show the current configuration.
efibootmgr
Create a default boot entry with the following
values:
NAME: Linux
DEVICE: /dev/sda
PARTITION: 1
BOOT LOADER: /elilo.efi
LOAD OPTION: none
efibootmgr -c
Create a boot entry with following values:
NAME: New Boot
DEVICE: /dev/cciss/c0d0
PARTITION: 4
BOOT LOADER:
/efi/boot/bootia64.efi
LOAD OPTION: LINUX
efibootmgr -c -L "New Boot" -l
/efi/boot/bootia64.efi -d /dev/cciss/c0d0 -p 4
LINUX
Generate a boot entry but do not save it in
NVRAM
. The boot entry values are:
NAME: Boot
DEVICE: /dev/sda
PARTITION: 1
BOOT LOADER: /bootia64.efi
LOAD OPTION: none
efibootmgr -c -L "Boot" -l /bootia64.efi --test
bootentry.bin
68
Utilities Reference