LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-11-2009, 02:09 PM   #1
ESC201
Member
 
Registered: Sep 2008
Distribution: Kubuntu 11.04
Posts: 85

Rep: Reputation: 15
How to encrypt entire file system? (Fedora 11 64bit)


Hi all, I recently installed Fedora 11 64bit and I am curious about encrypting my entire file system for security purposes.

I've been on Google for a while now and I keep finding info on how to encrypt a specific folder or home directories but nothing on the entire file system (or I'm missing something big here).

Is this possible? It's hard for me to imagine that it isn't. If so, do I need to encrypt the partition my file system is on before installing it? What software should I use? There seems to be so many, it's difficult to keep them all straight. Any help or a point in the right direction is awesome. Thanks!
 
Old 07-11-2009, 03:41 PM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Check the Red Hat documentation, here.
 
Old 07-11-2009, 03:43 PM   #3
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
No reply to your question yet so I'll attempt to answer.

The following is how ubuntu (amongst others I suspect) do it.

The boot partition is not encrypted so that the initrd file can be extracted with all the necessary modules needed to read the encrypted volume.

The second partition takes over the rest of your disk and has LVM installed so that you can have many partitions/swap. This way, you avoid getting a password prompt for each partition that it encrypted.

Whn you boot, a prompt apears for the passphrase, if successful, your tux will boot.

I'm sure something similar exists or can be made to work for Fedora... it is still a Linux after all.

Hope this helped.
 
Old 07-12-2009, 11:56 PM   #4
ESC201
Member
 
Registered: Sep 2008
Distribution: Kubuntu 11.04
Posts: 85

Original Poster
Rep: Reputation: 15
I was wondering how I'm suppose to boot an encrypted system. Thank you for clearing that up for me eco.

colucix, from what I understand from the Red Hat documentation, to create any encrypted file system, I have to format the device I wish to encrypt first, correct? If so, to encrypt my system I must move everything under / to another drive, then encrypt the drive everything was on, and then copy everything back? I'm really kicking myself for not checking the little encrypt box when I was installing my system now. Live and learn I guess.
 
Old 07-17-2009, 10:34 PM   #5
ESC201
Member
 
Registered: Sep 2008
Distribution: Kubuntu 11.04
Posts: 85

Original Poster
Rep: Reputation: 15
Well, after many tries with the Red Hat documentation I found it much easier to just reinstall my system and let Anaconda set up the encryption for me.

Now that everything is working, I want to set it up so that I can use a usb flash drive as a key instead of having to enter a password each time I turn my system on. I've read many articles from searching on Google on this however they mostly deal with unlocking a non-system drive. Is there anyway to do this? Does anyone know of of a good guide? Thanks!
 
Old 07-25-2009, 09:24 AM   #6
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Check this out..

http://binblog.wordpress.com/2008/12...ks-passphrase/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Backing up the entire file system, LVM problems chamakits Linux - Desktop 4 06-01-2009 01:30 AM
mkdir freezes entire file system for 30secs Hegemon Linux - General 3 04-29-2009 07:03 AM
shred entire device or partition , remove file system first? writedom Linux - Newbie 8 05-26-2008 01:32 PM
Not able to see the Entire Network on My system with Fedora core 2 man_msc Linux - Networking 0 08-24-2006 10:47 AM
LXer: Move an entire file system on a live Unix system LXer Syndicated Linux News 0 07-08-2006 06:33 PM


All times are GMT -5. The time now is 09:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration