0

Here is the issue, I encrypted my installation so at boot I need to enter a passphrase. Now I want to remove this so I can resize the main drive, i have tried every possible scenario nothing works.

When I run "ecryptfs-setup-private -undo" I get "The program 'ecryptfs-> > setup-private' is currently not installed. You can install it by typing: sudo apt-get install ecryptfs-utils".

If this is the case then what is encrypting my drive. A newbie to Ubuntu so be gentle.

I simple want to achieve two things

  1. Completely remove the system wide encryption, and or
  2. Leave the encryption in place and re-size my boot drive by shrinking the home drive.

The explanation here is too assuming and hence complicated for a newbie, and does not address the second option.

  • Is the encryption on the whole drive or on your home folder? – Alex Lowe Dec 4 '15 at 22:42
  • Its the whole drive as I have to enter a passphrase at system boot! – George Udosen Dec 4 '15 at 23:21
  • How many drives do you have in your system? – Alex Lowe Dec 4 '15 at 23:32
  • One with three partions, sda1-3! – George Udosen Dec 4 '15 at 23:44
  • 2
    Possible duplicate of Can I disable full-disk encryption? – Xen2050 Dec 5 '15 at 11:15
1

The command you describe (ecryptfs-setup-private) is for home directory encryption. This is another kind of encryption that just encrypts your home directory and is not the full disk type. So in your case, this is not what you have.

Your best bet is to copy the data off and reinstall. However, if you are just trying to avoid the password at boot then you can work around the problem as described here (make sure you have a backup first just in case)

http://atterer.org/linux-remove-disable-luks-encryption-password-on-disk-partition-crypttab-initrd

via an answer here:

Can I disable full-disk encryption?

  • I went for the circumvent option and my system crashed but lucky for me I had a back-up, so the copy option was my solution. Thanks Oliver, but I won't suggest the circumvent option for a newbie like me! – George Udosen Dec 7 '15 at 14:02
  • ouch! I'm glad you had that backup. In the long run, you'll probably be happier with the copy option. – Oliver Oberdorf Dec 7 '15 at 16:57

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.