diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-02-11 12:47:15 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-02-11 12:47:15 +0100 |
commit | d4bf624f968fa7b94988080be231285a95ea2ce8 (patch) | |
tree | 3b38ef94631ba2fbf37d239049f3b2629c10e409 | |
parent | 686d3fb63fe9523fd7dc8e07d9ad73d0d80ebca8 (diff) | |
download | nixlib-d4bf624f968fa7b94988080be231285a95ea2ce8.tar nixlib-d4bf624f968fa7b94988080be231285a95ea2ce8.tar.gz nixlib-d4bf624f968fa7b94988080be231285a95ea2ce8.tar.bz2 nixlib-d4bf624f968fa7b94988080be231285a95ea2ce8.tar.lz nixlib-d4bf624f968fa7b94988080be231285a95ea2ce8.tar.xz nixlib-d4bf624f968fa7b94988080be231285a95ea2ce8.tar.zst nixlib-d4bf624f968fa7b94988080be231285a95ea2ce8.zip |
nixos manual: add grub option to avoid #21830
Close #22659. vcunat edited this slightly.
-rw-r--r-- | nixos/doc/manual/configuration/luks-file-systems.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/doc/manual/configuration/luks-file-systems.xml b/nixos/doc/manual/configuration/luks-file-systems.xml index 2062456703f7..00c795cd0898 100644 --- a/nixos/doc/manual/configuration/luks-file-systems.xml +++ b/nixos/doc/manual/configuration/luks-file-systems.xml @@ -37,6 +37,10 @@ boot.initrd.luks.devices.crypted.device = "/dev/disk/by-uuid/3f6b0024-3a44-4fde- fileSystems."/".device = "/dev/mapper/crypted"; </programlisting> +Should grub be used as bootloader, and <filename>/boot</filename> is located +on an encrypted partition, it is necessary to add the following grub option: +<programlisting>boot.loader.grub.enableCryptodisk = true;</programlisting> + </para> </section> |