To determine whether UEFI is enabled, you can use devlink
to get the current
configuration. See Confirm Current Configuration.
If devlink
is not available, you can instead use lspci
running as root:
# lspci -d 10ee: -v
- If UEFI is enabled then a line is output for the
Expansion ROM
:01:00.0 Ethernet controller: Xilinx Corporation Device 5084 Subsystem: Xilinx Corporation Device 000b Flags: bus master, fast devsel, latency 0 Memory at 2fffd00000 (64-bit, prefetchable) [size=1M] Memory at 2fffe01000 (64-bit, prefetchable) [size=4K] Expansion ROM at 3000000000 [disabled] [size=1M] Capabilities: ...
Note: Its address might differ from the above example. - If UEFI is not enabled there is no output for the
Expansion ROM
:01:00.0 Ethernet controller: Xilinx Corporation Device 5084 Subsystem: Xilinx Corporation Device 000b Flags: bus master, fast devsel, latency 0 Memory at 2fffd00000 (64-bit, prefetchable) [size=1M] Memory at 2fffe01000 (64-bit, prefetchable) [size=4K] Capabilities: ...