Quantcast
Channel: Repair broken encrypted home - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

Repair broken encrypted home

$
0
0

I've ran into following problem. I have split my disk into two partitions, one for / and one form /home. I've also encrypted /home.

One beautiful day ubuntu reports upon boot some broken files, attempts to fix them, but still does not let me in - I enter my password, it is accepted, but I stay on the login screen.

I've downloaded the livecd and ran the disk check - it reports two broken files, but does not say which files nor offers any option to repair them.

Via nautilus I can see the contents of the drive, it contains two files:
Access-Your-Private-Data.desktop
README.txt

The README says to access my data I must run "ecryptfs-mount-private" but when I ran it:
ubuntu@ubuntu:~$ ecryptfs-mount-private
ERROR: Encrypted private directory is not setup properly

So I've looked up how to mount encrypted partitions and come to this Mount encrypted volumes from command line? but then I get this:
ubuntu@ubuntu:~$ sudo cryptsetup luksOpen /dev/sda7 home
Device /dev/sda7 is not a valid LUKS device.

I'm not exactly sure what the problem is and I'm not that familiar with ubuntu/linux administration. Can you please help me locate the problem and fix it. I just want to access my data and ssh keys.

Ubuntu version is 14.04.

Many thanks in advance. Cheers


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images