Double OS with full disk encryption?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















Can I install two instances of Ubuntu with two separate partitions for each one and still have full disk encryption?



I will do this on a laptop that I will carry to work and also use for personal stuff at home. One instance of Ubuntu will be used at work for work stuff, the other will be use at home for my personal stuff. I'd like the two to have 2 separate passwords and the partitions with their files be separate from each other, so that if someone at work finds out my work password they still can't access my personal stuff.










share|improve this question

























  • I'm not very familiar with Linux (I know about permissions, but not much) so if I put Ubuntu on partition 1 and all my files (work & personal) on partition 2, would the personal files be truly inaccessible to the work user? As far as I understand it it's just a matter of permissions - not that those files are encrypted somehow?

    – kat
    Apr 6 at 12:52






  • 2





    "so that if someone at work finds out my work password they still can't access my personal stuff." I fixed this differently: all my personal files are a partition that gets mounted when my wifi can connect to my home network.

    – Rinzwind
    Apr 6 at 13:24








  • 1





    I agree with @Rinzwind personal files can stored be in a LUKs encrypted partition that can be mounted either manually, or mounted when certain conditions (such as home WiFi connection) are met.

    – user68186
    Apr 6 at 13:47


















1















Can I install two instances of Ubuntu with two separate partitions for each one and still have full disk encryption?



I will do this on a laptop that I will carry to work and also use for personal stuff at home. One instance of Ubuntu will be used at work for work stuff, the other will be use at home for my personal stuff. I'd like the two to have 2 separate passwords and the partitions with their files be separate from each other, so that if someone at work finds out my work password they still can't access my personal stuff.










share|improve this question

























  • I'm not very familiar with Linux (I know about permissions, but not much) so if I put Ubuntu on partition 1 and all my files (work & personal) on partition 2, would the personal files be truly inaccessible to the work user? As far as I understand it it's just a matter of permissions - not that those files are encrypted somehow?

    – kat
    Apr 6 at 12:52






  • 2





    "so that if someone at work finds out my work password they still can't access my personal stuff." I fixed this differently: all my personal files are a partition that gets mounted when my wifi can connect to my home network.

    – Rinzwind
    Apr 6 at 13:24








  • 1





    I agree with @Rinzwind personal files can stored be in a LUKs encrypted partition that can be mounted either manually, or mounted when certain conditions (such as home WiFi connection) are met.

    – user68186
    Apr 6 at 13:47














1












1








1








Can I install two instances of Ubuntu with two separate partitions for each one and still have full disk encryption?



I will do this on a laptop that I will carry to work and also use for personal stuff at home. One instance of Ubuntu will be used at work for work stuff, the other will be use at home for my personal stuff. I'd like the two to have 2 separate passwords and the partitions with their files be separate from each other, so that if someone at work finds out my work password they still can't access my personal stuff.










share|improve this question
















Can I install two instances of Ubuntu with two separate partitions for each one and still have full disk encryption?



I will do this on a laptop that I will carry to work and also use for personal stuff at home. One instance of Ubuntu will be used at work for work stuff, the other will be use at home for my personal stuff. I'd like the two to have 2 separate passwords and the partitions with their files be separate from each other, so that if someone at work finds out my work password they still can't access my personal stuff.







partitioning encryption






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 6 at 12:20









DK Bose

15.4k124389




15.4k124389










asked Apr 6 at 12:06









katkat

5029




5029













  • I'm not very familiar with Linux (I know about permissions, but not much) so if I put Ubuntu on partition 1 and all my files (work & personal) on partition 2, would the personal files be truly inaccessible to the work user? As far as I understand it it's just a matter of permissions - not that those files are encrypted somehow?

    – kat
    Apr 6 at 12:52






  • 2





    "so that if someone at work finds out my work password they still can't access my personal stuff." I fixed this differently: all my personal files are a partition that gets mounted when my wifi can connect to my home network.

    – Rinzwind
    Apr 6 at 13:24








  • 1





    I agree with @Rinzwind personal files can stored be in a LUKs encrypted partition that can be mounted either manually, or mounted when certain conditions (such as home WiFi connection) are met.

    – user68186
    Apr 6 at 13:47



















  • I'm not very familiar with Linux (I know about permissions, but not much) so if I put Ubuntu on partition 1 and all my files (work & personal) on partition 2, would the personal files be truly inaccessible to the work user? As far as I understand it it's just a matter of permissions - not that those files are encrypted somehow?

    – kat
    Apr 6 at 12:52






  • 2





    "so that if someone at work finds out my work password they still can't access my personal stuff." I fixed this differently: all my personal files are a partition that gets mounted when my wifi can connect to my home network.

    – Rinzwind
    Apr 6 at 13:24








  • 1





    I agree with @Rinzwind personal files can stored be in a LUKs encrypted partition that can be mounted either manually, or mounted when certain conditions (such as home WiFi connection) are met.

    – user68186
    Apr 6 at 13:47

















I'm not very familiar with Linux (I know about permissions, but not much) so if I put Ubuntu on partition 1 and all my files (work & personal) on partition 2, would the personal files be truly inaccessible to the work user? As far as I understand it it's just a matter of permissions - not that those files are encrypted somehow?

– kat
Apr 6 at 12:52





I'm not very familiar with Linux (I know about permissions, but not much) so if I put Ubuntu on partition 1 and all my files (work & personal) on partition 2, would the personal files be truly inaccessible to the work user? As far as I understand it it's just a matter of permissions - not that those files are encrypted somehow?

– kat
Apr 6 at 12:52




2




2





"so that if someone at work finds out my work password they still can't access my personal stuff." I fixed this differently: all my personal files are a partition that gets mounted when my wifi can connect to my home network.

– Rinzwind
Apr 6 at 13:24







"so that if someone at work finds out my work password they still can't access my personal stuff." I fixed this differently: all my personal files are a partition that gets mounted when my wifi can connect to my home network.

– Rinzwind
Apr 6 at 13:24






1




1





I agree with @Rinzwind personal files can stored be in a LUKs encrypted partition that can be mounted either manually, or mounted when certain conditions (such as home WiFi connection) are met.

– user68186
Apr 6 at 13:47





I agree with @Rinzwind personal files can stored be in a LUKs encrypted partition that can be mounted either manually, or mounted when certain conditions (such as home WiFi connection) are met.

– user68186
Apr 6 at 13:47










2 Answers
2






active

oldest

votes


















3














You can indeed install multiple linux versions that each reside on encrypted partitions. "Full disk encryption" does not really mean that the entire disk is encrypted. It rather means that all partitions involved in the installation are encrypted, with the exception of a separate /boot partition. A boot partition cannot be encrypted, because the data need to be accessed during the booting process.






share|improve this answer
























  • But doesn't Ubuntu encrypt all partitions when you choose a password?

    – kat
    Apr 7 at 12:20











  • The system could never boot if the /boot folder also would be encrypted. An encrypted install will only encrypt the partitions involved in the installation, not any other partitions existing on the drive.

    – vanadium
    Apr 7 at 12:53





















0














If the computer is powerful enough, there is a simple solution: Let the system, where you need most 'horsepower' be the main one and host system for a virtual machine.



Assume that you want the work system to be the main one.




  • Install VirtualBox or KVM+VirtualBox or another tool for virtualization.


  • Create a guest operating system for your home stuff. This system can reside in a virtual disk with disk encryption (with another passphrase than that of your work system).







share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131659%2fdouble-os-with-full-disk-encryption%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    You can indeed install multiple linux versions that each reside on encrypted partitions. "Full disk encryption" does not really mean that the entire disk is encrypted. It rather means that all partitions involved in the installation are encrypted, with the exception of a separate /boot partition. A boot partition cannot be encrypted, because the data need to be accessed during the booting process.






    share|improve this answer
























    • But doesn't Ubuntu encrypt all partitions when you choose a password?

      – kat
      Apr 7 at 12:20











    • The system could never boot if the /boot folder also would be encrypted. An encrypted install will only encrypt the partitions involved in the installation, not any other partitions existing on the drive.

      – vanadium
      Apr 7 at 12:53


















    3














    You can indeed install multiple linux versions that each reside on encrypted partitions. "Full disk encryption" does not really mean that the entire disk is encrypted. It rather means that all partitions involved in the installation are encrypted, with the exception of a separate /boot partition. A boot partition cannot be encrypted, because the data need to be accessed during the booting process.






    share|improve this answer
























    • But doesn't Ubuntu encrypt all partitions when you choose a password?

      – kat
      Apr 7 at 12:20











    • The system could never boot if the /boot folder also would be encrypted. An encrypted install will only encrypt the partitions involved in the installation, not any other partitions existing on the drive.

      – vanadium
      Apr 7 at 12:53
















    3












    3








    3







    You can indeed install multiple linux versions that each reside on encrypted partitions. "Full disk encryption" does not really mean that the entire disk is encrypted. It rather means that all partitions involved in the installation are encrypted, with the exception of a separate /boot partition. A boot partition cannot be encrypted, because the data need to be accessed during the booting process.






    share|improve this answer













    You can indeed install multiple linux versions that each reside on encrypted partitions. "Full disk encryption" does not really mean that the entire disk is encrypted. It rather means that all partitions involved in the installation are encrypted, with the exception of a separate /boot partition. A boot partition cannot be encrypted, because the data need to be accessed during the booting process.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Apr 6 at 13:11









    vanadiumvanadium

    8,26011533




    8,26011533













    • But doesn't Ubuntu encrypt all partitions when you choose a password?

      – kat
      Apr 7 at 12:20











    • The system could never boot if the /boot folder also would be encrypted. An encrypted install will only encrypt the partitions involved in the installation, not any other partitions existing on the drive.

      – vanadium
      Apr 7 at 12:53





















    • But doesn't Ubuntu encrypt all partitions when you choose a password?

      – kat
      Apr 7 at 12:20











    • The system could never boot if the /boot folder also would be encrypted. An encrypted install will only encrypt the partitions involved in the installation, not any other partitions existing on the drive.

      – vanadium
      Apr 7 at 12:53



















    But doesn't Ubuntu encrypt all partitions when you choose a password?

    – kat
    Apr 7 at 12:20





    But doesn't Ubuntu encrypt all partitions when you choose a password?

    – kat
    Apr 7 at 12:20













    The system could never boot if the /boot folder also would be encrypted. An encrypted install will only encrypt the partitions involved in the installation, not any other partitions existing on the drive.

    – vanadium
    Apr 7 at 12:53







    The system could never boot if the /boot folder also would be encrypted. An encrypted install will only encrypt the partitions involved in the installation, not any other partitions existing on the drive.

    – vanadium
    Apr 7 at 12:53















    0














    If the computer is powerful enough, there is a simple solution: Let the system, where you need most 'horsepower' be the main one and host system for a virtual machine.



    Assume that you want the work system to be the main one.




    • Install VirtualBox or KVM+VirtualBox or another tool for virtualization.


    • Create a guest operating system for your home stuff. This system can reside in a virtual disk with disk encryption (with another passphrase than that of your work system).







    share|improve this answer




























      0














      If the computer is powerful enough, there is a simple solution: Let the system, where you need most 'horsepower' be the main one and host system for a virtual machine.



      Assume that you want the work system to be the main one.




      • Install VirtualBox or KVM+VirtualBox or another tool for virtualization.


      • Create a guest operating system for your home stuff. This system can reside in a virtual disk with disk encryption (with another passphrase than that of your work system).







      share|improve this answer


























        0












        0








        0







        If the computer is powerful enough, there is a simple solution: Let the system, where you need most 'horsepower' be the main one and host system for a virtual machine.



        Assume that you want the work system to be the main one.




        • Install VirtualBox or KVM+VirtualBox or another tool for virtualization.


        • Create a guest operating system for your home stuff. This system can reside in a virtual disk with disk encryption (with another passphrase than that of your work system).







        share|improve this answer













        If the computer is powerful enough, there is a simple solution: Let the system, where you need most 'horsepower' be the main one and host system for a virtual machine.



        Assume that you want the work system to be the main one.




        • Install VirtualBox or KVM+VirtualBox or another tool for virtualization.


        • Create a guest operating system for your home stuff. This system can reside in a virtual disk with disk encryption (with another passphrase than that of your work system).








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 6 at 14:00









        sudodussudodus

        25.8k33179




        25.8k33179






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131659%2fdouble-os-with-full-disk-encryption%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b