Skip to content

Instantly share code, notes, and snippets.

@NetworkJack2
Created March 4, 2026 21:53
Show Gist options
  • Select an option

  • Save NetworkJack2/21930376c3e62aa394f84cff454decdd to your computer and use it in GitHub Desktop.

Select an option

Save NetworkJack2/21930376c3e62aa394f84cff454decdd to your computer and use it in GitHub Desktop.
Archlinux mkinitcpio hooks for root encryption
#With software RAID(i.e. Desktop)
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap block mdadm_udev encrypt filesystems fsck)
#Without software RAID(i.e. Laptop)
HOOKS=(base udev autodetect microcode modconf kms keyboard keymap block encrypt filesystems fsck)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment