LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-29-2013, 12:24 PM   #1
devinmcelheran
Member
 
Registered: Jan 2009
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 145

Rep: Reputation: 16
Disk Encryption


Hey, so I've Googled around and I haven't found anything definitive. I was wondering how I'd encrypt a drive and have it auto mount at boot. I've found a couple "tutorials" that were like "it's easy, just do this, this, and this." But they weren't detailed.

I honestly don't know where to start because I don't know what daemons would handle it, if you even need them, I don't know. Does the kernel support drive encryption natively?

I also read about how encryption can be bad for data loss because the reason for encryption is a defense against digital forensics, so parity isn't an option. I really don't know enough about this, but I can't find a thorough and comprehensive source of information.

Can anyone point me in the right direction? Some documentation, lectures, lessons, just about anything to give me a crash course so I have a better understanding and sense of direction.
 
Old 12-29-2013, 05:46 PM   #2
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 910

Rep: Reputation: 174Reputation: 174
If you are talking about LUKS encryption, you can use /etc/crypttab to automatically unlock an encrypted volume and map it to a device name during mount processing. You might use this if you were going to encrypt only certain partitions, such as your /home partition. If you want to encrypt everything (e.g., your root filesystem and /home, etc), you'll need to create an unencrypted partition for /boot, and create an initrd (initial ram disk) with LUKS suppport using mkinitrd, then change GRUB or LILO to boot that.

I think many distros have guides on how to do this. While it might not apply directly to your situation with Ubuntu, you may find the Slackware README_CRYPT.TXT document informative, as it explains many of the concepts at length.

http://slackbuilds.org/mirror/slackw...ADME_CRYPT.TXT
 
  


Reply

Tags
disk, encryption, security



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk encryption edwardcode Linux - Security 7 01-14-2013 10:36 AM
[SOLVED] disk encryption question Dave_P Linux - General 5 09-29-2011 04:59 PM
dd and disk encryption Feeg Linux - Security 6 12-13-2008 05:55 PM
Full disk encryption ourskool Linux - Security 1 01-23-2008 11:52 AM
disk encryption ankscorek Linux - Security 5 05-03-2006 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration