Skip to content

Instantly share code, notes, and snippets.

@cho2
Created November 1, 2018 14:53
Show Gist options
  • Select an option

  • Save cho2/d60d9de0c54f58c2d09f06e357a15a8b to your computer and use it in GitHub Desktop.

Select an option

Save cho2/d60d9de0c54f58c2d09f06e357a15a8b to your computer and use it in GitHub Desktop.
cryptsetup luksOpen /dev/sda[n] cryptroot
fsck.ext4 -y -f /dev/mapper/cryptroot
cryptsetup luksClose cryptroot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment