Results 1 to 3 of 3

Thread: Installation with encrypted root fails

  1. #1

    Question Installation with encrypted root fails

    Hello,

    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

    cheers,
    -bn

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,673
    Blog Entries
    3

    Default Re: Installation with encrypted root fails

    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.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3

    Thumbs up Re: Installation with encrypted root fails

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •