How can I encrypt my hard drive? [duplicate]












0















This question already has an answer here:




  • Enable disk encryption after installation

    5 answers




I am running 16.04 and I want to encrypt my computer. How can I do that?



I haven't had much luck searching online.










share|improve this question













marked as duplicate by WinEunuuchs2Unix, karel, Charles Green, Eric Carvalho, George Udosen Jan 4 at 10:06


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















    0















    This question already has an answer here:




    • Enable disk encryption after installation

      5 answers




    I am running 16.04 and I want to encrypt my computer. How can I do that?



    I haven't had much luck searching online.










    share|improve this question













    marked as duplicate by WinEunuuchs2Unix, karel, Charles Green, Eric Carvalho, George Udosen Jan 4 at 10:06


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















      0












      0








      0








      This question already has an answer here:




      • Enable disk encryption after installation

        5 answers




      I am running 16.04 and I want to encrypt my computer. How can I do that?



      I haven't had much luck searching online.










      share|improve this question














      This question already has an answer here:




      • Enable disk encryption after installation

        5 answers




      I am running 16.04 and I want to encrypt my computer. How can I do that?



      I haven't had much luck searching online.





      This question already has an answer here:




      • Enable disk encryption after installation

        5 answers








      encryption






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 18 '16 at 0:00









      user62372user62372

      3618




      3618




      marked as duplicate by WinEunuuchs2Unix, karel, Charles Green, Eric Carvalho, George Udosen Jan 4 at 10:06


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by WinEunuuchs2Unix, karel, Charles Green, Eric Carvalho, George Udosen Jan 4 at 10:06


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          3 Answers
          3






          active

          oldest

          votes


















          0














          You can use the "encrypt OS" option when installing Ubuntu but I've ran into errors with Nvidia video drivers trying to do that. But this will probably work if you aren't trying to use 3rd party drivers.



          You can also use the "encrypt home directory" option when installing Ubuntu. I'm using this currently and I haven't had any issues.



          Also there's a program called encfs which works well for encrypting folders. Install it using sudo apt-get install encfs and learn how to use it by typing man encfs






          share|improve this answer

















          • 1




            You mentioned I can do those things when installing Ubuntu. Is there anything I can do if Ubuntu is already installed?
            – user62372
            Nov 18 '16 at 13:52



















          0














          There is documentation provided for every version of Ubuntu after 12.10.



          The official document states:




          During installation, check the checkbox “Encrypt the new Ubuntu installation for security




          There is a good guide on eCryptfs here



          Here are the quoted instructions:




          First, install the necessary packages. From a terminal prompt enter:



          sudo apt install ecryptfs-utils



          Now mount the partition to be encrypted:



          sudo mount -t ecryptfs /srv /srv



          You will then be prompted for some details on how ecryptfs should encrypt the data.



          To test that files placed in /srv are indeed encrypted copy the /etc/default folder to /srv:



          sudo cp -r /etc/default /srv



          Now unmount /srv, and try to view a file:



          sudo umount /srv



          cat /srv/default/cron



          Remounting /srv using ecryptfs will make the data viewable once again.




          You can find information here (some are old, but relevant):




          • https://help.ubuntu.com/community/FullDiskEncryptionHowto

          • https://www.eff.org/deeplinks/2012/11/privacy-ubuntu-1210-full-disk-encryption

          • http://thesimplecomputer.info/full-disk-encryption-with-ubuntu

          • Ubuntu full disk encryption with encrypted /boot

          • Enable disk encryption after installation

          • https://utappia.org/2016/03/23/how-to-do-a-full-disk-encryption-with-ubuntu-installation/


          And many more resources found via Google.






          share|improve this answer























          • What can I do now that Ubuntu is already installed? Thanks!
            – user62372
            Nov 18 '16 at 13:54



















          0














          Have you tried VeraCrypt ?



          https://www.veracrypt.fr/en/Downloads.html




          Creates a virtual encrypted disk within a file and mounts it as a real disk.
          Encrypts an entire partition or storage device such as USB flash drive or hard drive.
          Encrypts a partition or drive where Windows is installed (pre-boot authentication).
          Encryption is automatic, real-time(on-the-fly) and transparent.
          Parallelization and pipelining allow data to be read and written as fast as if the drive was not encrypted.
          Encryption can be hardware-accelerated on modern processors.
          Provides plausible deniability, in case an adversary forces you to reveal the password: Hidden volume (steganography) and hidden


          operating system.
          More information about the features of VeraCrypt may be found in the documentation




          I haven't tried the below links, but it should help



          https://www.linuxbabe.com/ubuntu/install-veracrypt-ubuntu-16-04-16-10



          https://www.youtube.com/watch?v=BY83PuG4uLE






          share|improve this answer




























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You can use the "encrypt OS" option when installing Ubuntu but I've ran into errors with Nvidia video drivers trying to do that. But this will probably work if you aren't trying to use 3rd party drivers.



            You can also use the "encrypt home directory" option when installing Ubuntu. I'm using this currently and I haven't had any issues.



            Also there's a program called encfs which works well for encrypting folders. Install it using sudo apt-get install encfs and learn how to use it by typing man encfs






            share|improve this answer

















            • 1




              You mentioned I can do those things when installing Ubuntu. Is there anything I can do if Ubuntu is already installed?
              – user62372
              Nov 18 '16 at 13:52
















            0














            You can use the "encrypt OS" option when installing Ubuntu but I've ran into errors with Nvidia video drivers trying to do that. But this will probably work if you aren't trying to use 3rd party drivers.



            You can also use the "encrypt home directory" option when installing Ubuntu. I'm using this currently and I haven't had any issues.



            Also there's a program called encfs which works well for encrypting folders. Install it using sudo apt-get install encfs and learn how to use it by typing man encfs






            share|improve this answer

















            • 1




              You mentioned I can do those things when installing Ubuntu. Is there anything I can do if Ubuntu is already installed?
              – user62372
              Nov 18 '16 at 13:52














            0












            0








            0






            You can use the "encrypt OS" option when installing Ubuntu but I've ran into errors with Nvidia video drivers trying to do that. But this will probably work if you aren't trying to use 3rd party drivers.



            You can also use the "encrypt home directory" option when installing Ubuntu. I'm using this currently and I haven't had any issues.



            Also there's a program called encfs which works well for encrypting folders. Install it using sudo apt-get install encfs and learn how to use it by typing man encfs






            share|improve this answer












            You can use the "encrypt OS" option when installing Ubuntu but I've ran into errors with Nvidia video drivers trying to do that. But this will probably work if you aren't trying to use 3rd party drivers.



            You can also use the "encrypt home directory" option when installing Ubuntu. I'm using this currently and I haven't had any issues.



            Also there's a program called encfs which works well for encrypting folders. Install it using sudo apt-get install encfs and learn how to use it by typing man encfs







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 18 '16 at 2:12









            Nug UNug U

            741110




            741110








            • 1




              You mentioned I can do those things when installing Ubuntu. Is there anything I can do if Ubuntu is already installed?
              – user62372
              Nov 18 '16 at 13:52














            • 1




              You mentioned I can do those things when installing Ubuntu. Is there anything I can do if Ubuntu is already installed?
              – user62372
              Nov 18 '16 at 13:52








            1




            1




            You mentioned I can do those things when installing Ubuntu. Is there anything I can do if Ubuntu is already installed?
            – user62372
            Nov 18 '16 at 13:52




            You mentioned I can do those things when installing Ubuntu. Is there anything I can do if Ubuntu is already installed?
            – user62372
            Nov 18 '16 at 13:52













            0














            There is documentation provided for every version of Ubuntu after 12.10.



            The official document states:




            During installation, check the checkbox “Encrypt the new Ubuntu installation for security




            There is a good guide on eCryptfs here



            Here are the quoted instructions:




            First, install the necessary packages. From a terminal prompt enter:



            sudo apt install ecryptfs-utils



            Now mount the partition to be encrypted:



            sudo mount -t ecryptfs /srv /srv



            You will then be prompted for some details on how ecryptfs should encrypt the data.



            To test that files placed in /srv are indeed encrypted copy the /etc/default folder to /srv:



            sudo cp -r /etc/default /srv



            Now unmount /srv, and try to view a file:



            sudo umount /srv



            cat /srv/default/cron



            Remounting /srv using ecryptfs will make the data viewable once again.




            You can find information here (some are old, but relevant):




            • https://help.ubuntu.com/community/FullDiskEncryptionHowto

            • https://www.eff.org/deeplinks/2012/11/privacy-ubuntu-1210-full-disk-encryption

            • http://thesimplecomputer.info/full-disk-encryption-with-ubuntu

            • Ubuntu full disk encryption with encrypted /boot

            • Enable disk encryption after installation

            • https://utappia.org/2016/03/23/how-to-do-a-full-disk-encryption-with-ubuntu-installation/


            And many more resources found via Google.






            share|improve this answer























            • What can I do now that Ubuntu is already installed? Thanks!
              – user62372
              Nov 18 '16 at 13:54
















            0














            There is documentation provided for every version of Ubuntu after 12.10.



            The official document states:




            During installation, check the checkbox “Encrypt the new Ubuntu installation for security




            There is a good guide on eCryptfs here



            Here are the quoted instructions:




            First, install the necessary packages. From a terminal prompt enter:



            sudo apt install ecryptfs-utils



            Now mount the partition to be encrypted:



            sudo mount -t ecryptfs /srv /srv



            You will then be prompted for some details on how ecryptfs should encrypt the data.



            To test that files placed in /srv are indeed encrypted copy the /etc/default folder to /srv:



            sudo cp -r /etc/default /srv



            Now unmount /srv, and try to view a file:



            sudo umount /srv



            cat /srv/default/cron



            Remounting /srv using ecryptfs will make the data viewable once again.




            You can find information here (some are old, but relevant):




            • https://help.ubuntu.com/community/FullDiskEncryptionHowto

            • https://www.eff.org/deeplinks/2012/11/privacy-ubuntu-1210-full-disk-encryption

            • http://thesimplecomputer.info/full-disk-encryption-with-ubuntu

            • Ubuntu full disk encryption with encrypted /boot

            • Enable disk encryption after installation

            • https://utappia.org/2016/03/23/how-to-do-a-full-disk-encryption-with-ubuntu-installation/


            And many more resources found via Google.






            share|improve this answer























            • What can I do now that Ubuntu is already installed? Thanks!
              – user62372
              Nov 18 '16 at 13:54














            0












            0








            0






            There is documentation provided for every version of Ubuntu after 12.10.



            The official document states:




            During installation, check the checkbox “Encrypt the new Ubuntu installation for security




            There is a good guide on eCryptfs here



            Here are the quoted instructions:




            First, install the necessary packages. From a terminal prompt enter:



            sudo apt install ecryptfs-utils



            Now mount the partition to be encrypted:



            sudo mount -t ecryptfs /srv /srv



            You will then be prompted for some details on how ecryptfs should encrypt the data.



            To test that files placed in /srv are indeed encrypted copy the /etc/default folder to /srv:



            sudo cp -r /etc/default /srv



            Now unmount /srv, and try to view a file:



            sudo umount /srv



            cat /srv/default/cron



            Remounting /srv using ecryptfs will make the data viewable once again.




            You can find information here (some are old, but relevant):




            • https://help.ubuntu.com/community/FullDiskEncryptionHowto

            • https://www.eff.org/deeplinks/2012/11/privacy-ubuntu-1210-full-disk-encryption

            • http://thesimplecomputer.info/full-disk-encryption-with-ubuntu

            • Ubuntu full disk encryption with encrypted /boot

            • Enable disk encryption after installation

            • https://utappia.org/2016/03/23/how-to-do-a-full-disk-encryption-with-ubuntu-installation/


            And many more resources found via Google.






            share|improve this answer














            There is documentation provided for every version of Ubuntu after 12.10.



            The official document states:




            During installation, check the checkbox “Encrypt the new Ubuntu installation for security




            There is a good guide on eCryptfs here



            Here are the quoted instructions:




            First, install the necessary packages. From a terminal prompt enter:



            sudo apt install ecryptfs-utils



            Now mount the partition to be encrypted:



            sudo mount -t ecryptfs /srv /srv



            You will then be prompted for some details on how ecryptfs should encrypt the data.



            To test that files placed in /srv are indeed encrypted copy the /etc/default folder to /srv:



            sudo cp -r /etc/default /srv



            Now unmount /srv, and try to view a file:



            sudo umount /srv



            cat /srv/default/cron



            Remounting /srv using ecryptfs will make the data viewable once again.




            You can find information here (some are old, but relevant):




            • https://help.ubuntu.com/community/FullDiskEncryptionHowto

            • https://www.eff.org/deeplinks/2012/11/privacy-ubuntu-1210-full-disk-encryption

            • http://thesimplecomputer.info/full-disk-encryption-with-ubuntu

            • Ubuntu full disk encryption with encrypted /boot

            • Enable disk encryption after installation

            • https://utappia.org/2016/03/23/how-to-do-a-full-disk-encryption-with-ubuntu-installation/


            And many more resources found via Google.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:24









            Community

            1




            1










            answered Nov 18 '16 at 0:03









            ThatGuyThatGuy

            3,41311033




            3,41311033












            • What can I do now that Ubuntu is already installed? Thanks!
              – user62372
              Nov 18 '16 at 13:54


















            • What can I do now that Ubuntu is already installed? Thanks!
              – user62372
              Nov 18 '16 at 13:54
















            What can I do now that Ubuntu is already installed? Thanks!
            – user62372
            Nov 18 '16 at 13:54




            What can I do now that Ubuntu is already installed? Thanks!
            – user62372
            Nov 18 '16 at 13:54











            0














            Have you tried VeraCrypt ?



            https://www.veracrypt.fr/en/Downloads.html




            Creates a virtual encrypted disk within a file and mounts it as a real disk.
            Encrypts an entire partition or storage device such as USB flash drive or hard drive.
            Encrypts a partition or drive where Windows is installed (pre-boot authentication).
            Encryption is automatic, real-time(on-the-fly) and transparent.
            Parallelization and pipelining allow data to be read and written as fast as if the drive was not encrypted.
            Encryption can be hardware-accelerated on modern processors.
            Provides plausible deniability, in case an adversary forces you to reveal the password: Hidden volume (steganography) and hidden


            operating system.
            More information about the features of VeraCrypt may be found in the documentation




            I haven't tried the below links, but it should help



            https://www.linuxbabe.com/ubuntu/install-veracrypt-ubuntu-16-04-16-10



            https://www.youtube.com/watch?v=BY83PuG4uLE






            share|improve this answer


























              0














              Have you tried VeraCrypt ?



              https://www.veracrypt.fr/en/Downloads.html




              Creates a virtual encrypted disk within a file and mounts it as a real disk.
              Encrypts an entire partition or storage device such as USB flash drive or hard drive.
              Encrypts a partition or drive where Windows is installed (pre-boot authentication).
              Encryption is automatic, real-time(on-the-fly) and transparent.
              Parallelization and pipelining allow data to be read and written as fast as if the drive was not encrypted.
              Encryption can be hardware-accelerated on modern processors.
              Provides plausible deniability, in case an adversary forces you to reveal the password: Hidden volume (steganography) and hidden


              operating system.
              More information about the features of VeraCrypt may be found in the documentation




              I haven't tried the below links, but it should help



              https://www.linuxbabe.com/ubuntu/install-veracrypt-ubuntu-16-04-16-10



              https://www.youtube.com/watch?v=BY83PuG4uLE






              share|improve this answer
























                0












                0








                0






                Have you tried VeraCrypt ?



                https://www.veracrypt.fr/en/Downloads.html




                Creates a virtual encrypted disk within a file and mounts it as a real disk.
                Encrypts an entire partition or storage device such as USB flash drive or hard drive.
                Encrypts a partition or drive where Windows is installed (pre-boot authentication).
                Encryption is automatic, real-time(on-the-fly) and transparent.
                Parallelization and pipelining allow data to be read and written as fast as if the drive was not encrypted.
                Encryption can be hardware-accelerated on modern processors.
                Provides plausible deniability, in case an adversary forces you to reveal the password: Hidden volume (steganography) and hidden


                operating system.
                More information about the features of VeraCrypt may be found in the documentation




                I haven't tried the below links, but it should help



                https://www.linuxbabe.com/ubuntu/install-veracrypt-ubuntu-16-04-16-10



                https://www.youtube.com/watch?v=BY83PuG4uLE






                share|improve this answer












                Have you tried VeraCrypt ?



                https://www.veracrypt.fr/en/Downloads.html




                Creates a virtual encrypted disk within a file and mounts it as a real disk.
                Encrypts an entire partition or storage device such as USB flash drive or hard drive.
                Encrypts a partition or drive where Windows is installed (pre-boot authentication).
                Encryption is automatic, real-time(on-the-fly) and transparent.
                Parallelization and pipelining allow data to be read and written as fast as if the drive was not encrypted.
                Encryption can be hardware-accelerated on modern processors.
                Provides plausible deniability, in case an adversary forces you to reveal the password: Hidden volume (steganography) and hidden


                operating system.
                More information about the features of VeraCrypt may be found in the documentation




                I haven't tried the below links, but it should help



                https://www.linuxbabe.com/ubuntu/install-veracrypt-ubuntu-16-04-16-10



                https://www.youtube.com/watch?v=BY83PuG4uLE







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 15 '18 at 4:43









                user227495user227495

                1,10442543




                1,10442543















                    Popular posts from this blog

                    Questions related to Moebius Transform of Characteristic Function of the Primes

                    List of scandals in India

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?