Installation with encrypted root fails


I tried to install OpenSuse Tumbleweed with an encrypted root on my work laptop.

At the start of the installation I get a message saying VOLUME_CRYPTSETUP_FAILED, if I continue, the installation works but I do have an encrypted root

I am using uefi, dual boot with windows 10, have no separate home partition just btrfs on a large root partition. Machine is an XPS13 late 2016 edition

Is this a known problem? and is there a way around it?

Thanks for any help or advice anyone can give


The openSUSE installer is not setup to support encrypted root.

However, it does support using an encrypted LVM, with the root file system as part of that LVM.

If you really want just encrypted root, there are two options:

(1) Go with an encrypted LVM, with only the root file system inside that LVM. That will be the easiest choice;

(2) For a pure encrypted root without LVM, you will have to:
(a) install unencrypted to a different partition;
(b) setup the encryption yourself (you can use Yast);
(c) copy the root partition to your encrypted partition;
(d) adjust “/etc/fstab” and “/etc/crypttab” accordingly.
(e) chroot into the encrypted partition, and rebuild the initrd;
(f) if you do not have a separate unencrypted “/boot”, then you will have to reinstall grub, and configure it to use encryption (“GRUB_ENABLE_CRYPTODISK=y” in /etc/default/grub).

It will be far easier to go with an encrypted LVM.

great, thanks very much for your response, I will give it a try