efibootmgr
Verified for current stable LTS
Efibootmgr Command: Add Linux Boot Option
Use for add linux boot option with Efibootmgr. Exact CLI syntax to add linux boot option using Efibootmgr.
When to use this: Use for add linux boot option with Efibootmgr.
Command Syntax
sudo efibootmgr -c -d </dev/sda> -p <1> -l "<\vmlinuz>" -u "<kernel_cmdline>" -L "<Linux>" sudo efibootmgr -c -d </dev/sda> -p <1> -l "</vmlinuz>" -u "<kernel_cmdline>" -L "<Linux>" Live Command Builder
Final Command
sudo efibootmgr -c -d </dev/sda> -p <1> -l "<\vmlinuz>" -u "<kernel_cmdline>" -L "<Linux>" Command Breakdown
-c- Command Option
- Tool-specific option used by this command invocation.
-d- Command Option
- Tool-specific option used by this command invocation.
-p- Command Option
- Tool-specific option used by this command invocation.
-l- Command Option
- Tool-specific option used by this command invocation.
-u- Command Option
- Tool-specific option used by this command invocation.
-L- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to add linux boot option using Efibootmgr.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Efibootmgr Command: Add Uefi Shell Boot Option
sudo efibootmgr -c -d </dev/sda> -p <1> -l "<\path\to\shell.efi>" -L "<UEFI Shell>" Efibootmgr Command: Change Boot Order sudo efibootmgr -o <0002,0008,0001,001A,...> Efibootmgr Command: Delete Boot Option sudo efibootmgr -b <0008> -B Efibootmgr Command: List Boot Options efibootmgr -u Grep Command: Print File Name And Line Number With Color Output grep -Hn --color=always "<search_pattern>" <path/to/file>