The Computer Oracle

How can I reboot or shutdown the system in an EFI or UEFI shell?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Meditation

--

Chapters
00:00 How Can I Reboot Or Shutdown The System In An Efi Or Uefi Shell?
00:29 Accepted Answer Score 19
01:06 Thank you

--

Full question
https://superuser.com/questions/1595233/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#uefi #reboot #efi #poweroff

#avk47



ACCEPTED ANSWER

Score 19


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