LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-29-2009, 10:31 PM   #1
w00ly
Member
 
Registered: Aug 2009
Posts: 31

Rep: Reputation: 15
fresh install with encrypted home partition


Hi all. When I setup ubuntu the first time I selected "encrypt home partition" but didnt mess with it further...i dont believe the unwrap command worked properly after installing. So now I'm trying to do a fresh install but on the live cd my home directory doesnt mount. When I try to mount it it says ecryptfs isnt setup properly. How do I do a fresh install and keep my home partition intact and mounted properly?
 
Old 10-31-2009, 01:11 AM   #2
w00ly
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
well i decided to go ahead with the install. I booted back into jaunty, ran ecryptfs-add-passphrase to make sure the right password was set then went back into the livecd installer. I mounted the previous home partition as home and selected "password required to decrypt and mount". I set the username and password to what it was before. Now unfortunately when I boot I get all sorts of errors, ctrl alt f1, login, ls ~ shows the access-your-private-data.desktop and readme.txt. I try to ecryptfs-mount-private and it says "ecrypted home not setup properly" or some such error and fails. FFFFFFUUUUUUUUUU-
Someone with ecryptfs knowledge please tell me how I recover from this! I backed up /var/lib/ecryptfs from jaunty as well (dunno if that's needed or not because I clearly have no idea what i'm doing) HELP ME PLEASE!!!

edit: tried creating a new user to try to get some form of useable desktop but this one is encrypted as well and wont mount. So now I have a completely unusable system and all my personal data I cant get to

Last edited by w00ly; 10-31-2009 at 01:17 AM.
 
Old 11-12-2009, 03:12 AM   #3
xunil23
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Yeah, I'm having the same problem. Can anyone help us fix this?
 
Old 11-12-2009, 04:04 AM   #4
xunil23
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
I don't think encryption is perfect YET in Ubuntu

Taken From: http://bodhizazen.net/Tutorials/Ecryptfs/

Using Ecryptfs with a separate /home partition

One downside of encryption is that using a separate /home partition is more difficult and there are as of yet no automated tools on the installation CD (alternate or desktop) to automatically preserve and configure your Ecryptfs encrypted /home directories.

I advise you back up your data, install, then restore your data.

So this goes for both of us man.
 
Old 11-12-2009, 04:10 AM   #5
xunil23
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Just backup your encrpyted home and consider this a bad day!

To backup your data, read this solution:

Mount Your Encrypted Home From a LIVECD:

http://blog.dustinkirkland.com/2009/...home-from.html
 
Old 11-13-2009, 01:32 AM   #6
w00ly
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
oops, posted what I did to solve this over at ubuntuforums but didnt here
I noticed when I did ls -al in my home besides the two files there was also a symlink to /var/lib/ecryptfs (which is weird because I thought /var/lib/ecryptfs was gone in karmic so I didnt even think of it earlier). All I did was put my backed up /var/lib/ecryptfs back where it was, rebooted and VOILA! Access to all my files! Just make sure the user/pass is the same and you should be good to go. Certainly frustrating though: you'd think if they included this in the system it would be better supported (especially when it can cause such a catastrophic loss of data when some obscure folder that isnt really mentioned anywhere isnt backed up). Hell I still dont think I have ecryptfs setup properly but hey at least it works
 
  


Reply

Tags
encrypted, home, karmic koala



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
[Slackware 13.0]Cryptsetup problem with encrypted home partition dlinux Slackware 3 08-29-2009 12:18 PM
LXer: Encrypted home partition in Linux LXer Syndicated Linux News 0 05-03-2007 06:16 PM
Can I copy old /home/ directory to fresh install? Adrian Baker Linux - General 2 01-09-2007 03:06 PM
No write access to home directory after a fresh install Lordandmaker Ubuntu 3 05-13-2006 05:49 PM
Step by step newbie guide for encrypted /home partition? eldergod Slackware 2 11-12-2004 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:39 PM.

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