Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-11-2009, 01:09 PM   #1
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, 02:41 PM   #2
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Check the Red Hat documentation, here.
Old 07-11-2009, 02:43 PM   #3
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, 10:56 PM   #4
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, 09:34 PM   #5
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, 08:24 AM   #6
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Check this out..


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

All times are GMT -5. The time now is 01:41 PM.

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