Refer: https://itsfoss.com/access-uefi-from-linux/
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
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 suggest, it will reboot your system.
- --firmware-setup: When this option is used with reboot, it will indicate to the system’s firmware to boot into the firmware setup interface.
