Added ArchSetup Signed-off-by: Aiden Gerbrandt <aiden.gerbrandt@entropic.pro>
1.4 KiB
1.4 KiB
Links: Arch
Secure Boot
If setting up secure boot with EndeavourOS, don't use the preset grub. do it from scratch. The wiki is wrong and your ${GRUB_MODULES} needs to be in ""
Steps
- Install grub following the shim-lock info
- If you do not have any drives with a ZFS filesystem, you should exclude the zfs* modules (As they require the ZFS DKMS Module)
- Move
grubx64.efiinto theesp/EFI/BOOTdirectory and ensure is has that name. - Follow the steps to setup shim (shim with key), including the mkinicpio hook to automatically sign the kernel on update.
- If you are using EndeavourOS, you will need to install
mkinitcpioand uninstalldracutandeos-dracut
- If you are using EndeavourOS, you will need to install
- Generate the GRUB config file
- If you are wanting to dual boot, install
os-proberand uncommentGRUB_DISABLE_OS_PROBER=falsein/etc/default/grubthen regenerate the config
- If you are wanting to dual boot, install
- Enable Secure Boot and import your MOK.cer into shim's MOK list.
Note: If you ever re-install the GRUB grubx64.efi file (to get a newer version of GRUB for example), make sure to do so with the modules as described above, and you will need to re-sign the file with sbsign.