Table 6-11 efibootmgr Command Line Input (continued)
ResultCommand Line Input
• BOOT LOADER:
/efi/boot/bootia64.efi
• LOAD OPTION: LINUX
Generate a boot entry but do not save it in
NVRAM. The boot entry values are:
efibootmgr -c -L "Boot" -l /bootia64.efi --test
bootentry.bin
• NAME: Boot
• DEVICE: /dev/sda
• PARTITION: 1
• BOOT LOADER: /bootia64.efi
• LOAD OPTION: none
Create a boot entry with the following values:
efibootmgr -c -l /bootia64.efi -@ parameter.txt
• NAME: Linux
• DEVICE: /dev/sda
• PARTITION: 1
• BOOT LOADER: /bootia64.efi
• LOAD OPTION: data into the
parameter.txt file
Delete the second boot entry (BOOT0002).efibootmgr -B -b 0002
Set the fifth boot entry (BOOT0005) to BOOT
NEXT.
efibootmgr -n 0005
Define the new BOOT ORDER value.efibootmgr -o 0002,0005,0001
Set time-out to 5 seconds.
efibootmgr -t 5
Delete the BOOT NEXT, BOOT ORDER and
TIMEOUT values.
efibootmgr -O -N -T
efivar
Synopsis
efivar | -g | -n | -d | -U
Description
The efivar utility is a generic tool for setting EFI variables from SSTK LinuxPE.
Table 6-12 efivar Options
DescriptionOptions
EFI variable guid (default=8be4df61-93ca-11d2-aa0d-00e098032b8c).
-g | --guid
EFI variable name.
-n | --name
EFI variable value.
-v | --value
Delete EFI variable.
-d | --delete
Convert to Unicode when saving.
-U | --unicode
68 Utilities Reference