cachyos-eac-kernel-bin
Repackages the CachyOS Easy Anti-Cheat Linux v2 boot chain unchanged:
| From CachyOS | Installed to |
|---|---|
linux-cachyos-eac (kernel + signed modules) |
/lib/modules/<ver>-cachyos-eac/ (kernel at vmlinuz) |
systemd-boot-cachyos-signed |
/usr/lib/cachyos-eac/systemd-bootx64.efi.signed |
cachyos-eac-signing-key (CachyOS EAC CA) |
/usr/share/cachyos-eac/, /var/lib/sbctl/keys/custom/db/ |
eac-status from cachyos-settings |
/usr/sbin/eac-status (ESP lookup patched to eac-boot esp) |
The kernel is not handled by installkernel or uefi-mkconfig, and nothing is re-signed. A second signature, or a kernel started without the CachyOS-signed systemd-boot, fails the EAC checks.
eac-boot
| Command | Does |
|---|---|
eac-boot enroll |
rewrites the Secure Boot db as: your sbctl db key, the Microsoft certificates, the CachyOS EAC CA |
eac-boot setup [bootnum] |
update, then creates the CachyOS EAC firmware entry and puts it at the end of BootOrder; bootnum (4 hex digits) replaces the entry with that number |
eac-boot update |
dracut initramfs, kernel and systemd-boot to the ESP, writes the loader entry |
eac-boot boot |
sets BootNext to the EAC entry and reboots |
eac-boot cmdline |
prints the EAC entry's kernel command line |
eac-boot esp |
prints the ESP mount point |
ESP layout (same as CachyOS with Limine, which eac-status checks):
<esp>/<machine-id>/linux-cachyos-eac/{vmlinuz,initramfs}
<esp>/EFI/cachyos-eac/systemd-bootx64.efi
<esp>/loader/loader.conf
<esp>/loader/entries/cachyos-eac.conf
Settings:
EAC_ESP: ESP mount point. Default: the first vfat mount of/efi,/boot/efi,/boot./etc/kernel/cmdline: base kernel command line. Default:/proc/cmdline. The EAC options are appended.
After the first setup, every package update runs eac-boot update from
pkg_postinst.
One-time setup
eac-boot enroll: the db needs your ownDatabase Key, the Microsoft certificates andCachyOS EAC CA. It is written with your sbctl KEK, so Setup Mode is not needed. Do not usesbctl enroll-keys --append: it adds every key again, and the firmware keeps the duplicates.sbctl list-enrolled-keysprints the issuer of each certificate, so some names appear twice in a correct db.- Your normal kernels must be signed with the sbctl db key. With
USE=securebootand noSECUREBOOT_SIGN_KEY, secureboot.eclass already uses/var/lib/sbctl/keys/db/db.key. Check withsbverify --list <esp>/EFI/Gentoo/<kernel>.efi. eac-boot setup [bootnum]. The entry goes to the end of BootOrder: firmware boot menus (F12) only list BootOrder entries, and at the end it never boots by default.eac-boot bootstarts it once through BootNext.- Have the BitLocker recovery key of the Windows disk ready, then enable Secure Boot in the firmware.
eac-boot boot, theneac-statusinside the EAC boot. Every check has to be[ OK ].
The next normal reboot starts the default entry again.
Not available in the EAC boot
- Modules not built by CachyOS: bcachefs, kvmfr and anything built by linux-mod-r1.
- Lockdown integrity blocks MSR writes,
/dev/memand hibernation.
Bumping
CachyOS removes old packages from the mirror. Rename the ebuild to the new kernel
<pkgver>_p<pkgrel>, update SDBOOT_PV, KEY_PV and SETTINGS_PV from
https://mirror.cachyos.org/repo/x86_64/cachyos/, then run ebuild <file> manifest.