0

I have changed my laptop's hard drive for a bigger one, and because the installation of elemmentary was corrupted somehow (didn't start the OS)

Now when I mount the hard drive as an external drive, I can't access the data inside the /home folder because it's encrypted, but I don't remember what is the password that I have set to that folder.

Is there any way to "break" the encryption of that folder?

Thanks in advance!

  • Do you remember your login password? – Suici Doga Mar 5 '16 at 10:49
  • I've used the answer given down below. It works perfectly but until now I couldn't mark it as a correct answer, sorry for any inconvenience and thanks! – a.ras2002 Mar 7 '16 at 7:44
  • Ok. So problem solved – Suici Doga Mar 7 '16 at 7:52
  • Yes, luckily for me it was solved! – a.ras2002 Mar 7 '16 at 11:58
1

Is there any way to "break" the encryption of that folder?

Yes, there is. This post here seems similar to yours. You should also read the official Ubuntu Documentation about Encrypted /home folder, here: Encrypted home folder

In order to decrypt a whole filesystem: Mount encrypted volumes from command line? See the first answer.

Here is the official Ubuntu Documentation for mounting encrypted external filesystems: EncryptedFilesystemsOnExternalStorage

You should also read about LUKS(Linux Unified Key Setup), the disk encryption system in Linux. Here is a full detailed wiki on LUKS: LUKS: Linux Unified Key Setup

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.