• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

efibootmgr: command not found

by Deepika

The “efibootmgr” command in Linux is used to manage the boot options stored in the firmware’s non-volatile RAM (NVRAM) on UEFI-based systems. This command can be used to view, add, modify, and delete boot entries, as well as change the boot order and set the default boot entry. The efibootmgr command is particularly useful when working with systems that have multiple boot options and need to change the boot order or add new boot options.

If you encounter the below error while running the command efibootmgr:

efibootmgr: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install efibootmgr
Ubuntu apt-get install efibootmgr
Arch Linux pacman -S efibootmgr
Kali Linux apt-get install efibootmgr
CentOS yum install efibootmgr
Fedora dnf install efibootmgr
Raspbian apt-get install efibootmgr

efibootmgr Command Examples

1. List the current settings then bootnums with their name:

# efibootmgr

2. List the filepaths:

# efibootmgr -v

3. Add UEFI Shell v2 as a boot option:

# sudo efibootmgr -c -d /dev/sda1 -l \EFI\tools\Shell.efi -L "UEFI Shell"

4. Change the current boot order:

# sudo efibootmgr -o 0002,0008,0001,0005

5. Delete a boot option:

# sudo efibootmgr -b 0008 --delete-bootnum

Filed Under: Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL 7 : How to install and configure telnet
  2. UNIX / Linux : Send mail with attachment using mutt
  3. usermod Command Examples in Linux
  4. pwdx Command Examples in Linux
  5. lsns: command not found
  6. lvcreate Command Examples in Linux
  7. eix Command Examples in Gentoo Linux
  8. Rpm: Error While Loading Shared Libraries: Libz.so.1: Cannot Open Shared Object File: No Such File
  9. head Command Examples in Linux
  10. pacstall Command Examples

You May Also Like

Primary Sidebar

Recent Posts

  • batch: Execute commands at a later time when the system load levels permit
  • bat: Print and concatenate files
  • bastet: Clone of the game Tetris in the terminal
  • bashmarks: Save and jump to commonly used directories using 1 character commands

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright