how do I encrypt my home partition on Mageia 3?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

how do I encrypt my home partition on Mageia 3?

Postby akbrian » Dec 20th, '13, 00:17

I plan on taking my laptop traveling with me and would be more comfortable if I could encrypt my home partition data just in case it gets stolen. I do have a separate /home, / , and ' /boot partitions. I'm using ext4. how can I go about encrypting the /home partition? This particular laptop has Mageia 3 64bit installed. Thanks. -AkBrian
akbrian
 
Posts: 60
Joined: Sep 10th, '11, 01:56

Re: how do I encrypt my home partition on Mageia 3?

Postby doktor5000 » Dec 20th, '13, 01:02

You want to add encryption via Luks / dm-crypt
Rough guide is http://david.dw-perspective.org.uk/da/i ... with-luks/
General documentation is at https://wiki.archlinux.org/index.php/Sy ... _with_LUKS

As you cannot do that online, better take a backup and reinstall, and tick the "Encrypted" box during partitioning,
and afterwards copy your data back. Otherwise you probably need to also take care that you will be asked for the
passphrase during boot, if it doesn't happen automatically.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: how do I encrypt my home partition on Mageia 3?

Postby akbrian » Dec 20th, '13, 01:26

Thanks!
akbrian
 
Posts: 60
Joined: Sep 10th, '11, 01:56

Re: how do I encrypt my home partition on Mageia 3?

Postby jiml8 » Dec 20th, '13, 02:07

If you are really concerned about protecting yourself, you need to watch for data leaks in your unencrypted system partition. Notably, /tmp, /var/tmp, /var/cache, /var/lib/mysql, and possibly /var/www will often contain information you would not want to give away. I personally have all these entities symlinked to other volumes which are encrypted.

Also, make sure you encrypt swap.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest