LUKS: Difference between revisions
Line 16: | Line 16: | ||
# Setup encryption | # Setup encryption | ||
cryptsetup -v luksFormat "${DEVICE}" | cryptsetup --type luks2 -v luksFormat "${DEVICE}" | ||
# Open encrypted drive to /dev/mapper/$NAME | # Open encrypted drive to /dev/mapper/$NAME |