From f5faa661dbc729c606074eb71b26849a1b20b6a6 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Sun, 30 Dec 2018 08:07:37 -0800 Subject: [PATCH] add tags around various strings inside tags in lmde-3-disk-encryption --- lmde-3-disk-encryption/index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lmde-3-disk-encryption/index.html b/lmde-3-disk-encryption/index.html index e73f29b..84bc89a 100644 --- a/lmde-3-disk-encryption/index.html +++ b/lmde-3-disk-encryption/index.html @@ -77,7 +77,7 @@

@@ -106,7 +106,7 @@ sdb 8:32 1 14.5G 0 disk umount /dev/sdb1

  • write the disk image to the thumb drive
    - ddrescue -D --force lmde-3-201808-cinnamon-64bit.iso /dev/sdb + ddrescue -D --force lmde-3-201808-cinnamon-64bit.iso /dev/sdb
  • @@ -142,25 +142,25 @@ sdb 8:32 1 14.5G 0 disk sgdisk /dev/sda -o
  • create a new efi partition for /dev/sda
    - sgdisk /dev/sda --new=1::+512MiB --typecode=1:ef00 + sgdisk /dev/sda --new=1::+512MiB --typecode=1:ef00
  • create a new /boot partition for /dev/sda
    - sgdisk /dev/sda --new=2::+1G + sgdisk /dev/sda --new=2::+1G
  • create a new / partition for /dev/sda
    - sgdisk /dev/sda --new=3 + sgdisk /dev/sda --new=3
  • verify your partition work
    - sgdisk /dev/sda -p + sgdisk /dev/sda -p
  • format the efi partition
    - makefs.vfat -F32 /dev/sda1 + makefs.vfat -F32 /dev/sda1
  • format the /boot partition
    makefs.ext4 /dev/sda2
  • encrypt the / partition, you will be prompted for a password
    - cryptsetup -y -v luksFormat --type luks2 /dev/sda3 + cryptsetup -y -v luksFormat --type luks2 /dev/sda3
  • decrypt the / partition, you will be prompted for a password
    cryptsetup open /dev/sda3 cryptroot @@ -233,7 +233,7 @@ sdb 8:32 1 14.5G 0 disk blkid /dev/sda2 -s UUID
  • find the UUID of the "/" device
    - blkid /dev/mapper/cryptroot -s UUID + blkid /dev/mapper/cryptroot -s UUID