Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
question about encryption...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
adramalech707
Apprentice
Apprentice


Joined: 06 Oct 2009
Posts: 236
Location: California, USA

PostPosted: Fri Oct 08, 2010 8:59 pm    Post subject: question about encryption... Reply with quote

So I have never ever encrypted my partitions, hard drive as a whole, or even certain folders.... I don't store many personal information on my laptop, it is just more of peace of mind if my laptop ever gets stolen, etc...

also wish to like make sure that no one can get into my wpa_supplicant file etc.. and see all my networks settings and passwords usernames etc..

I have setup my partitions as such:
Code:

/dev/sda1            2048      206847      102400   83  Linux  <--      /boot  (ext2)
/dev/sda2          206848    82126847    40960000   83  Linux <--   /        (ext4)
/dev/sda3        82126848    98510847     8192000   83  Linux <--  /swap (ext4)

/dev/sda4        98510848   303314943   102402048    5  Extended  <--LVM

/dev/sda5        98512896   221392895    61440000   83  Linux <--/home  (ext4)
/dev/sda6       221394944   303314943    40960000   83  Linux <--/usr     (ext4)


Now how should I go about encyption without having issues with wiping my entire drive?

I was going to just like encypt my /etc and /home partition....
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15985

PostPosted: Fri Oct 08, 2010 10:21 pm    Post subject: Reply with quote

The only safe way to convert an existing filesystem to be encrypted is to archive all its files, replace the filesystem with an encrypted container, create a new filesystem in the container, and restore the files into that new filesystem. Some encryption techniques allow you to convert in place, but if you are interrupted while converting, the filesystem will be destroyed.

Encrypting /etc without encrypting / will be difficult when using a block level encryption, since very few people place /etc on a volume separate from /, so many programs will not expect this. You can either move the sensitive contents out of /etc to other storage or encrypt all of /. If you choose to move them, clever use of symbolic links and/or bind mounts should minimize disruption to normal programs.
Back to top
View user's profile Send private message
adramalech707
Apprentice
Apprentice


Joined: 06 Oct 2009
Posts: 236
Location: California, USA

PostPosted: Sat Oct 09, 2010 12:16 am    Post subject: Reply with quote

thank you will look into what you said....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum