Yes, Z390 motherboards support Secure Boot, but enabling it can sometimes prevent booting from older or unsigned operating systems. You'll need to access your UEFI/BIOS settings to configure it, and it’s often necessary to enroll keys for custom operating systems.

Time 10 min · Steps 9 · Level Medium

Understanding Secure Boot on Z390

Secure Boot is a UEFI (Unified Extensible Firmware Interface) feature designed to prevent malicious software from loading during startup. It verifies the digital signature of the operating system and bootloader before allowing them to execute. Z390 motherboards, being relatively modern, all include Secure Boot functionality, but its implementation and configuration can vary slightly depending on the manufacturer (ASUS, Gigabyte, MSI, ASRock, etc.). The goal is to ensure that only trusted software boots, protecting against rootkits and other boot-level malware.

History and Origin of Secure Boot

Secure Boot was introduced as part of the UEFI 2.3.1 specification and is a key component of the Windows 8 and later operating systems. It was developed in response to concerns about boot sector viruses and the need for a more robust security mechanism than the traditional BIOS system. The UEFI standard mandates Secure Boot, but the specific implementation details are left to the motherboard manufacturer. Z390 motherboards, released in 2018, fully support this standard.

Current Practice: Enabling and Disabling Secure Boot

The process of enabling or disabling Secure Boot on a Z390 motherboard involves accessing the UEFI/BIOS settings. The exact steps and menu names may differ slightly depending on your motherboard manufacturer, but the general procedure remains consistent.

Accessing the UEFI/BIOS

To enter the UEFI/BIOS, you typically need to press a specific key during startup. Common keys include Delete, F2, F12, or Esc. The key to press is usually displayed briefly on the screen during the boot process. If you miss it, restart your computer and try again.

Navigating the UEFI/BIOS

Once in the UEFI/BIOS, use the arrow keys to navigate the menus. Look for a section typically labeled "Boot," "Security," or "Authentication." Within this section, you should find an option related to "Secure Boot."

Enabling Secure Boot

To enable Secure Boot, select the "Secure Boot" option and change its setting to "Enabled." You may also need to change the "Boot Mode" to "UEFI" if it is currently set to "Legacy" or "CSM" (Compatibility Support Module). CSM needs to be disabled for Secure Boot to function correctly. Save your changes and exit the UEFI/BIOS. The system will likely reboot.

Disabling Secure Boot

To disable Secure Boot, select the "Secure Boot" option and change its setting to "Disabled." This will allow you to boot from older operating systems or unsigned bootloaders. However, disabling Secure Boot reduces the security of your system. Save your changes and exit the UEFI/BIOS.

Key Management and Custom Operating Systems

If you intend to boot a custom operating system or use a bootloader that is not digitally signed by Microsoft, you will need to enroll keys in the UEFI/BIOS. This process allows the UEFI/BIOS to recognize and trust the unsigned bootloader.

Enrolling Keys

Within the UEFI/BIOS, look for a section labeled "Key Management" or "Secure Boot Keys." You will typically find options to import keys from a file or manually enter key data. The specific format of the key file will depend on your operating system or bootloader. Refer to the documentation for your custom operating system or bootloader for instructions on generating the key file.

PK (Platform Key), KEK (Key Exchange Key), and db (Database)

Secure Boot uses three key types: the Platform Key (PK), the Key Exchange Key (KEK), and the database (db). The PK is the root of trust and is typically stored in read-only memory. The KEK is used to sign the db, which contains the list of trusted bootloaders and operating systems. When you enroll a key, you are essentially adding it to the db.

Troubleshooting Secure Boot Issues

Enabling Secure Boot can sometimes prevent your system from booting correctly. Common issues and their solutions are:

Incompatible Operating System

If you are trying to boot an older or unsigned operating system, Secure Boot will prevent it from loading. Disable Secure Boot or enroll the necessary keys to allow booting from the incompatible operating system.

Corrupted UEFI/BIOS

In rare cases, the UEFI/BIOS itself may become corrupted. Try resetting the UEFI/BIOS to its default settings. This can usually be done through a menu option within the UEFI/BIOS or by using a reset button on the motherboard.

Incorrect Boot Order

Ensure that the correct boot device is selected in the UEFI/BIOS. If the boot order is incorrect, the system may attempt to boot from a device that does not have a valid operating system.

CSM Enabled

CSM must be disabled for Secure Boot to function. Verify that CSM is disabled in the UEFI/BIOS settings.

Table of Secure Boot Settings

| Setting | Description | Result | |---|---|---| | Secure Boot Enabled | Only digitally signed bootloaders and operating systems are allowed. | Enhanced security, compatibility with modern operating systems. | | Secure Boot Disabled | Allows booting from any bootloader or operating system, regardless of its signature. | Reduced security, compatibility with older operating systems. | | Boot Mode: UEFI | Boots the operating system in UEFI mode, required for Secure Boot. | Enables Secure Boot functionality. | | Boot Mode: Legacy/CSM | Boots the operating system in legacy BIOS mode, incompatible with Secure Boot. | Disables Secure Boot functionality. | | CSM Disabled | Compatibility Support Module is off. | Secure Boot is required. |

Rule of Thumb

If you're unsure, start with Secure Boot enabled. If you encounter issues booting a specific operating system or device, then consider disabling Secure Boot or enrolling the necessary keys.

Official source: motherboard manufacturer documentation (ASUS, Gigabyte, MSI, ASRock)