- Install sbctl
- Create and enroll keys
- Add kernel install config and hook
- Copy
install.confto/etc/kernel - Copy
999-efibootmgr.installto/etc/kernel/install.d - Add
xbit:chmod +x /etc/kernel/install.d/999-efibootmgr.install
- Copy
- Configure dracut with your rootfs UUID and keys (from sbctl)
- Copy
uki.confto/etc/dracut.conf.d
- Copy
- Add additional modules to dracut, like bluetooth or tpm2 (optional)
- Remove grub2 (optional)
- Install a new kernel (even old one is fine). Do not re-install current kernel.
# sbctl status
Installed: ✓ sbctl is installed
Owner GUID: 6747b4ea-7d2f-4d4a-aaa5-2bb8d130271d
Setup Mode: ✓ Disabled
Secure Boot: ✓ Enabled
Vendor Keys: none
# sbctl verify
Verifying file database and EFI images in /boot...
✓ /boot/EFI/linux/linux_6.10.4-cb1.0.fc40.x86_64.efi is signed# tree /boot
/boot
├── EFI
│ ├── linux
│ │ └── linux_6.10.4-cb1.0.fc40.x86_64.efi
└── loader
└── random-seed