Finding out if your environment supports secure boot

Check the has_secure sysfs attribute to determine if your environment supports secure boot.

Before you begin

Linux must be booted from a supported disk type, see Table 1.

Procedure

Read the has_secure sysfs attribute.
For example:
# cat /sys/firmware/ipl/has_secure 
1

Results

A value of 1 indicates that the environment supports secure boot, otherwise the result is 0.

If you boot from a supported disk type, but the attribute does not exist, the version of Linux might be too old.