Skip to content

Commit

Permalink
Fix shortcuts and address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoneybun committed Oct 10, 2023
1 parent f3d0e5a commit 6580e31
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions content/password.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ First, bring up the <u>systemd-boot</u> menu by holding down <kbd>SPACE</kbd> or

![systemd-boot](/images/password/systemd-boot.png)

Once the recovery operating system boots, close out of the installation window or choose **“try demo mode”** (be sure not to choose any install or repair options, as this could result in data loss).
Once the live disk boots move to a new workspace, to do this on Ubuntu use the Activities button in the top left and on Pop!\_OS use the Workspaces button in the top left (be sure not to choose any install or repair options in the installer window, as this could result in data loss).

### Ubuntu

If you are using Ubuntu we can boot from a live disk and [here](/articles/live-disk) are instructions for creating the live disk. Once the live disk has been created refer to this [article](/articles/boot-menu) for booting from the live disk.

#### Mounting the Installed OS

Press <kbd><font-awesome-icon :icon="['fab', 'pop-os']"></font-awesome-icon></kbd>/<kbd><font-awesome-icon :icon="['fab', 'ubuntu']"></font-awesome-icon></kbd>+<kbd>T</kbd> to open a terminal, and type in these commands:
On Pop!\_OS press <kbd><font-awesome-icon :icon="['fab', 'pop-os']"></font-awesome-icon></kbd>+<kbd>T</kbd> or on Ubuntu press <kbd><font-awesome-icon :icon="['fab', 'ubuntu']"></font-awesome-icon></kbd>+<kbd>Alt</kbd>+<kbd>T</kbd> to open a terminal, and type in these commands:

```bash
lsblk
Expand Down Expand Up @@ -104,23 +104,23 @@ Full Disk Encryption supports up to 8 total pass-phrases to unlock the encryptio

First let's list the partitions of all of the installed drives:

```
lsblk -f
```bash
lsblk -o name,mountpoints
```

The output may be different based on the drive setup and partition table. You can see the root partition at mountpoint '/'. From there we can use that output to run this command:

```
```bash
sudo cryptsetup luksDump /dev/sda3
```

Replacing '/dev/sda3' with the location of the root partition on your system. With the output of this command we can see the seven extra slots that we have for passwords to decrypt the drive. On a normal install Slots 1-7 are the open, with Slot 0 as the initial pass-phrase.
Replacing '/dev/sda3' with the location of the root partition on your system. With the output of this command we can see the seven extra slots that we have for passwords to decrypt the drive. On a normal install Slot 0 is the initial passphrase and you can add up to 6 more for a total of 7.

#### Set Extra Password

Following the partition scheme from the previous command we can form the next command to add a new key to the open Key Slot:

```
```bash
sudo cryptsetup luksAddKey /dev/sda3
```

Expand All @@ -130,7 +130,7 @@ This command will require the current encryption password before new password ca

Let's run this command again to confirm that the additional pass-phrase is set:

```
```bash
sudo cryptsetup luksDump /dev/sda3
```

Expand Down

0 comments on commit 6580e31

Please sign in to comment.