LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2014, 08:20 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,534

Rep: Reputation: 93
(I'm in the middle of an install) Should I encrypt Xubuntu 13.10 and choose LVM?


I'm in the middle of installing Xubuntu 13.10 and the Ubuntu page I was following on how to install from a USB stick says nothing about these two choices (on the Installation type screen):

#1)Encrypt the new Ubuntu installation for security (you will choose a security key in the next step).

#2)Use LVM with the new Ubuntu installation (this will set up Logical Volume Management. It allows taking snapshots and easier partition resizing)

I'm a writer using the computer for mostly writing ebooks but I also do all the things most people do: buy stuff online, online banking etc. I want my information to be safe but I don't want to overburden my system with security stuff either. I just wonder what I should do about these two choices. My natural inclination is to choose both the encryption and the LVM. Can anybody shed some light on this for a newbie like me? Thanks!
 
Old 03-04-2014, 08:54 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

say yes to LVM, and if you don't mind entering a passphrass at boot time to decrypt the disk I'd suggest saying yes to encryption. Note however that if you loose/forget your passphrase it will be essentially impossible to get anything off the hard drive.

Cheers,

Evo2 (currently using LVM and encryption on my main laptop).
 
1 members found this post helpful.
Old 03-04-2014, 09:02 PM   #3
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,534

Original Poster
Rep: Reputation: 93
thanks

Quote:
Originally Posted by evo2 View Post
Hi,

say yes to LVM, and if you don't mind entering a passphrass at boot time to decrypt the disk I'd suggest saying yes to encryption. Note however that if you loose/forget your passphrase it will be essentially impossible to get anything off the hard drive.

Cheers,

Evo2 (currently using LVM and encryption on my main laptop).
Thanks Evo2 but I've just recently heard that choosing the encryption slows the computer down. Have you heard anything like that?
 
Old 03-04-2014, 09:03 PM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,963

Rep: Reputation: 272Reputation: 272Reputation: 272
The encryption would depend on if it is a laptop or desktop and how concerned your are of others accessing your data. As far the lvm vs standard this is a link a thread discussing the very same. http://www.linuxquestions.org/questi...ioning-652748/
 
1 members found this post helpful.
Old 03-04-2014, 09:06 PM   #5
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,963

Rep: Reputation: 272Reputation: 272Reputation: 272
and here is another one about the advantages of lvm
https://wiki.ubuntu.com/Lvm
 
1 members found this post helpful.
Old 03-04-2014, 09:18 PM   #6
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,534

Original Poster
Rep: Reputation: 93
thanks

Quote:
Originally Posted by colorpurple21859 View Post
The encryption would depend on if it is a laptop or desktop and how concerned your are of others accessing your data. As far the lvm vs standard this is a link a thread discussing the very same. http://www.linuxquestions.org/questi...ioning-652748/
Thanks colorpurple. It's a desktop and of course I'm concerned about others accessing my data. But I'm not storing state secrets or anything. I'm just doing ordinary things like buying stuff online and online banking. So the question would be,Would I be safe doing those sorts of things without encrypting the whole OS.

Will look at those links. Thank you.

Looked at the lvm links. Super helpful. Thanks!

Last edited by Gregg Bell; 03-04-2014 at 09:36 PM. Reason: adding
 
Old 03-04-2014, 09:31 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

while there is an overhead it should not be noticeable for day to day use.

Evo2.
 
1 members found this post helpful.
Old 03-04-2014, 09:33 PM   #8
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,112

Rep: Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528Reputation: 1528
You should always pick LVM when it comes to vms/servers/workstations where you can increase the disk size. It makes adding storage much easier.
 
1 members found this post helpful.
Old 03-04-2014, 10:01 PM   #9
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,131

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Personally, I probably wouldn't do either encryption or LVM for a home system. My thoughts on that being, if you have to ask whether you need them, then you don't. I use both quite a bit (but not on my everyday desktop). Both have benefits of course. But I don't think either is really necessary on a home system. For the stuff I wish to encrypt one my everyday desktop, I use TrueCrypt to encrypt only those things, not encrytion of the entire file system.

But I don't feel terribly strong on this one way of the other. You're not really going to go wrong either way. One point - If you have problems and corruption, which you probably won't, you will have a harder time recovering if you have to deal with encryption and LVM. Also, if your hard drive goes bad and you're trying to recover photos or something off of it as a last ditch effort, tools like "photorec" are not going to be successful if they're having to deal with encrypted data.
 
1 members found this post helpful.
Old 03-05-2014, 02:52 AM   #10
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,534

Original Poster
Rep: Reputation: 93
thanks

Quote:
Originally Posted by haertig View Post
Personally, I probably wouldn't do either encryption or LVM for a home system. My thoughts on that being, if you have to ask whether you need them, then you don't. I use both quite a bit (but not on my everyday desktop). Both have benefits of course. But I don't think either is really necessary on a home system. For the stuff I wish to encrypt one my everyday desktop, I use TrueCrypt to encrypt only those things, not encrytion of the entire file system.

But I don't feel terribly strong on this one way of the other. You're not really going to go wrong either way. One point - If you have problems and corruption, which you probably won't, you will have a harder time recovering if you have to deal with encryption and LVM. Also, if your hard drive goes bad and you're trying to recover photos or something off of it as a last ditch effort, tools like "photorec" are not going to be successful if they're having to deal with encrypted data.
Thanks haertig. You present a very sensible, balanced point of view. I have finished my install, and I chose to engage neither the encryption nor the LVM. Appreciate it.
 
  


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
install LVM on a distro in an LVM partition. hen770 Linux - Server 2 11-20-2011 01:37 AM
crypt() perl function to encrypt Password in shell scripts or How Encrypt passwords ? balakrishnay Linux - General 13 01-14-2010 10:35 AM
encrypt and decrypt using encrypt(char block[64], int edflag) rockwell_001 Linux - Security 3 08-30-2009 10:16 AM
how to install encrypt in RHEL 5 pramod.srk Linux - Newbie 6 04-21-2009 05:23 AM
LVM and dm-crypt -- best way to encrypt a logical volume? nyle Linux - Newbie 4 01-31-2009 02:53 PM


All times are GMT -5. The time now is 05:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration