How to Access UEFI Settings in Linux Systems

A simple beginner's tutorial discussing various ways of accessing UEFI firmware settings in a Linux computer.
Warp Terminal

Want to check the boot order or the power settings at the firmware level? You can access the UEFI settings by pressing the F2, F10, or Del buttons when your system boots.

The problem with this approach is that you may not know the exact key and must be alert about pressing those keys at the right time.

If you don’t want to feel like Mr. Bean in the above Gif, you can access the UEFI settings from the Grub bootloader screen in Linux.

uefi firmware settings grub linux
UEFI firmware settings in GRUB

You see this screen when you turn on your Linux system. Most Linux distributions like Fedora and Ubuntu use Grub and they allow you to access the UEFI settings from the Grub screen like this.

What if you don’t see this screen or your distro doesn’t use Grub? There are still ways to access UEFI settings from within Linux.

Before you see how to do that, please ensure that your system uses UEFI.

Your system will reboot into UEFI settings. You cannot access and modify the firmware settings from within an operating system.

Boot into UEFI settings from Linux

This method will only work on Linux distros having systemd. This means this method will work on anything based on Ubuntu, Debian, Fedora, and any mainstream Arch-based distros, including Manjaro and EndeavourOS.

It is still a good idea to ensure that your Linux distro uses systemd. Use the given command and if it returns systemd you are good to go:

ps --no-headers -o comm 1
how to know if i am using systemd on linux?
Check if your system uses systemd

Once you figure out that your distro is utilizing systemd, you can use the given command to boot into UEFI settings:

systemctl reboot --firmware-setup

Let me break down the used options first:

  • reboot: As its name suggests, it will reboot your system.
  • --firmware-setup: When this option is used along with 'reboot', it will indicate the system’s firmware to boot into the firmware setup interface.

Yup, that was it! A single command and you will be kicked into UEFI settings. I know Windows allows booting into UEFI firmware settings from within Windows. It’s good to see something similar in Linux as well.

Create a desktop shortcut to boot into UEFI settings (optional and for experts)

If you often find yourself booting into the UEFI settings and don’t always remember the command, you can make your life easier by creating a desktop shortcut. This will let you boot into UEFI by clicking on the desktop icon.

🚧
Now, this is unnecessary and not required for most Linux users. Do it only if you feel the need for it. The method requires editing files in the command line.

First, use the given command to create a desktop shortcut file for UEFI settings:

sudo nano /usr/share/applications/uefi-reboot.desktop

And paste the following content in the file:

[Desktop Entry]
Name=UEFI Firmware Setup (Reboot)
Comment=Access the motherboard configuration utility
Exec=systemctl reboot --firmware-setup
Icon=system-restart
Terminal=false
Type=Application
Categories=System;Settings;
create a desktop shortcut to boot into uefi settings
Desktop Shortcut for Booting into Firmware

Once done, save the changes and exit from the nano text editor.

And now, you will find the shortcut for UEFI Firmware Setup in your system menu:

boot into uefi firmware from system menu
The shortcut shown in the search

That’s it! A neat way to get into UEFI settings.

Wrapping Up

The classic ways of accessing the boot settings may be a little inconvenient for some people. The grub screen may not show the UEFI option for older versions.

And this is where the systemd method shines. I found this method a lifesaver when my system crashed and my function keys were not responding, which are necessary to boot into UEFI (that’s what I thought then!).

I hope you find it equally helpful.

About the author
Sagar Sharma

Sagar Sharma

A software engineer who loves to write about his experience with Linux. While reviving my crashed system, you can find me reading literature, manga, or watering my plants.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.