efibootmgr
"efibootmgr" is a command line tool that is primarily used in Linux distributions to manage UEFI boot entries. It allows users to view, create, modify, and delete boot entries on UEFI-based systems.
This tool is used to manipulate the boot order, change the default boot option, and modify boot parameters of the UEFI firmware. By using "efibootmgr," users can configure their system to boot into different operating systems or change the boot order based on their preferences.
It provides a simple and efficient way to manage UEFI boot entries, making it especially useful for dual-boot systems with multiple operating systems installed.
With "efibootmgr," users can create new boot entries by specifying the bootloader file, label, and other relevant details. Alternatively, they can modify the existing entries by changing their boot parameters, labels, or boot order.
The tool also allows the deletion of boot entries, which is particularly helpful when removing an operating system or reorganizing the boot order.
Additionally, "efibootmgr" provides options to enable or disable the Secure Boot feature in the UEFI firmware. This enables users to adjust the security settings of their system and control the execution of signed bootloaders.
The "efibootmgr" command can be executed from the terminal, and its output allows users to view the current boot entries along with their details such as boot order, device path, and bootloader file.
By being a command line tool, "efibootmgr" can be easily integrated into scripts and automated processes, making it suitable for system administrators or power users who manage multiple systems or frequently modify boot configurations.
Overall, "efibootmgr" simplifies and streamlines the management of UEFI boot entries, providing greater flexibility and control over the boot process on UEFI-based systems.
List of commands for efibootmgr:
-
efibootmgr:tldr:12437 efibootmgr: Add UEFI Shell v2 as a boot option.$ sudo efibootmgr -c -d ${-dev-sda1} -l ${\EFI\tools\Shell-efi} -L "${UEFI Shell}"try on your machineexplain this command
-
efibootmgr:tldr:a99f9 efibootmgr: Delete a boot option.$ sudo efibootmgr -b ${0008} --delete-bootnumtry on your machineexplain this command
-
efibootmgr:tldr:b86f5 efibootmgr: List the current settings then bootnums with their name.$ efibootmgrtry on your machineexplain this command
-
efibootmgr:tldr:ee912 efibootmgr: Change the current boot order.$ sudo efibootmgr -o ${0002,0008,0001,0005}try on your machineexplain this command
-
efibootmgr:tldr:fd37a efibootmgr: List the filepaths.$ efibootmgr -vtry on your machineexplain this command