In EFI/ UEFI shell how to reboot or shutdown the system?

15,524

The command reset will do both poweroff and reboot. From the UEFI Shell Specification

reset

Summary

Resets the system.

Usage

reset [-w|-s|-c [string]] [-fwui]

Options

-s

  • Performs a shutdown

-w

  • Performs a warm boot

-c

  • Performs a cold boot

string

  • String to be passed to reset service

-fwui

If the system firmware supports it, perform a reset back to the firmware user interface (FW UI)

Examples

To shut down the system:

Shell> reset -s

To cold reset the system and stop boot at the firmware user interface:

Shell> reset –c -fwui

Share:
15,524

Related videos on Youtube

fraleone
Author by

fraleone

Updated on September 18, 2022

Comments

  • fraleone
    fraleone almost 2 years

    Having consulted resources related to the commands available in a UEFI/EFi Shell I cannot find two commands I would expect to be available

    1. reboot
    2. poweroff/halt/shutdown

    What am I missing here? (can it be that EFI shell is somewhat overengineered, but lacks basic functionality?)