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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

efibootmgr Command Examples in Linux

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.

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. atop: command not found
  2. gnome-extension Command Examples in Linux
  3. mpg123 Command Examples in Linux
  4. lsscsi: command not found
  5. fcrackzip Command Examples in Linux
  6. rig Command Examples in Linux
  7. CentOS / RHEL : How to setup session idle timeout (inactivity timeout) for ssh auto logout
  8. rdesktop: command not found
  9. arping: Discover and probe hosts in a network using the ARP protocol (Command Examples)
  10. makebuildserver Command Examples

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright