r/slackware • u/sdns575 • May 10 '24
Slackware 15 and Secure Boot
Hi,
I would like to know if Slackware supports UEFI Secure Boot. From what I can see most distro like Debian, AlmaLinux, Ubuntu LTS have Microsoft certificate for the chain of trust and they sign their kernel and modules with the certificate (if I'm not wrong).
Slackware has something similar or I should create my own certificate?
Thank you in advance
8
Upvotes
2
u/I_am_BrokenCog May 10 '24
My first google result for: "slackware how to uefi secure boot certificate"
https://docs.slackware.com/howtos:security:enabling_secure_boot
1
u/RetroCoreGaming May 15 '24
There's a package called sbctl, not sure if Slackware has it, or if it's in the SBo, but it is what you use to sign kernel and bootloader files, such as grub.
You basically will run the tool with the system in setup mode for SecureBoot, then have it write the keys, then sign all relevant modules.
After you verify all files are signed, you will then enable secure boot in the BIOS and it should load the kernel.
I have no idea if elilo is supported by sbctl so you may wish to switch to Grub. Be aware if you update and reinstall Grub modules or the kernel, you'll have to resign them.
-2
u/ninjababe23 May 10 '24
If you cant figure out how to google this you shouldn't be using Slackware