Skip to content

Commit 63fa1fe

Browse files
authored
Revise LUKS recovery key instructions in README
Updated instructions for adding a recovery key to a LUKS partition using `systemd-cryptenroll` and `/dev/disk/by-designator/root-luks` No need to use `/dev/disk/..`
1 parent c112ea6 commit 63fa1fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ the installation.
204204

205205
systemd doesn't support adding a recovery key to a partition enrolled with a token
206206
only (tpm/fido2). It is possible to use cryptenroll to add a recovery password
207-
to the root partition: `cryptsetup luksAddKey --token-type systemd-tpm2 /dev/<id>`
207+
to the root partition: `systemd-cryptenroll --unlock-tpm2-device auto --recovery-key /dev/disk/by-designator/root-luks`
208208

209209
## Firmwares
210210

0 commit comments

Comments
 (0)