[PATCH] doc: Fix section on LUKS support.

  • Done
  • quality assurance status badge
Details
2 participants
  • Christopher Baines
  • Fabio Natali
Owner
unassigned
Submitted by
Fabio Natali
Severity
normal

Debbugs page

Fabio Natali wrote 1 years ago
(address . guix-patches@gnu.org)(name . Fabio Natali)(address . me@fabionatali.com)
c4ef4fc0cbb98d550dd0bc7244354996b281d12e.1709374876.git.me@fabionatali.com
* doc/guix.texi (Keyboard Layout, Networking, and Partitioning)[Disk
Partitioning]: Fix section on LUKS support.

Only LUKS1 is supported in Guix at the time of this commit. Contrarily to what
reported in previous versions of this section, LUKS2 is not supported.
---
Hi! 👋

Documentation micro-fix as per this email thread⁰.

I hope it's ok, cheers, Fabio.


doc/guix.texi | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

Toggle diff (37 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index f6476e0d81..0b4ba7e5bf 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2727,20 +2727,20 @@ Keyboard Layout and Networking and Partitioning
@code{man cryptsetup}} for more information).
@quotation Warning
-Note that GRUB can unlock LUKS2 devices since version 2.06, but only
-supports the PBKDF2 key derivation function, which is not the default
-for @command{cryptsetup luksFormat}. You can check which key derivation
-function is being used by a device by running @command{cryptsetup
-luksDump @var{device}}, and looking for the PBKDF field of your
-keyslots.
+While efforts are in progress to extend support to LUKS2, please note
+that Guix only supports devices of type LUKS1 at the moment. You can
+verify that your existing LUKS device is of the right type by running
+@command{cryptsetup luksDump @var{device}}. Alternatively, you can
+create a new LUKS1 device with @command{cryptsetup luksFormat --type
+luks1 @var{device}}.
@end quotation
Assuming you want to store the root partition on @file{/dev/sda2}, the
-command sequence to format it as a LUKS2 partition would be along these
+command sequence to format it as a LUKS1 partition would be along these
lines:
@example
-cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2
+cryptsetup luksFormat --type luks1 /dev/sda2
cryptsetup open /dev/sda2 my-partition
mkfs.ext4 -L my-root /dev/mapper/my-partition
@end example

base-commit: 4a0549be52f3f46fbce61342d8de30f7b83130c5
--
2.41.0
Christopher Baines wrote 12 months ago
(name . Fabio Natali)(address . me@fabionatali.com)
871q8cudih.fsf@cbaines.net
Fabio Natali via Guix-patches via <guix-patches@gnu.org> writes:

Toggle quote (17 lines)
> * doc/guix.texi (Keyboard Layout, Networking, and Partitioning)[Disk
> Partitioning]: Fix section on LUKS support.
>
> Only LUKS1 is supported in Guix at the time of this commit. Contrarily to what
> reported in previous versions of this section, LUKS2 is not supported.
> ---
> Hi! 👋
>
> Documentation micro-fix as per this email thread⁰.
>
> I hope it's ok, cheers, Fabio.
>
> ⁰ https://lists.gnu.org/archive/html/guix-devel/2024-03/msg00000.html.
>
> doc/guix.texi | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)

Thanks! I've pushed this to master as
3bd795bc5736a81adc586da80c67107dd8f64384.

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmXzARZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xfv8Q//WqxCxe2+0KZFRkAZ3wkiisDp/fXTh7Id
kS218O9DkzXee2wI3+LCwjcZG61xgFpoDrUiYlKLYd/ov5fEo59ma6N5hc+MnM7E
q8q1F3cATSc5pO39kRCyP1FaEh1I1m+Y6YByju8EtE6UDq4HLBCegcFIW7LQqPWo
E1lUqogMzS6AaFSl6JM/1sA8bjFwoLWIe0hlKHLqNKiw5RK8V7W0EUd4jaGdWRBF
mWTkECIAPE+c7wIyw8dnvlB18Lcr4en7L+KX8D5UDTsmqzF9YvxwoeMU8Wo8X5it
pv/i9JR1DXh5DgJrSxs5wbEDC0VpNo28+KmormPryVgYf+nKsgSRLGUN0hrhygI9
77Cu2s/0aoj1IK2QXL2vxTrFuXXTi9yRofEyS1XjLNhA4E05CH/cehdHYSCQ9+XU
oPgSpsrdoQnoR9liyEbmont/NTb36pSGmJe+ueNo4sZnedsBF1nU9TVUY3pc4K0q
4QQr1eQ4KDPMH9JwOgOcf8xO13S7++8s8sXM/7SgA9+pI+0AIOYTVHxm65bhIxTD
4LW8TgkMd6SgHm0OpqDpj0aFopd7mz5vu2pNGlUouaRZoB59Y+TjFJCVhYloqeRJ
ScV4Q+SY0WDWQeV5QJnyE09yAQsOb1GLF3/nq0wtPBZFJVrCe5BnzMWeADSFG84M
XhKzQrgyceI=
=k8S7
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 69507@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 69507
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help