Ubuntu :: Extract Data From Encrypted Home Partition Without Booting It?
Jul 17, 2010
Around six months ago (last time I reinstalled Ubuntu 9.10), on a whim I decided to check that option to "encrypt [my] home directory". I wanted to see what it was like. Mistake. Since then, I've been unable to figure out how to access the data in my home directory using any method besides booting the computer (usb drive, rip-out-and-stick-it-in-an-enclosure, etc.). Specifically, I find that shell script sitting there that tells you to run it in order to see your files, but it gives some kind of error. I also still have the code Ubuntu tells you to write down in order to decrypt your files.
Fast forward to this past week. I brought in the laptop to Best Buy for repairs to the hinge (the hinge! Ace Hardware could fix this problem! But I wanted to make full use of the service plan.), and I got a phone call a few days later, saying that it hit Best Buy's "No Lemon" policy. They were going to keep my computer and give me in-store credit toward a new one. Of course, I refused to pay ~$70 for them to back up my data for me; what could possibly happen to it when they were fixing a hardware problem?
Anyways, I pleaded with them for my hard drive back, and they said that they could ship the hard drive back to the store so I could get my data off of it. I'm planning on going in there with my external backup hard drive and an external enclosure and doing it myself at the counter (If they charge $70 to back up a Windows partition, how much more will they charge for an encrypted Linux one?). I don't want to embarrass myself by standing around and not being able to get into my own data.
so, after long time of succesfull use of kubuntu, i encountered a 1st major disaster yesterday while using kphotoalbum. It has somehow frozen my machine in so mighty way, that it apparently corrupted a directory with majority of my pictures , which now appears to be empty .My home lies on a separate partition, its encrypted aand using btrfs and I am using kubuntu 10.10. So, could anyone give me some clues how to unencrypt my home partition, that i could obtain an image of partition or whatever else usable for photorec to check for pictures?
My laptop running on ubuntu has been having some issues and it's giving error reports on logging in. Because I want to retrieve my files above all else, I installed ubuntu to a usb-stick and booted it directly from there. I can asses /media/myharddrive/home and there's a folder called lennard, which is the user account on my laptop. I can't open it however, because I don't have the necessary permissions. I'm afraid I encrypted it with an option that was standard to ubuntu. I have a 23-digit code right in front of me but I'm not asked to enter it so I don't know what to do with it right now.
my CPU passed away, got a new system, installed a new 9.04 and blew it up to studio. have 2 new disks and my old raid 0 lvm. mounted is ( lvdisplay) , user rights fixed fine. I do have my old login name and passwd in a book. How can I open the data it was the old encrypted home directory. I have an icon "Acess your private Data" and something called link to Acess Your private data. There I can read link (broken) so the broke link is sorted out, as i do have now a directory in my home with the same name as it has been, /home/coconews/ and that is fine
If I wanted to transfer a home folder that was encrypted to another ubuntu computer could I? If I had a separate home partition that was encrypted, but I wanted to upgrade ubuntu to the latest version by doing a clean install is there an easy way so that I can still read the data encrypted with the old version?
I am running ubuntu 11.04 I'd like to encrypt my home folder. - how can it be done, without creating new user/starting from scratch. -I'd like to keep all the files and desktop settings - the only change should be that the folder is encrypted now.
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 recently suffered a hard disk failure, meaning I had to replace the faulty device. After attempting to mount the old faulty hard drive using and external caddy, I got the following message... Unable to mount 144 GB Filesystem Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
I'd like to attempt to recover what I can from my /home directory but unfortunately I use encryption (although I do actually know my pass phrase). What procedures and software can I use to try and recover data from this drive?
I had some major problems after the recent Ubuntu upgrade and had to boot from a live cd. I have a separate /home partition, but it was encrypted using the default install encryption in the 9.10 install cd. How can I get to my files so I can back them up?
I have tried this but it did not work: http://ubuntuforums.org/showthread.php?t=1337693
I have an Acer Aspire One, Model ZG5 (also known as the 110 with 8GB SSD) which originally came with Linpus Lite installed on it.
I previously had 9.10 installed which was great, but I've done a fresh install of UNR 10.04 since I had a full /home partition and wanted to set up with more space.
This time, I opted for a larger /home drive (~4GB) and also to have it encrypted, which is a good idea for netbooks given their portability (and I have no idea why I didn't do it before!). Since I had very little space on my 8GB drive (if I wanted a larger /home) then I installed /home onto a separate partition, which is located on a 16GB SD card which lives in my machine permanently.
Installation was a breeze, and encryption seems to work fine. I have verified it and it seems to be working. However, I've now hit two related problems - one of which is to do with Thunderbird, and one which is an issue with the encrypted /home drive.
Firstly, I have a large gmail account which I like to replicate offline in Thunderbird (am using v 3.0.4). My online gmail tells me that I'm using 1.4GB of data space online. Using the old T'bird (v2.whatever) my offline T'bird storage was approximately the same size. This is not now true of my current offline storage file size, which is showing at 3.2GB for the same data. I started with a clean slate, just installing T'bird, setting up my account and then leaving it to download all data from Google.
Anyone know why this offline size is so much bigger than the online storage size or even the previous offline storage size?
Secondly, the encrypted /home drive. Given that I needed I put this on a separate card and partition, I had hoped to escape any issues with not having enough space. However, my system is now telling me that /home is out of space...
Specifically, I can see that I have used 3.6 of my 3.8GB storage for /home. This is due to the large size of my offline storage folder.
As I see it, I need to do one of two things (possibly both) - reduce the size of my offline e-mail storage, and increase the size of my /home partition.
Reducing the offline storage will be about finding out why it's so big in the first place.
However, if I wanted to increase the size of my encrypted /home file how would I do this? I have used gparted to make additional space after it - so I could increase the size if it's possible, but I am a little concerned.
If I just increase the size of the partition, would this work? Are there issues with the fact that it's an encrypted partition? What should I be aware of if I wanted to increase an already in-use partition, and how should I best go about this?
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?
I have recently recovered from an HDD failure on my Drobo. One of the disks died and corrupted the entire array (which is not supposed to happen). I have since managed to copy the data off onto smaller disks and after replacing the failed drive, have copied everything back.
Now that im up and running again, i was wondering how this situation would play out on encrypted disks, or in the case of a drobo a large encrypted partition (as you cannot encrypt the entire array).
Would i still be able to recover the data if i were to encrypt it? It is a 4.2TB array, and i assume that I would need to copy the data in its entirety to recover it, so using multiple smaller disks would be out of the question right?
What are the steps I must take to move my existing home folder to a separate, encrypted partition? Can I create this partition without damaging my current partition? Where is a trusted location to download App Armor profiles? What else can I do to harden the security of Ubuntu?
I am facing a serious problem.I installed UBUNTU 10.04 and encrypted it during installation. I accidentally erased some of the necessary files from root folder. now the the OS is NOT booting.luckily i still have the encryption key i have some important documents in that drive (desktop folder).
PS: I have tried to run Live Ubuntu it shows the Root, but it does not enter any of the folder.
First off I'm new to the openSUSE community and would just like to say So, to the issue at hand. I recently switched to openSUSE 11.4 from Debian. I noticed the setup didn't have an option encrypt the home folder like it does in Debian, so not being aware of any other way to encrypt it, I created a new partition, backed up my current home directory, created a new partition and mounted it as home before copying in the contents of the backup to the encrypted home partition I created. Now of course it is askingme to put the crypto password in at each boot, which isn't ideal because it's a family machine and no-one would remember the password but me. Is there any way of being able to automount the encrypted partition without having to put the key in every time? Or better yet an encrypted home folder that doesn't require the key to be put in on each login (as in Debian) without even using a dedicated partition.
I have a separate ext4 partition which contains all my data (music, movies, etc). When I delete files from this partition it is very slow because it copies files from my data partition to the Trash folder in my home partition. How can I avoid this? Can't the trash be configured so that it uses a trash folder in each partition instead of copying files to another partition (which is slow).
I want to install Ubuntu side by side with Windows. I have a big NTFS partition that has a folder with the same name as my username (let's say "joe"). Inside "joe" I have my personal files. Outside "joe" but still in the partition, there is random stuff that doesn't really belong anywhere, or now useless programs that I had to install there because the main Windows partition ran out of space. If during the Ubuntu installer I choose to use that partition as /home and make a user called "joe", will everything work fine?
I have a home directory which is mounted on the LVM partition,How can i reduce the size of LVM partiotion without loosing the data on home directory...whenever i use lvreduce command it show me a warning mesg that the whole data will be lost...reducing the size of LVM partition without loosing my home directory data.
I have just spent dome time using gparted to sort out my partitions. I have a vista partition, a fedora one and a big chunk of unallocated space I wish to use as my data drive.
I want to move my ~ folder to the new partition and have windows/vista access the folder and write to the Documents, Downloads folders etc.
What is the best format to use?
Also I plan to start backing up my partitions to a server, for instance using g4l to save a linux image (maby a windose one too). Is there any benifit in keeping all the hidden files (ones starting with period '.') i.e moving the whole ~ folder or would I be best off leaving the ~ dir and moving the folders I know i use such as ~/Downloads, ~/Documents etc?
And how should i preform the move of all these files? 'mv'? do i need to add any special options?
Trying to clean install 11.2 dual boot with Win xp already installed. How do I create a new home partition, don't want to preserve the existing home partition from a previous attempt. DVD installation and automatic config keeps saving the thing.
I have a host with CentOS 20 GB HD. I want to extract the backup file filename.tar.gz on the host. The file size is 14.9GB and hd is 20. Is there a way to extract the data on the same HD without having to download the file on my local pc and then extract and re-upload.
Suppose there is a list of files each containing an IP range 192.168.0.1-192.168.0.254 with their their respective downloads and uploads. I can extract the IP with 192.168.0.188 successfully from all the files,but when I want to extract the IP with 192.168.0.7 or like this , grep returned with IPs 192.168.0.7* .How will extract the exact lines having 192.168.0.7
Dummy me let root run out of space because I didn't know to use logrotate. I was able to compress the system logs but not before the damage was done me thinks; now the computer is unbootable. I booted from a LiveCD and got my old partitions mounted under /media/oldroot to try and recover files; however, I forgot that I had encrypted my home. I found [URL] and was following it; however, I seem to run into a bunch of path issues after I chroot.
The chroot command returns: bash: groups: command not found
The su command returns: -su: cut: command not found -su: getent: command not found -su: expr: command not found -su: groups: command not found
Finally, the ecryptfs-mount-private command returns: -su: ecryptfs-mount-private: command not found
I have separate partitons for /, /home, /tmp, /usr, and /usr/local and bothered to mount the first 2. (If only I had been ambitious enough to create a /var). I was running Ubuntu 10.10.
Elsewhere is my question about 11.3. I have had to abandon that and 11.3 as my RAM is too small. Now, for the first time in many years, I find it necessary to extract specific data from received .pdf files. According to OpenOffice, editing of these files is only possible from version 3.2. My concern is whether this later vesion will be compatible with 11.2.OpenOffice installed is 220.127.116.11-1.1.4-i586. The same question has been directed to their Forum.
I want to install Ubuntu 10.04 in my USB flash drive and boot from it because in my working place, only centos is installed in workstations.In advance, I thought of encrypting the installation of Ubuntu in the USB flash drive and In would be very thankfull if some can give me some help regarding this.Basically what I need is, encrypted Ubuntu installation in my usb fashdrive and can boot from it.