Skip to content

Instantly share code, notes, and snippets.

View brianwoo's full-sized avatar

Brian Woo brianwoo

View GitHub Profile
@flbuddymooreiv
flbuddymooreiv / cryptsetupluks.md
Last active February 20, 2025 19:34
CryptSetup / LUKS cheat sheet
# Install the tools
apt-get install cryptsetup

# -y for password confirmation prompt
cryptsetup -y -v luksFormat /dev/sdx # THIS DELETES ALL THE DATA

# Open it and look at status
cryptsetup luksOpen /dev/sdx cryptoblock
cryptsetup -v status cryptoblock