0

I am looking to encrypt my Hard-Disk, but all the steps I found say that I have to re-install ubuntu and I do not want it. Can I do it not necessarily erasing all my data?

There are a few examples of sources that I found

https://jumpcloud.com/blog/how-to-enable-full-disk-encryption-on-an-ubuntu-20-04-desktop

full disk encryption with 20.04

  • You don't necessarily have to reinstall Ubuntu -- I think it comes down to which disk you want encrypted. You can have Ubuntu installed on an unencrypted disk and have data files on a separate partition that is encrypted. In this case, you wouldn't need to reinstall Ubuntu. – Ray Sep 13 '22 at 16:50
  • The title does not match the body of the question, so it's unclear whether your question is about encryption or about a database. – user535733 Sep 13 '22 at 17:32
  • 1
    Does this answer your question? Enable disk encryption after installation. Like most things, it is technically possible, but the burden to achieve it would be way worse than a reinstall. So practically, no, you can't. You should reinstall the system if you want to set up full disk encryption. – Nmath Sep 13 '22 at 18:44
  • maybe u can try ecryptfs? not full disk encryption but I remember doing it post installation – Cagri Sep 14 '22 at 00:04

1 Answers1

2

Yes, you will need to erase your current disk contents to set up the LVM, required for the encryption of your operating system and user data.

Of course, before proceeding, you will make sure your backups of your personal data are up to date, so you can restore data to the newly installed system.

vanadium
  • 88,010