USB encryption
Preparing the drive
Unmount the USB drive
root@squirrel~# umount /usbPrepare the partition for encryption
root@squirrel:~# cryptsetup luksFormat /dev/sda1 --type=luks1root@squirrel:~# cryptsetup luksFormat /dev/sda1 --type=luks1
WARNING!
========
This will overwrite data on /dev/sda1 irrevocably.
Are you sure? (Type 'yes' in capital letters): YES
Enter passphrase for /dev/sda1: Demodemo
Verify passphrase: DemodemoActivate the partition
Format the virtual encrypted disk
Close the encrypted disk
Enabling encrypted storage from a payload
Example encrypted payload
Last updated