Full Disk Encryption: Difference between revisions
imported>DVcWmsbFziLBuYvvtHcy use proper highlighting syntax, remove outdated nix syntax warning, random instead urandom |
imported>Thibaultmol I think 'partition' was meant here instead of 'disk' |
||
Line 119: | Line 119: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# format the | # format the partition with the luks structure | ||
cryptsetup luksFormat /dev/sda4 | cryptsetup luksFormat /dev/sda4 | ||
# open the encrypted partition and map it to /dev/mapper/cryptroot | # open the encrypted partition and map it to /dev/mapper/cryptroot |