# Encrypted boot, root with swap fails

**URL:** <https://forum.endeavouros.com/t/encrypted-boot-root-with-swap-fails/906>\
**Category:** EndeavourOS installation\
**Created:** [August 10, 2019, 4:39pm UTC](https://forum.endeavouros.com/t/encrypted-boot-root-with-swap-fails/906 "2019-08-10T16:39:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gummybear](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/g/848f3c/32.png) [@gummybear](https://forum.endeavouros.com/u/gummybear)\
**Post date:** [August 10, 2019, 4:39pm UTC](https://forum.endeavouros.com/t/encrypted-boot-root-with-swap-fails/906/1 "2019-08-10T16:39:43Z")

</div>

Hello, and thank you for this OS.

Have tried with a blank SSD, and with MBR and partition, and it fails when creating the swap, I think it is. A big pop-up pops up, with that it did, but with an error. Using “erase disk”.

Edit: From Github [https://github.com/calamares/calamares/issues/1196](https://github.com/calamares/calamares/issues/1196)

> Based on your log you are still using **3.2.10**. Well, we updated to **3.2.11** and changed the whole setup of encryption. Please redo your tests and report back if the issue is still given. You may use **18.1-rc5** install medias from Manjaro, which provide the latest **CAL** already.

Is the stable using Calmares 3.2.11?

---

<div class="post-metadata">

**Author:** ![fernandomaroto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/fernandomaroto/32/54_2.png) [@fernandomaroto](https://forum.endeavouros.com/u/fernandomaroto)\
**Post date:** [August 10, 2019, 4:55pm UTC](https://forum.endeavouros.com/t/encrypted-boot-root-with-swap-fails/906/2 "2019-08-10T16:55:36Z")

</div>

Hi!  
Indeed the july’s iso uses 3.2.10. The august one will bring version 3.2.11 but the bug remains, so it’s still not possible to install swap + encryption.

The bug appears at least in arch-based distros (arcolinux, endeavour), since manjaro compile it’s own packages is possible that they no longer have the issue.

---

<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 10, 2019, 5:27pm UTC](https://forum.endeavouros.com/t/encrypted-boot-root-with-swap-fails/906/3 "2019-08-10T17:27:29Z")

</div>

on my 1000 testings i can see that if you crate swap manually, before install and swapon you can install encrypted, but swap will not be encrypted then 😉 Also working mostly if you do manual partition and create the swap there… the issue is that encryption work only if you encrypt one device.  
The only test i do not do is to create swap before and encrypt it outside installer beforehand…

---

<div class="post-metadata">

**Author:** ![gummybear](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/g/848f3c/32.png) [@gummybear](https://forum.endeavouros.com/u/gummybear)\
**Post date:** [August 10, 2019, 7:50pm UTC](https://forum.endeavouros.com/t/encrypted-boot-root-with-swap-fails/906/4 "2019-08-10T19:50:18Z")

</div>

Thank you! It’s easy to fix. Create the main partition and a swap partition in Gparted, choose linux-swap for it. ‘sudo swapon’ /dev/sda2’ in a terminal after quitting Gparted. Calamares will add the swap to fstab. Do ‘sudo swapoff /dev/sda2’ **after first boot** , and follow: [https://wiki.archlinux.org/index.php/Dm-crypt/Swap\_encryption#UUID\_and\_LABEL](https://wiki.archlinux.org/index.php/Dm-crypt/Swap_encryption#UUID_and_LABEL)

---

<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 10, 2019, 8:02pm UTC](https://forum.endeavouros.com/t/encrypted-boot-root-with-swap-fails/906/5 "2019-08-10T20:02:32Z")

</div>

i try this also but it was not working here, may i try again… would be good to have a solution for full encrypted install for notebooks.

---

<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 10, 2019, 9:04pm UTC](https://forum.endeavouros.com/t/encrypted-boot-root-with-swap-fails/906/6 "2019-08-10T21:04:42Z")

</div>

this is working here too now i have had a typo only… nice! but only with manual intervention ☹
