Skip to main content
100%

Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks

✓ Published0🌍 Public
Aadkdev
Last edited Dec 3, 2016
Created on Sep 8, 2017

This example shows a step-by-step shell-command walkthrough for installing Arch Linux on a UEFI NVMe system with full-disk encryption via dm-crypt and LUKS. The text documents partitioning with cgdisk, formatting the EFI and encrypted volumes, creating LVM logical volumes, configuring mkinitcpio hooks, and setting up systemd-boot with an encrypted root and resume partition. It references commands like `cryptsetup`, `pvcreate`, `vgcreate`, `lvcreate`, `genfstab`, `pacstrap`, and `bootctl`, and includes a bootloader entry with a `cryptdevice=UUID=` kernel parameter pointing to the raw encrypted partition. The gist presents the procedure as a linear series of console commands, with comments explaining each step’s purpose.

AI-generated description

Similar vizzes