We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent facb5c4 commit 5f691c2Copy full SHA for 5f691c2
1 file changed
doc/switchroot.md
@@ -61,7 +61,8 @@ For more complex setups (LUKS, LVM, etc.):
61
62
```
63
# Unlock LUKS volume
64
-run [S] name:cryptsetup /sbin/cryptsetup open /dev/sda2 cryptroot -- Unlocking encrypted root
+# The tty:@console stanza is required so cryptsetup can prompt for a passphrase
65
+run [S] name:cryptsetup tty:@console /sbin/cryptsetup open /dev/sda2 cryptroot -- Unlocking encrypted root
66
67
# Activate LVM
68
run [S] name:lvm /sbin/lvm vgchange -ay -- Activating LVM volumes
0 commit comments