Is there a tool like the Bitlocker to encrypt the whole Ubuntu partition? To be more specific every time I try to boot in the Windows partition a Bitlocker screen shows up and asks me to insert a password. Is it possible to do the same in Ubuntu?
51 Answer
Yes.
Could use whole-disk encryption like LUKS/dm-crypt/cryptsetup, or file/folder (like home folder) encryption with eCryptfs or EncFS. See their man pages for more info.
Here's an excellent overview/guide from Arch, I'm 98% sure the tools are available in Ubuntu/Debian too:
Here's some other Questions that are related. It seems that enabling whole-disk dm-crypt style encryption after installing is at least very difficult, apparently it's easier to do a fresh install with full disk encryption
- Enable disk encryption after installation
- Is there a way to do full disk encryption after the install? (spoiler: No)