Forum › Forums › Orphaned Posts › antiX-17 “Heather Heyer, Helen Keller” › Encrypted partitions during install
Tagged: cryptsetup, crypttab, encryption, hdd install
- This topic has 4 replies, 3 voices, and was last updated May 10-1:49 pm by encrypt.
-
AuthorPosts
-
May 8, 2018 at 3:32 pm #10104Member
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 5 years ago by encrypt.
- This topic was modified 5 years ago by encrypt.
- This topic was modified 5 years ago by encrypt.
May 9, 2018 at 3:49 am #10115Forum Admin
anticapitalista
::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.
May 9, 2018 at 8:58 am #10120Memberencrypt
::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 thanksanother 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).
cheersMay 9, 2018 at 9:52 am #10124Forum Admin
dolphin_oracle
::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).
cheersthat’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).
May 10, 2018 at 1:49 pm #10162Memberencrypt
::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.)
-
AuthorPosts
- You must be logged in to reply to this topic.