LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-21-2010, 01:58 PM   #1
danh000
LQ Newbie
 
Registered: Nov 2008
Distribution: Ubuntu 10.04, Fedora 13
Posts: 4

Rep: Reputation: 0
Encryption on Ubuntu Lucid after installation


I'm a relative newby to Linux so forgive me if this is a simple question.

I know that if you install Ubuntu using the alternate CD, you can create a whole disk encrypted installation, but what about after a normal installation? What is the best procedure to use to get more than just the home folder encryted?

Installation of Fedora 13 gives the option during a normal install to encrypt more than just the home folder.

I really only want to encrypt my Ubuntu partition. I have a laptop with a multi-boot setup with Windows 7, Fedora 13 and Ubuntu 10.04 all residing in their own partition. Because of this setup I really can't use whole disk encryption.

I use Truecrypt on my Windows 7 partition and it works great but encryption of a Linux system partition is not supported.
 
Old 07-22-2010, 11:04 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,474

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
You can use truecrypt in linux
http://ubuntuforums.org/showthread.php?t=149561
 
Old 07-22-2010, 11:25 AM   #3
danh000
LQ Newbie
 
Registered: Nov 2008
Distribution: Ubuntu 10.04, Fedora 13
Posts: 4

Original Poster
Rep: Reputation: 0
It is true that Truecrypt can be used on Linux but not for encryption of the entire Linux system partion.
 
Old 07-22-2010, 12:59 PM   #4
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I think it'll be difficult to do a "full" system encryption after the setup, because you'd probably need to wipe your existing partitions during the process. A home partition might well work, because you don't actually need it to run the system, but root parititon is then a whole other story..whatever way there is, I think it involves running the system a while from someplace else than the actual installation, which makes it more or less the same as if you'd just reinstall the system. Also, if you do reinstall, you don't have to think about gimmicks, just take backups, do the job and push the backups back in. Easier, safer and for all I know, faster too.

Remember that even if you do encrypt your "whole" system, you'll still have to leave a small portion unencrypted (so you can boot), and that's the weak point. At present, nothing you do will make the system inpenetrable, if you're even a little paranoid. Though if your biggest worries are younger-than-teen kids and their pranks, you're all right.
 
Old 07-22-2010, 05:25 PM   #5
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
The easiest and quickest way is to use the alternate install cd. Create 2 partitions for Ubuntu, one for /boot and one as an luks container (encrypted partition). Use your luks container as a physical volume for LVM and create logical volumes for / (root), swap and /home, /tmp if you wish.

Then run through the install as normal. What your left with is everything except /boot encrypted, because there is only one container you only need one passphrase to boot the system. Even swap is encrypted so you can hibernate safely.
 
  


Reply

Tags
encryption, ubuntu


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LAMP Installation Problem in Ubuntu Lucid 10.04 arun-linux Linux - Newbie 9 07-02-2010 04:49 AM
LXer: The Perfect Server - Ubuntu Lucid Lynx (Ubuntu 10.04) [ISPConfig 2] LXer Syndicated Linux News 0 05-02-2010 06:32 PM
LXer: Ubuntu Lucid Lynx 10.04 Post Installation Guide LXer Syndicated Linux News 0 05-01-2010 06:20 PM
LXer: 15 More Exceptional Wallpapers from Ubuntu Artwork Pool for Ubuntu Lucid 10.04 LXer Syndicated Linux News 0 03-27-2010 01:30 AM
LXer: 15 Beautiful Wallpapers from Ubuntu Artwork Pool for Ubuntu 10.04 Lucid Lynx LXer Syndicated Linux News 0 02-23-2010 12:11 PM


All times are GMT -5. The time now is 02:31 PM.

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