Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm wondering if there was any way of encrypting an existing ext3 partition with dm-crypt+LUKS or something roughly equivalent.
While searching I came across this thread where someone did this with the now-deprecated "cryptoloop" system on a non-journaled filesystem. I was wondering if it was possible to do it as I explained in the first paragraph.
Some preliminary research leads me to believe it's not possible, but I wanted to throw it out here to those who know more than me.
This is possible with loop-aes. However, trying to directly encrypt a filesystem is quite risky. If your computer crashes halfway through, you have a half-encrypted and half-not-encrypted filesystem. You should definitely make a backup before.
Thanks. I probably won't bother, then. I keep all my really sensitive stuff in an EncFS folder anyway, so encrypting the whole partition isn't REALLY necessary.
You don't have enough space to first put the data somewhere else (even compressed) and then encrypt the partition?
Would be easier, safer and feasible, I'm not sure the inline encryption can work.
operator10001 how do you do this? I know that the installer allows you to CREATE encrypted partition but I haven't heard of a solution to encrypt a working partition.
You don't have enough space to first put the data somewhere else (even compressed) and then encrypt the partition?
Would be easier, safer and feasible, I'm not sure the inline encryption can work.
Unfortunately I'm one of those people who never bothered to plan his partitions. hdb1 is a small /boot/ partition, hdb2 is swap, hdb3 is /
hda is my other hard drive with WinXP, which I keep around for my parents, who like to use my computer on occassion.
It's alright, though. I may be doing a re-install soon anyway, with all the important stuff on my 1GB jumpdrive. If I do that, I'll encrypt then.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.