Skip to main content

Posts

Showing posts with the label UEFI

arch linux uefi with dm-crypt and uki

Arch Linux is known for its high level of customization, and configuring LUKS2 and LVM is a straightforward process. This guide provides a set of instructions for setting up an Arch Linux system with the following features: Root file system encryption using LUKS2. Logical Volume Management (LVM) for flexible storage management. Unified Kernel Image (UKI) bootable via UEFI. Optional: Detached LUKS header on external media for enhanced security. Prerequisites A bootable Arch Linux ISO. An NVMe drive (e.g., /dev/nvme0n1 ). (Optional) A microSD card or other external medium for the detached LUKS header. Important Considerations Data Loss: The following procedure will erase all data on the target drive. Back up any important data before proceeding. Secure Boot: This guide assumes you may want to use hardware secure boot. Detached LUKS Header: Using a detache...