Repository navigation
v0.5.0
cleanlinux-install 0.5.0
--encrypt: the root partition becomes a LUKS2 container (cryptsetup luksFormat, argon2id, labelCleanLinux) with btrfs inside. It is opened as/dev/mapper/luks-<UUID>— the name the initramfs of the new system gives it — and fstab androot=use that name; the kernel command line getsrd.luks.uuid=<UUID>./etc/cleanlinux/initramfs.d/50-luks-root.conf(modules=dm-crypt,files=/usr/bin/cryptsetup) is written before the packages, so the kernel trigger already builds the initramfs (cleanlinux-boot), and the installer checks that it exists.- The passphrase comes from the terminal (asked twice) or
--encrypt-password-file F(-for stdin) and reaches cryptsetup on stdin as is — never printed, not even with--dry-run. The container is closed at the end (unless--keep-mounted). --target: the root may be an open LUKS container; the installer finds it through its device-mapper UUID (CRYPT-LUKS2-…) and sets up the same initramfs. Other encrypted filesystems are not opened at boot (no crypttab); LVM is not supported.- With
--packages,cryptsetupis added when the root is encrypted. - Needs cryptsetup ≥ 2.4 (LUKS2) on the running system; the initramfs (
rd.luks.uuid=) is in every cleanlinux-boot release.