1. Prerequisites
Ensure cryptsetup and LVM are installed and working.
2. Initrd
Example (adjust modules and UUIDs):
mkinitrd -c -k $(uname -r) -m ext4 -u -L
3. Bootloader
Update LILO/GRUB with the new initrd.
4. Verify
Reboot and verify LUKS unlock and LVM activation.
Quick checklist
[ ] Steps completed
[ ] Config updated
[ ] Service tested
[ ] Restart/rollback ready
[ ] Logs checked