EFI Instructions
Appendix A: EFI Commands Basic Instructions for Using the Extensible Firmware Interface (EFI)
Command Description
-b – Displays one page at a time
-r – Displays recursively
-a – Displays files of the attributes
map [-r|-v|-d] Displays, resets, or deletes mappings with verbose option
memmap Displays the memory map
mkdir dirname Creates a directory at current location
mm Displays or modifies MEM/IO/PCI
mode [row col] Displays or changes console output
mount BlkDevice
[sname]
Mounts a file system on a block device. The mounted names
are lost at next map –r.
mv src dest Moves one or more files/directories to destination
OpenInfo Displays the protocols on a handle and the agents
pause Prints a message and suspends for keyboard input. Options are
q to quit or any other key resumes the script.
pci Displays PCI devices or PCI function configuration space
reconnect Reconnects one or more drivers from a device
reset [-w|-s] [string] Resets the system with warm reboot or complete shutdown.
Can pass a string to the reset service.
rm [-q] file|dir Deletes one or more files or directories
-q – Does not prompt for a confirmation
set [-d|-v|-b] [sname
[value]]
Displays, deletes, changes, or creates environment variables
set – Displays the environment variable
set -d – Deletes the environment variable
set sname value – creates the environment variable
setsize Sets the size of a file
stall Stalls the processor for some microseconds
time Displays the current time or sets the time of the system
touch [-r] filename Sets the time and date of a file to the current time and date
type [-a|-u] file Displays the contents of a file (ASCII or Unicode)
unload Unloads a protocol image
ver Displays the version information
vol [fs] [VolLabel] Displays volume information of the file system
Revision 2.0
8