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 - 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, 07:20 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Rep: Reputation: 176Reputation: 176
(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, 07:54 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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, 08:02 PM   #3
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
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, 08:03 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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, 08:06 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
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, 08:18 PM   #6
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
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 08:36 PM. Reason: adding
 
Old 03-04-2014, 08:31 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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, 08:33 PM   #8
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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, 09:01 PM   #9
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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, 01:52 AM   #10
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 2,034

Original Poster
Rep: Reputation: 176Reputation: 176
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05: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