# Calamares Uses LUKS1 When Encrypting Partitions in New Installations

**URL:** <https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541>\
**Category:** EndeavourOS installation\
**Created:** [August 13, 2021, 2:25pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541 "2021-08-13T14:25:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Feakster](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/feakster/32/24784_2.png) [@Feakster](https://forum.endeavouros.com/u/Feakster)\
**Post date:** [August 13, 2021, 2:25pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/1 "2021-08-13T14:25:10Z")

</div>

Should Calamares be set to use LUKS2 now when encrypting partitions? GRUB gained support for LUKS2 back in January:

> **[GRUB Boot Loader Adds Support For LUKS2 Encrypted Disks](https://www.phoronix.com/news/GRUB-Boots-LUKS2-Disk-Encrypt)**
>
> The GRUB boot-loader has finally merged support for dealing with LUKS2 encrypted disks.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [August 13, 2021, 2:31pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/2 "2021-08-13T14:31:27Z")

</div>

That would cause some havoc for people who use grub to boot multiple distros since that version of grub won’t be present on other distros for some time.

---

<div class="post-metadata">

**Author:** ![marteng69](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@marteng69](https://forum.endeavouros.com/u/marteng69)\
**Post date:** [August 13, 2021, 3:49pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/3 "2021-08-13T15:49:13Z")

</div>

Might there be the possibility that in calamares I can choose which version of LUKS is used?  
I only install EOS on my machines (sometimes together with Windows 🙈) and will not get in trouble with grub.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [August 13, 2021, 5:17pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/4 "2021-08-13T17:17:38Z")

</div>

basically it needs only to change the luks command from luks to luks2 … so should be possible to change this on the run for calamares…

---

<div class="post-metadata">

**Author:** ![otherbarry](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/otherbarry/32/10801_2.png) [@otherbarry](https://forum.endeavouros.com/u/otherbarry)\
**Post date:** [August 14, 2021, 5:30am UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/5 "2021-08-14T05:30:44Z")

</div>

Originally the `cryptsetup luksFormat` in Calamares did not specify a luks type.

The release of cryptsetup 2.0 changed the _default_ from luks1 to luks2, which lead to broken installs because grub was unable to decrypt a luks2 container.

Calamares _eventually_ patched with `cryptsetup luksFormat --type luks1` .

Now grub supports luks2 decryption, after it being in the dev queue for _years_, but the type is probably still explicitly luks1 in Calamares.

This is not necessarily a bad thing. Not all distros would have the new grub, particularly Debian based distros, and luks1 is still solid.

Maybe when Debian 11 is released a change to Calamares could be done? Either omit a specific type and use the cryptsetup default (now luks2), or allow a choice of luks container type.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [August 14, 2021, 10:58am UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/6 "2021-08-14T10:58:12Z")

</div>

> <https://github.com/calamares/calamares/issues/1099>
>
> \*\*Describe the bug\*\*
> Currently you will hit issues when \*\*cryptsetup 2.1\*\* is n…ot set to use \*\*luks1\*\* still as default. \*\*grub\*\* and other bootloaders still relay on \*\*luks1\*\* for now.
> 
> \*\*To Reproduce\*\*
> Steps to reproduce the behavior:
> 1. Use an install media like \*\*Manjaro 18.0.3\*\* and try to install with encryption
> 2. You will land in a rescue shell as \*\*grub\*\* don't support \*\*luks2\*\* for \`/boot\`
> 
> \*\*Expected behavior\*\*
> When \*\*cryptsetup 2.1\*\* is detected, we have to use \`--type luks1\` to explicitly use \*\*luks1\*\* for \`/boot\` encryption until \*\*grub\*\* might adopt \*\*luks2\*\* support.
> 
> \*\*Screenshots and Logs\*\*
> 
> !\[fd74a7a1c8174229b3758e9f2b72ed1f3b59d294\_2\_690x335\](https://user-images.githubusercontent.com/5050022/53297979-da117280-3826-11e9-9ba1-fe1d2f2827e3.jpeg)
> 
> \*\*Additional context\*\*
> See also \[release notes\](https://gitlab.com/cryptsetup/cryptsetup/blob/master/docs/v2.1.0-ReleaseNotes) from \*\*cryptsetup\*\*.

> <https://github.com/calamares/calamares/issues/1306>
>
> Hi. We are a downstream privacy distro (WhonixOS) using Calamares. Can you pleas…e add support for LUKS2 volume creation? Grub has started o support it recently. The new format should provide superior protection from passphrase bruteforce attacks.
> 
> https://www.phoronix.com/scan.php?page=news\_item&px=GRUB-Boots-LUKS2-Disk-Encrypt
> 
> cc/ @adrelanos

i do not read all of this … but this should give the needed information…

---

<div class="post-metadata">

**Author:** ![marteng69](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@marteng69](https://forum.endeavouros.com/u/marteng69)\
**Post date:** [August 14, 2021, 9:26pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/7 "2021-08-14T21:26:45Z")

</div>

> [@joekamprad](#):
>
> i do not read all of this .. but this should give the needed information..

I did not read all but many of the posts. They are still discussing if an option to switch from LUKS1 to LUKS2 for cryptsetup should be included or not.

---

<div class="post-metadata">

**Author:** ![otherbarry](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/otherbarry/32/10801_2.png) [@otherbarry](https://forum.endeavouros.com/u/otherbarry)\
**Post date:** [August 15, 2021, 12:33am UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/8 "2021-08-15T00:33:20Z")

</div>

I agree with this statement.

> [@](#):
>
> forcing PBKDF2 actually nullifies one of the two purported advantages of LUKS2, so I am not convinced that it is worth jumping the gun on LUKS2 just now. IMHO, it makes more sense to wait for full GRUB support including Argon2i and to default to LUKS1 for now.

Until _full_ LUKS2 grub support is implemented the proposed benefits …

> [@](#):
>
> LUKS2 volume creation … should provide superior protection from passphrase bruteforce attacks.

are negligible.

EDIT :

Reading up on Arch Wiki and grub is definitely not ready for mainline luks2 usage.

[https://wiki.archlinux.org/title/GRUB#LUKS2](https://wiki.archlinux.org/title/GRUB#LUKS2)

Aside from no argon2 support … grub-install won’t support unlocking luks2 containers OOTB.

> [@](#):
>
> grub-install does not support creating a core image that could be used for unlocking LUKS2  
> …  
> Use grub-install as described in the #Installation section. However, the generated EFI binary does not support LUKS2 and needs to be replaced.

Yeah, nah.

---

<div class="post-metadata">

**Author:** ![Nyan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/nyan/32/136741_2.png) [@Nyan](https://forum.endeavouros.com/u/Nyan)\
**Post date:** [December 26, 2025, 6:18pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/9 "2025-12-26T18:18:32Z")

</div>

Is this still an issue?  
If grub-install supports PBKDF2 its totally fine to use, but I am not sure if it can be specified tru Calamares.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [December 26, 2025, 6:19pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/10 "2025-12-26T18:19:50Z")

</div>

> [@Nyan](#):
>
> Is this still an issue?

If you choose systemd-boot, we are using luks2. If you choose grub, luks1.

Does the current grub in Arch support argon2 now?

---

<div class="post-metadata">

**Author:** ![Nyan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/nyan/32/136741_2.png) [@Nyan](https://forum.endeavouros.com/u/Nyan)\
**Post date:** [December 26, 2025, 7:09pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/11 "2025-12-26T19:09:05Z")

</div>

> [@dalto](#):
>
> Does the current grub in Arch support argon2 now?

According to [arch wiki](https://wiki.archlinux.org/title/GRUB#LUKS2):

```auto
This article or section is out of date.

Reason: Grub 2.14rc1 supports the Argon2i and Argon2id PBKDFs. See upstream commit. (Discuss in Talk:GRUB#grub 2:2.14rc1 added support for LUKS2 + argon2 encryption.)

```

And GRUB in repos is:

`core/grub 2:2.14rc1.r54.g29f3131a-2`

So I assume it is solved?

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [December 27, 2025, 7:19pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/12 "2025-12-27T19:19:25Z")

</div>

> **[\[PATCH 2/5\] argon2: Import Argon2 from cryptsetup](https://mail.gnu.org/archive/html/grub-devel/2020-02/msg00006.html)**

[patches from 2020](https://lists.gnu.org/archive/html/grub-devel/2020-02/msg00039.html) where some Argon2 code was imported just for header parsing, and in August 2025 a patch that adds `grub_crypto_argon2()` that references libgcrypt support), but not really any _Argon2 KDF implementation for LUKS2 to unlock at boot in mainline GRUB_ ?

> **[\[PATCH v4 00/13\] Support Argon2 KDF](https://mail.gnu.org/archive/html/grub-devel/2025-09/msg00020.html)**

> **[\[PATCH 2/7\] argon2: Introduce grub\_crypto\_argon2()](https://lists.gnu.org/archive/html/grub-devel/2025-07/msg00292.html)**

> **[\[PATCH v2 7/9\] disk/luks2: Add Argon2 support](https://lists.gnu.org/archive/html/grub-devel/2025-08/msg00032.html)**

And this:  
[https://www.phoronix.com/forums/forum/software/general-linux-open-source/1524062-grub-continues-working-toward-its-next-release-in-2025](https://www.phoronix.com/forums/forum/software/general-linux-open-source/1524062-grub-continues-working-toward-its-next-release-in-2025)

May i was not researching deep like vbery deep but looks like there are patches and stuff but no release including such?

also Archwiki talk:

> I was able to confirm that I works on my system. I added an “out of date” note and I think we could remove most gotchas for LUKS2, but I’m wary about doing it now since it’s still in a RC and there are not many user confirmations that it works. —\> [https://wiki.archlinux.org/title/Talk:GRUB#grub\_2:2.14rc1\_added\_support\_for\_LUKS2\_+\_argon2\_encryption](https://wiki.archlinux.org/title/Talk:GRUB#grub_2:2.14rc1_added_support_for_LUKS2_+_argon2_encryption).

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [January 3, 2026, 5:11pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/13 "2026-01-03T17:11:55Z")

</div>

I just did some testing and it doesn’t seem like the current version of grub in the Arch repos is supporting luks2/argon2id yet.

---

<div class="post-metadata">

**Author:** ![Nyan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/nyan/32/136741_2.png) [@Nyan](https://forum.endeavouros.com/u/Nyan)\
**Post date:** [January 3, 2026, 11:51pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/14 "2026-01-03T23:51:49Z")

</div>

Does EOS installer use argon2 with luks2? 🤔

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [January 3, 2026, 11:52pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/15 "2026-01-03T23:52:38Z")

</div>

> [@Nyan](#):
>
> Does EOS installer use argon2 with luks2? 🤔

Yes

---

<div class="post-metadata">

**Author:** ![Nyan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/nyan/32/136741_2.png) [@Nyan](https://forum.endeavouros.com/u/Nyan)\
**Post date:** [January 3, 2026, 11:52pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/16 "2026-01-03T23:52:53Z")

</div>

Current installer should use LUKS2 when systemd-boot chosen?

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [January 3, 2026, 11:53pm UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/17 "2026-01-03T23:53:04Z")

</div>

> [@Nyan](#):
>
> Current installer should use LUKS2 when systemd-boot chosen?

Yes

---

<div class="post-metadata">

**Author:** ![Nyan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/nyan/32/136741_2.png) [@Nyan](https://forum.endeavouros.com/u/Nyan)\
**Post date:** [January 4, 2026, 1:41am UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/18 "2026-01-04T01:41:16Z")

</div>

Can you share how you testing this? Because currently I am struggling to install grub on systemd-boot EOS installation 😅  
It also seems that GRUB and systemd-boot EOS installation ending in mounting EFI partition in different places, is this desired behavior? joekamprad

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [January 4, 2026, 1:55am UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/19 "2026-01-04T01:55:02Z")

</div>

> [@Nyan](#):
>
> Can you share how you testing this?

The quickest way is to do a grub install and then convert luks 1 to luks 2 and change the key to be argon2. This is quick and easy.

However, you can also start with systemd-boot and convert to grub, it is just more work that way.

> [@Nyan](#):
>
> It also seems that GRUB and systemd-boot EOS installation ending in mounting EFI partition in different places, is this desired behavior?

Yes, it is deliberate. The reason is that people who use grub expect the ESP to be mounted at `/boot/efi`. However, outside of grub, this doesn’t make a lot of a sense so for systemd-boot we use the more standard `/efi`.

---

<div class="post-metadata">

**Author:** ![Nyan](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/nyan/32/136741_2.png) [@Nyan](https://forum.endeavouros.com/u/Nyan)\
**Post date:** [January 4, 2026, 3:25am UTC](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541/20 "2026-01-04T03:25:16Z")

</div>

I noticed that grub install also creates key file in root fs, to avoid linux asks for key second time. Does it means that grub does not load initramfs image same way as systemd-boot does?

[Next page](https://forum.endeavouros.com/t/calamares-uses-luks1-when-encrypting-partitions-in-new-installations/16541.md?page=2)
