Created
January 23, 2013 11:57
-
-
Save petrkle/4604781 to your computer and use it in GitHub Desktop.
Crypt flashdisk + win partition.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cfdisk /dev/sdb | |
mkdosfs /dev/sdb1 | |
cryptsetup LuksFormat /dev/sdb2 | |
cryptsetup luksFormat /dev/sdb2 | |
cryptsetup luksOpen /dev/sdb2 flashdisk | |
mkfs.ext3 /dev/mapper/flashdisk | |
tune2fs -c 0 -r 0 -i 0 -L verbatim /dev/mapper/flashdisk | |
cryptsetup luksClose /dev/mapper/flashdisk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment