aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authordrduh <doc@duh.to>2018-06-13 19:58:22 -0700
committerGitHub <noreply@github.com>2018-06-13 19:58:22 -0700
commitd07007a3685cb8db9b103de58a2d946664d13887 (patch)
tree2928866fa0cfaa57e23307ec802ff41562e8f6f7 /README.md
parentFormatting fix. (diff)
downloadYubiKey-Guide-d07007a3685cb8db9b103de58a2d946664d13887.tar.gz
Fix up some formatting
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0b612a3..c0399d1 100644
--- a/README.md
+++ b/README.md
@@ -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