Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Crypto interlude when installing (after partitioning, before formatting).
- #
- # cryptsetup luksFormat /dev/sda1
- # cryptsetup luksOpen /dev/sda1 cryptroot
- # mkfs.ext4 -L nixos /dev/mapper/cryptroot
- #
- # Resume formatting, and obviously, do not format the root partition.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement