Ubuntu Installation :: Lost Access To Encrypted Home After Upgrade?
Jul 28, 2011
I just tried reinstalling ubuntu 11.04 from the live disc, installation went well but afterwards I cannot get access to my home directory which is encrypted and I stupidly forgot to note the mount passphrase. is there anything I can do? where would the mount passphrase be stored from the previous installation and is there any chance of recoving it. Home and the root are on the same drive and the installation did not format the drive.
Apparently after an upgrade, I lost access to my encrypted home directory. Looks like upgrade scripts changed the scripts that mounted my encrypted home directory. As I don't have my ecryptfs password handy, is there any way to revert the things back as they were? I have liked Ubuntu all the way but after this upgrade-mess-up, I might change my view.
I used to use Ubuntu 9.10 for a year. I had my home path on different partition (19Gb) than the system partition (12Gb). Before I upgraded, the free space on Home partition (19Gb) was 6.3Gb. I knew that the direct upgrade is not good, so, I format the system partition (12Gb). Then, I install clean version of Ubuntu 10.04 on it. every thing is great. except that, I can not find my files in the old home path. In same time, Ubuntu is telling me that the Home partition (19Gb) (which I have not touch at all) has free space of 6.3Gb and used space of 11.3Gb. It means it can recognize that there is something but it can not open it at all.
I tried upgrading to 10.04, and now when it boots it just goes into a grub2 terminal and doesn't display a boot menu. I tried re-installing grub2 from the live cd, but that didn't do anything. I figured if I've hosed the last install I'll install from scratch, but I can't even access my files from the live cd! I did a bit of searching and everyone seems to just encrypt ~/Private, whereas I've encrypted the whole home directory. So much for security... In the live cd, it has a readme.txt and says to type "ecryptfs-mount-private" to access the files, but it just gives the error "ERROR: Encrypted private directory is not setup properly". What do I do?
I have installed Kubuntu 10.04 x64 from scratch using the alternate installation CD and unfortunately I'm experiencing some serious troubles. Everything worked fine, installed packages, moved my backed-up data to my encrypted /home partition - until I rebooted. Usually I reboot the system right after the installation process to see if the boot process shows any errors, but what can I say, seems like I forgot to do it this time .
The problem is that the boot process just "hangs" right before the login window should disappear. By "hang" I mean dead: no switching to virtual terminals, no CTRL-ALT-DEL - the system just freezes. I'm quite familiar with doing things shell-wise, so I started the "Rescue Mode" from the alternate CD and was able to mount my root partition.
Problem #1: No faulty log entries whatsoever: dmesg, boot.log, messages etc. all looking fine - except Xorg.0.log. I suspect the proprietary Nvidia drivers to be the culprit here, because what I'm getting is: "Caught signal 11 (Segmentation Fault). Server aborting"
Running "startx" as root from the rescue shell gives the same results: complete system freeze. "Looks like a reinstallation candidate, let's just backup my data" I thought, which brings us to
Problem #2: I can't mount my encrypted /home from the rescue shell. The exact steps involved are:
Mount my root partition and chroot to it. Issuing "ecryptfs-mount-private" gives the following error message: "ERROR: Encrypted private directory is not setup properly" Becoming my user "su - faulty" and trying step 2 again yields the same results. I feel like I'm almost there: I'm executing commands in my root environment, just can't seem to access my data which I'd like to backup before doing a clean reinstall. Any thoughts?
I had errors pop up when I tried updating my 10.10 to 11.04 so I ended up having to do it from a Live USB which installs it over everything (fine by me).Unfortunately I forgot I had an encrypted /home directory. So various messages and stuff came up when I tried to log in.nfortunately I don't remember what my encryption passphrase is offhand, so I moved it to a slightly different folder name and had to have a new directory created for my username.It's still there, but how can I try to open it trying the various versions of the passphrase I think it may be? Can I double-click it and try?Also, in the future what is the best way to handle a "fresh" install that I want to connect to my encrypted /home directory?
I installed 10.10nbr on my wife's eee 901. Now she cannot remember her password. I've tried booting to recovery to use the passwd command, but that does not work. I believe I encrypted the home folder when I installed. Normally if I don't encrypt home, then I enable auto-login.
I've upgraded to my old dell from Xubuntu 9.10 to Xubuntu 10.04 and set up separate /home partition. I chose to encrypt the /home folder when I installed. I'm wondering if that's the quick answer for why I can no longer sftp from my Ubuntu Jaunty laptop. Both machines are on my desk, and I've been happily using ssh to get files between them before this. The Xubuntu machine has openssh server and client installed, the Jaunty machine has only ever had only the ssh client. Now I get a popup saying "Could not open location ..." and the sftp address, and "Host key verification failed." I've not done much with this new install, so I don't mind just re-installing again. I don't need an ecrypted /home, but I do want very much to be able to continue to ssh into that machine. Is it my encrypted /home that's causing this?
I had issues on my last install , I couldn't boot into it cause I accidentally uninstalled python 2.6 and everything it was attached to. So I reinstalled on a separate hard drive, I can see my other file system from the media folder but the only thing in my home dir isthese 2 files 1 read methatsaysPHPCode:THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.From the graphical desktop, click on: "AccessYour Private Data"orFrom the command line, run: ecryptfs-mount-private and then this file Access-Your-Private-Data.desktopbut when I click it and try to run it I get thisrrorPHPCode:Untrusted application launcherThe application launcher "Access-Your-.desktop" has not been marked as trusted. If you do not know the source of this file, launching it may bensafe.
I have a dual boot WinXP / Kubuntu system. Recently, I tried to upgrade from 9.10 to 10.04. I have my Kubuntu partition set up with separate partitions for / , /home , and swap. Naturally, I wanted to wipe the slate clean, so I formatted / and left /home alone before doing the install. However, my /home partition was encrypted with the standard crypto that you get when you install. I just deleted the way in by wiping my / partition. Now all of my files are on my drive but encrypted. I do have the unencrypted passphrase given to me when the hard drive was first encrypted, so I am sure there is some way to get my files, but I am unsure how to apply it.
I'm still running 9.10, but now would like to install 10.10. Now I'm wondering about how to keep access to my encrypted home folder.
Usually, I don't do an 'upgrade', but a fresh re-install. I have a separate /home partition, so normally this works just fine. However, my home directory is encrypted (a feature that was introduced with 9.10, I believe).
So, if I whack the system partition and do a fresh reinstall there, will the new install still be able to read my home directory? Or do I need to save a key file from somewhere?
I've done something a bit stupid. I've already encrypted my home folder and just set it to log in without requesting my password. When i do log in now, no startup sound plays, several error messages appear but no desktop. I think it's because I now don't have an opportunity to enter my home folder password, and it doesn't work at all. Is there any way to edit account settings from 'root' or anything because this really has crippled my computer.
I purchased a larger hard drive to upgrade my HTPC running MythTV and a Samba file server. I put the old hard drive into an e-SATA enclosure and can still boot to it to access my files, but I can't seem to mount it correctly under the new installation to copy over my files even though I have the mount passphrase and encrypted filenames key.I have tried using this howto, but I run into problems with the encrypted filenames.This is how I'm doing it. I replaced the actual key data with A's and B's to protect my keys:
I'm wiping out / on an Ubuntu box but want to keep everything in /home/, which is mounted on a different partition. Using Code: ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase I have unwrapped the passphrase, resulting in a ~25 character alphanumeric string. Is it possible for me to install from a disk and give the installer the (current) passphrase so that it will automatically mount my home directory?
Just upgraded from v11.0 to v11.2, in fact its still updating the update. I had a number of web apps in folders in my htdocs, whic I cannot access at the moment. They are still there, I just cannot Access them. Has anyone struck the same problem. I know I had this problem about 12 years ago, but being older and senile I cannot remeber what exactly it was. Real important as it contains php scripts which create xml data files for upload to web pages, so would like a quick fix if possible?
I encrypted "/" and "/home" during boot with F12. Now I'm trying to install F13. The problem is it will not allow to specify /home as the mount point. It will take /home and not complain but when I get back to summary there is no mount point, just blank. When I entered the passphrase it didn't complain so I think that is okay. The / dir I said I wanted to format, so it accepted the / mount point.
I tried to go ahead and install F13 anyway thinking it may figure this out. However it didn't use my /home but created a new /home.
I want to create a user with a encrypted home folder. I tried "sudo adduser --encrypt-home username" but I get following error "adduser: Could not find program named `ecryptfs-setup-private' in $PATH". I installed the cryptsetup package but without result.
After my "upgrade" to 10.04 I am unable to access the internet at home with wireless using Firefox, but am able to access the router. I am however able to access the internet at work, both use WPA password protection. I was also able to do the updates over wireless at home, despite not being able to access the internet. I am currently at work, and downloaded Google Chrome and did not import settings from Firefox, to see if there were any settings issues with Firefox itself.
P**sed right off now, tested this upgrade on two test systems before hand to make sure this would work.Upgrade my server from FC9 to FC10, it had two Encrypted XFS volumes on totalling 1.5TB of files which I don't have space to backup anywhere else.Have now upgraded and the Encrypted volumes are showing as not existing "volume name does not exist"
I just upgraded my F9 system to F10 using they preupgrade method, and though nothing seems to have failed during the upgrade I can't boot my system any longer.I have a completly encrypted system, and so I need to enter a passphrase at boot. The new F10 system does boot and I do get a Password: prompt but the passphrase is not accepted.My passphrase doesn't contain any odd characters to prevent problems with keyboard mappings. Just plain letters (upper and lower case) and digits
I was running Ubuntu 9.04 Desktop on a headless Pentium 4 machine which is our file, mail, web & fax server. The two x 250GB SATA hard disks were in a RAID 1 array with full disk encryption. Ran the 9.10 upgrade via WEBMIN and it failed. I should have known then to copy over everything to a backup disk, but instead I rebooted.
On restart the machine accepted my encryption passphrase but promptly hung with a mountall symbol lookup error - code 127. So I can't start the machine to get at the disks, and using a Live CD is useless as it has no way to open the RAID array to get at the encrypted partitions. Although we have data backed up (as at last night) I'd hoped not to have to rebuild the entire server from scratch. But its looking bad.I have taken one drive out and plugged it into another machine (Hercules), and the partitions show up as /dev/sdb1 /dev/sdb2 /dev/sdb3.
If it weren't for RAID, I could open /dev/sdb2 the main partition) in Disk Utility and enter my encryption passphrase to get access. But RAID adds a layer of obstruction that I have not yet overcome. I used mdadm to scan the above partitions and created the /etc/mdadm.conf file, which I edited to show the 2nd drive as missing (rather than risk corrupting both drives). I activated the RAID array with mdadm, and cat shows:
I've been searching the web for hours but have yet to find someone with a solution to this situation. If anyone has a thought on how to access this disk I'd be pleased to hear from you. In the meantime I will start building a new (9.10) machine from scratch, without RAID, 'cos that's probably going to be necessary.
I upgraded from 10.04 to 10.10 and everything went smoothly EXCEPT that g++-4.1 and all its dependencies were uninstalled, and now it's nowhere to be found in Synaptic Package Manager. How can I get g++-4.1 back??
ps. I know that I can download source and build it manually, but there has to be a more "Ubuntu-ish" way of doing it.
New and ignorant here. I got a new System 76 netbook, love it, went to upgrade Ubuntu and since, have not been able to get wireless to work. Wireless light is off, no switches work to activate. Unit has no CD drive, can't get on internet without connection. Not sure this is the correct forum.
I recently upgraded to koala, but gimp no longer functioned after upgrade; i.e. open file popup dialogue freezes, crop tool is non-functional, preferences dialogue was absolutely a blank box. Tried un-install/re-install thru both the new software center and synaptic. Same broken result every time. Tried a direct download from gimp.org but ran into a lot of dependency stuff I know nothing about; I'm an end user, not a coder. So, how do I get a functioning install of gimp?
I keep finding the same fixes on the web and they are not working. What I have/what I did: I have a dual boot PC. HD0 was XP. HD1 Kubuntu 10.04. I upgraded XP to Win 7. This jacked my Grub up, now all I can load is Win 7. I don't see the Grub menu anymore. I've been trying to reinstall Grub using varoius web pages like: [URL]
They seem to all be telling me the same thing but not working. I boot into a liveCD. I have to sudo apt-get install grub then I can do sudo grub. I follow the instructions: sudo grub > root (hd0,0) > setup (hd0) I get "Error 17: Cannot mount selected partition".
Now if I'm understanding this right the reason for that is. HD0,0 is my first HD first partition (which is Win 7), and grub doesn't like windows. I tried swapping it out so it reads: sudo grub > root (hd1,0) > setup (hd1) I then quit and reboot. Win 7 loads. I don't see Grub.I am using 2 separate hard drives?