diff options
author | drduh <doc@duh.to> | 2018-06-13 19:58:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 19:58:22 -0700 |
commit | d07007a3685cb8db9b103de58a2d946664d13887 (patch) | |
tree | 2928866fa0cfaa57e23307ec802ff41562e8f6f7 /README.md | |
parent | Formatting fix. (diff) | |
download | YubiKey-Guide-d07007a3685cb8db9b103de58a2d946664d13887.tar.gz |
Fix up some formatting
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -540,6 +540,7 @@ To create an encrypted USB drive, first attach it and check its label: [ 7668.879514] sd 8:0:0:0: [sde] Attached SCSI removable disk Check the size to make sure it's the right drive: + $ sudo fdisk -l | grep /dev/sde Disk /dev/sde: 30 GiB, 32245809152 bytes, 62980096 sectors /dev/sde1 2048 62980095 62978048 30G 6 FAT16 @@ -562,6 +563,7 @@ Erase and create a new partition table: Syncing disks. Remove and reinsert the USB drive, then create a new partition, selecting defaults: + $ sudo fdisk /dev/sde Welcome to fdisk (util-linux 2.25.2). @@ -596,10 +598,12 @@ Use [LUKS](https://askubuntu.com/questions/97196/how-secure-is-an-encrypted-luks Verify passphrase: Mount the partition: + $ sudo cryptsetup luksOpen /dev/sde1 encrypted-usb Enter passphrase for /dev/sde1: Create a filesystem: + $ sudo mkfs.ext4 /dev/mapper/encrypted-usb -L encrypted-usb mke2fs 1.42.12 (29-Aug-2014) Creating filesystem with 7871744 4k blocks and 1970416 inodes |