Skip to content

Commit

Permalink
Add instruction to remove passphrase for LVM device
Browse files Browse the repository at this point in the history
  • Loading branch information
stigok committed May 9, 2018
1 parent ebe9768 commit aa6a389
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -376,6 +376,12 @@ Do the same for the *encrypted-lvm* partition

# cryptsetup luksAddKey /dev/nvme0n1p3 /etc/initcpio/keys/encrypted-lvm.key

Now that the LVM container has a keyfile attached, the passphrase used
initially when creating the LUKS container can **optionally** be removed
from the device.

# cryptsetup luksKillSlot /dev/nvme0n1p3 0 --keyfile /etc/initcpio/keys/encrypted-lvm.key

Create the initial ramdisk environment and make sure it doesn't return any errors.
Some warning may show, but errors should not occur.

Expand Down

0 comments on commit aa6a389

Please sign in to comment.