Guides › Install
Secure Boot
What Secure Boot is, why you may need it off to start the USB stick, and how to turn it on with Sovereign OS step by step.
Secure Boot is a setting in the PC's firmware (the built-in software that starts the PC before any system loads). When it is on, the PC only starts systems signed with a key the firmware trusts. This blocks some hidden attacks that try to run before the system starts.
Sovereign OS works the same with Secure Boot on or off. It checks the signature of its own system files at every start either way. Turning Secure Boot on adds the firmware's check in front of that. Secure Boot is in every edition.
Why the USB stick may not start with Secure Boot on
Most PCs come from the factory trusting Windows and other systems signed through the same program, but not Kinode's key yet. With Secure Boot on, such a PC skips the Sovereign OS stick. You have two choices:
- Turn Secure Boot off to start and install, and turn it on again later from Sovereign OS. This is the easiest way. See If the PC skips the stick.
- Add the Kinode key to the firmware first, then start the stick with Secure Boot on (see the last sections of this page).
Words you will see
- Keys: the firmware keeps lists of keys that decide what may start. db is the list of allowed signers, dbx is the list of blocked ones, KEK is the list of keys allowed to change db, and the platform key (PK) is the key of the PC's owner.
- Setup Mode: when the platform key is deleted, the firmware is in Setup Mode. Only then can a program like Sovereign OS add keys by itself.
Check whether Secure Boot is on
- Open Settings.
- Go to Privacy & security > Device security.
- The page says, for example, "Secure Boot is on and trusts Sovereign OS." or "Secure Boot is off. Sovereign OS works without it." If the PC's firmware has no Secure Boot, it says so.
Turn on Secure Boot from Sovereign OS
Do this on the installed system, not in a live session. The steps differ a little between PC makers, and Sovereign OS shows the ones for your PC.
- Open Settings > Privacy & security > Device security.
- Click Set up Secure Boot. Confirm as an administrator if asked.
- Sovereign OS saves a copy of the firmware's current keys on the system drive, so the change can be undone and nothing is lost. It then shows the steps for your PC's maker and model. You can pick a different maker or variant if the steps don't match your screens.
- Follow the first group of steps, Put Secure Boot into Setup Mode. To open the firmware settings, click Restart to firmware settings, read the note and click Restart now. If your PC can't do this, restart and press its firmware setup key instead.
- In the firmware settings, delete only the platform key (PK) as the steps say, save and exit. The PC restarts.
- Before Sovereign OS starts, a screen titled Enroll the Kinode keys? shows what it will write. db and KEK keep their entries and get the Kinode keys added. Press Y to write them. Press Esc to start without changes.
- A second screen, Last step: the platform key, asks to write the platform key. Press Y. This ends Setup Mode.
- A screen says The Kinode keys are enrolled. Press Enter to restart, or F (when offered) to restart into the firmware settings.
- If Secure Boot didn't come on by itself, open the firmware settings and follow the last group of steps, Turn Secure Boot on. Save and exit.
- Back in Sovereign OS, Device security says "Secure Boot is on and trusts Sovereign OS."
If you press nothing on the screen in step 6, the PC starts without changes after 60 seconds. If the screen offers N, pressing it starts without changes and stops asking on this PC.
The PC maker's keys stay in place, so other systems and the firmware of graphics and network cards keep working.
Turn on Secure Boot during installation
System Setup has a Secure Boot step when Secure Boot is off:
- Choose Turn on Secure Boot after installing. Setup saves a copy of the PC's keys on the new system drive and shows the steps.
- Finish the installation.
- On the last page, Setup shows the steps again. Click Restart to firmware settings (or Restart, then press the setup key).
- Continue from step 5 of the section above.
If you are not sure, choose Skip this for now (most people). You can do it later from Settings.
Add the Kinode key in the firmware by hand
Many firmware screens can add a key from a file. This works without Setup Mode:
- Start the PC with the Sovereign OS USB stick plugged in, and open the firmware settings.
- Find the Secure Boot key management page. You may need to switch Secure Boot to Custom mode first.
- Choose db, then the option to append or add a key from a file. It is often called "Append key" or "Enroll signature".
- Pick
EFI\KINODE\KINODE-ROOT.CERon the USB stick. Keep the entries that are already there. - Turn Secure Boot on, save and exit.
Use the enroll program on the stick
The USB stick also has a program that enrolls the keys before anything is installed:
- Put the firmware in Setup Mode (delete the platform key, or choose "Reset to Setup Mode").
- Start
EFI\KINODE\ENROLL.EFIfrom the stick, if your firmware has a way to start a file. The program is called Enroll the Kinode key. - It shows the same screens as above. Press Y to confirm each step.
- When it says the keys are enrolled, restart, open the firmware settings and turn Secure Boot on.
A copy of the firmware's keys made from a live session is lost when you turn the PC off. If you can, set up Secure Boot from the installed system instead.
Undo it
To turn Secure Boot off again, or go back to the PC maker's factory keys, use the Secure Boot page of the firmware settings. The option is often called Restore Factory Keys or Reset All Keys. The steps Sovereign OS shows end with the exact way for your PC.
If something goes wrong
- "The keys could not be written." The firmware refused. Secure Boot stays off and the PC starts as before. Add the key by hand (above).
- "The firmware is not in Setup Mode." Delete only the platform key in the firmware settings and try again.
- "The Kinode keys are in db, but the platform key is not written yet." Restart and press Y when asked about the platform key.
- The PC won't start after turning Secure Boot on. Turn Secure Boot off in the firmware settings. Sovereign OS starts as before. See Boot problems.
- More on the Device security page: Privacy and security.
Still stuck? Search the help center or contact support.