Encrypted partitions during install

Forum Forums Orphaned Posts antiX-17 “Heather Heyer, Helen Keller” Encrypted partitions during install

  • This topic has 4 replies, 3 voices, and was last updated May 10-1:49 pm by encrypt.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10104
    Member
    encrypt

      Managed to set up an encrypted /home partition on hdd post new-install using cryptsetup/crypttab. But would like to encrypt root, swap, and home partitions during install using lvm.

      I’ve seen the lvm setup post in Tips and Tricks and curious if anything was in the works for antix to have option to setup and encypt an lvm on hdd during install (similar to stock debian install)? And subsequently allow an OS re-install on encrypted root partition. cheers

      • This topic was modified 4 years, 12 months ago by encrypt.
      • This topic was modified 4 years, 12 months ago by encrypt.
      • This topic was modified 4 years, 12 months ago by encrypt.
      #10115
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        This is being considered and hopefully we can get it to work with our installer.

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #10120
        Member
        encrypt
          Helpful
          Up
          0
          ::

          thanks for the quick response and good to hear. found your distro to escape from debian/gnome bloat (specifically the dreaded gvfs), which really meant abandoning systemd. pleased to find antix, and easy enough hdd encyption post-install and packages like dnscrypt-proxy were forked. rig is fairly high-end, but no longer sounds like a helicopter after booting into the OS.
          many thanks

          another question: the installer recognized separate swap partition, but after hdd boot, while all commands show it is recognized, mounted, and on, the swap is never accessed (0 used), no matter the load. have plenty of ram, but thought this strange and raised swapiness (does this function in nosystemd OS?) to 100, ran some memory load tests, and still no swap access. a known issue?
          (since it does not appear to be called/accessed at all, haven’t bothered to encrypt the swap partition, so that is not a possible factor).
          cheers

          #10124
          Forum Admin
          dolphin_oracle
            Helpful
            Up
            0
            ::

            another question: the installer recognized separate swap partition, but after hdd boot, while all commands show it is recognized, mounted, and on, the swap is never accessed (0 used), no matter the load. have plenty of ram, but thought this strange and raised swapiness (does this function in nosystemd OS?) to 100, ran some memory load tests, and still no swap access. a known issue?
            (since it does not appear to be called/accessed at all, haven’t bothered to encrypt the swap partition, so that is not a possible factor).
            cheers

            that’s probably just fine. Even my MX box very rarely goes to swap, and its a bit heavier than my antiX setups. 1 one installed antiX netbook doesn’t even have a swap partition (and usually I just run antiX off the live-USB anyway).

            #10162
            Member
            encrypt
              Helpful
              Up
              0
              ::

              many thanks for the reply. but question is if it is/was a “known” issue. the swap is never accessed, under any condition. could be my rig, and will eliminate swap if there is no fix, but prefer to be certain before proceeding.

              btw, installed antiX 17 on single fully-encrypted volume group (one password at boot) and separate boot partition. the encrypted vg contains separate root, swap, and home volumes/partitions. create the encrypted vg and lvs using debian installer, mount vg and boot partition in antix live, copy/overwrite system files, then update grub and initramfs via chroot. the OS can be re-installed/upgraded without deleting/changing lvm.

              (using “base” version with no internet access on target, add lvm2 and dependencies (cryptsetup already incl) to usb first and install to root lv via dpkg.)

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.