So I just had a fun / probably bad idea: I'd like to convert my Arch PC to use encryption on the root partition. I'll likely try copying the root filestructure to an external drive before formatting, doing a fresh install in a dm-crypt part, and then copy back. Would that work?
-
Show this thread
-
Replying to @hedgeberg
Yes, but don't forget to prepare the target system bootloader & initramfs for decrypting the rootfs
2 replies 0 retweets 2 likes -
Replying to @coderobe
Yeah, hence why i was thinking the fresh install bit. get that all configured and working before flashing back. I'll probably take a dd image of both the boot and root partitions in addition to copying the root filestructure just to be safe.
2 replies 0 retweets 0 likes -
Replying to @hedgeberg
Doing a fresh install isn't necessary, even if you fuck up updating all configs right away you can decrypt the drive from a different environment (live usb or other system) and fix it
1 reply 0 retweets 0 likes -
Replying to @coderobe @hedgeberg
Don't forget to copy your files with their (extended) attributes, and make sure the fs you're backing up to supports the attributes of your current one.
1 reply 0 retweets 2 likes
Arch Linux ARM uses bsdtar; there may be a reason for this (xattr related; different formats perhaps). In any case though I don't think you'll mess up your system too badly if you forget xattrs, as long as you're not using SELinux or PaX. A couple binaries might lose capabilities
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.