JayM wrote: Sun Jul 19, 2020 9:22 pm
The only thing I can think of that
might work is if you did an
unencrypted installation over an encrypted one, and
if the installer prompts you for the decryption password so it can unlock the LUKS volume and access the partitions. But I haven't had the guts to try it.
This might work, but!, you’d have to be really careful to save all the existing crypttab, fstab, LUKS bits somewhere on the Live USB so you could re-create them just before you rebooted after the install was finished. Like you, not sure if I have the guts to try that, I see either sitting 5+ hours waiting for a dd to re-image the drive or doing the whole install from scratch again...
JayM wrote: Mon Jul 20, 2020 12:02 am
… if /home is on a separate partition rather than being in the root partition you
may be able to reuse it and its existing encryption (don't check the box to encrypt it again.) I think though that after installation while still running from the live USB you'll have to manually add a keyfile to the /home LUKS volume then manually edit /etc/crypttab and /etc/fstab so it can automount, although you could also log into the installed system as root and run the Settings/Disk Manager tool to auto-generate the fstab entry (but not crypttab: you have to do that one yourself.)
Out of all the possible options this is probably the easiest long term (if you’re comfortable with manually mucking with LUKS). Especially as we’re not space limited like we were in the past, so breaking / and /home into separate partitions shouldn't cause any problems... I’m going to try basically this as a test (next weekend):
- Clean install of MX19 with both / and /home encrypted partitions.
- Dump my old /home on to new /home.
- Copy out the LUKS bits.
- Clean install of MX19 with / encrypted and reuse /home ((don't check the box to encrypt it).
- Add back in the LUKS bits.
- Reboot (and don’t hold my breath).
But now I need a size for /.
The MX-19.1 Users Manual says:
How big should / (root) be?
Recommended size for normal use is therefore 10 GB.
https://mxmanuals.s3.us-east-2.amazonaw ... 9/mxum.pdf
Is that for real and not just 'never got updated?’ I’m showing ~21GB for non /home now (and I am not a packrat either) and @dolphin_oracle you’re using ~35GB and ~70GB roots in your vids (granted you’re a dev and have multiple kernels, etc.).
For a routine user, whats a good root size? Basically a, “I know this is too big, but it’s not horrible, and I’ll never need to worry about it” type size.
Thanks for all the replies,
Michael