efibootmgr command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
efibootmgr: command not found
or when using sudo you get the following error message
sudo: efibootmgr: command not found
Solutions to efibootmgr: command not found
How To Fix efibootmgr: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu efibootmgr is provided by efibootmgr package.
efibootmgr is:
This is a Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager configuration. This application can create and destroy boot entries, change the boot order, change the next running boot option, and more.
Additional information about (U)EFI can be found at http://www.uefi.org/.
Note: efibootmgr requires that the kernel module efivars be loaded prior to use. ‘modprobe efivars’ should do the trick if it does not automatically load.
To fix this problem, we can install more using the command below.
sudo apt-get -y install efibootmgr
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install efibootmgr.
sudo apt -y install efibootmgr
Or if you have aptitude installed you can use the following command.
sudo aptitude install efibootmgr
Summary
In this tutorial we learn how to fix efibootmgr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.