Skip to content

Commit

Permalink
nixos manual: add grub option to avoid #21830
Browse files Browse the repository at this point in the history
Close #22659.  vcunat edited this slightly.
  • Loading branch information
vcunat committed Feb 11, 2017
1 parent 686d3fb commit d4bf624
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nixos/doc/manual/configuration/luks-file-systems.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit d4bf624

Please sign in to comment.