How to create dual boot with LUKS/LVM full partition encryption on same disk?Boot drops to a (initramfs)...

Biological Blimps: Propulsion

What was the exact wording from Ivanhoe of this advice on how to free yourself from slavery?

Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?

In Qur'an 7:161, why is "say the word of humility" translated in various ways?

Why is so much work done on numerical verification of the Riemann Hypothesis?

What does chmod -u do?

How can "mimic phobia" be cured or prevented?

Pre-mixing cryogenic fuels and using only one fuel tank

How can we generalize the fact of finite dimensional vector space to an infinte dimensional case?

Yosemite Fire Rings - What to Expect?

Count the occurrence of each unique word in the file

How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?

Lowest total scrabble score

If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?

WiFi Thermostat, No C Terminal on Furnace

What was this official D&D 3.5e Lovecraft-flavored rulebook?

Problem with TransformedDistribution

Does a 'pending' US visa application constitute a denial?

How could a planet have erratic days?

Drawing ramified coverings with tikz

How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?

How do I color the graph in datavisualization?

How do you make your own symbol when Detexify fails?

Calculating Wattage for Resistor in High Frequency Application?



How to create dual boot with LUKS/LVM full partition encryption on same disk?


Boot drops to a (initramfs) prompts/busyboxHow can I install Ubuntu encrypted with LUKS with dual-boot?Ubuntu dual-boot with LVM and LUKS install failsWindows 7 not booting after installing Ubuntu 12.04 from wubiBooting Into Fresh Install of Ubuntu on Lenovo x120eUbuntu full disk encryption with encrypted /bootLUKS LVM device mapped by UUID instead of e.g. sda5_cryptIssues with GRUB on reinstallation of Ubuntu 16.04 (dual-boot)Ubuntu dual-boot with LVM and LUKS install failsLUKS/Cryptosetup and LVM: can't input passwords after bootHow do I move/home folder to a luks encrypted external drive?What needs to be done to prepare a stock, non LUKS Ubuntu install to boot from a LUKS encrypted partition with a separate /boot partition?Grub Rescue Fails using Live USB













0















I followed this tutorial from 2014: https://www.oxygenimpaired.com/multiple-linux-distro-installs-on-a-luks-encrypted-harddrive



I am installing Linux Mint 19.1 XFCE and Ubuntu 18.04, both fully encrypted in a single disk. First I installed Linux Mint on /dev/sda5.



After following all steps to install the first Linux, and rebooting the machine, I got into the Boot drops to a (initramfs) prompts/busybox with this error:




  1. enter image description here


When following the tutorial, I ran the following commands:





  1. fdisk /dev/sda, then, created the following partitions:


    • enter image description here



  2. cryptsetup luksFormat /dev/sda5

  3. cryptsetup luksOpen /dev/sda5 sda5_crypt

  4. pvcreate /dev/mapper/sda5_crypt

  5. vgcreate vggroup /dev/mapper/sda5_crypt

  6. lvcreate -L1G -n mint_xfce_swap vggroup


  7. lvcreate -L8.9G -n mint_xfce_root vggroup


    • enter image description here



  8. mkdir /mnt/newroot

  9. mount /dev/mapper/[vg-name]-[root1-lv-name] /mnt/newroot

  10. mount -o bind /proc /mnt/newroot/proc

  11. mount -o bind /dev /mnt/newroot/dev

  12. mount -o bind /dev/pts /mnt/newroot/dev/pts

  13. mount -o bind /sys /mnt/newroot/sys

  14. cd /mnt/newroot

  15. chroot /mnt/newroot

  16. mount /dev/sda1 /boot


  17. blkid /dev/sda5


    • enter image description here

    • enter image description here

    • enter image description here



  18. update-initramfs -u


  19. update-grub


    • enter image description here

    • enter image description here



  20. exit

  21. reboot




Other references:




  1. Ubuntu dual-boot with LVM and LUKS install fails

  2. How can I install Ubuntu encrypted with LUKS with dual-boot?









share



























    0















    I followed this tutorial from 2014: https://www.oxygenimpaired.com/multiple-linux-distro-installs-on-a-luks-encrypted-harddrive



    I am installing Linux Mint 19.1 XFCE and Ubuntu 18.04, both fully encrypted in a single disk. First I installed Linux Mint on /dev/sda5.



    After following all steps to install the first Linux, and rebooting the machine, I got into the Boot drops to a (initramfs) prompts/busybox with this error:




    1. enter image description here


    When following the tutorial, I ran the following commands:





    1. fdisk /dev/sda, then, created the following partitions:


      • enter image description here



    2. cryptsetup luksFormat /dev/sda5

    3. cryptsetup luksOpen /dev/sda5 sda5_crypt

    4. pvcreate /dev/mapper/sda5_crypt

    5. vgcreate vggroup /dev/mapper/sda5_crypt

    6. lvcreate -L1G -n mint_xfce_swap vggroup


    7. lvcreate -L8.9G -n mint_xfce_root vggroup


      • enter image description here



    8. mkdir /mnt/newroot

    9. mount /dev/mapper/[vg-name]-[root1-lv-name] /mnt/newroot

    10. mount -o bind /proc /mnt/newroot/proc

    11. mount -o bind /dev /mnt/newroot/dev

    12. mount -o bind /dev/pts /mnt/newroot/dev/pts

    13. mount -o bind /sys /mnt/newroot/sys

    14. cd /mnt/newroot

    15. chroot /mnt/newroot

    16. mount /dev/sda1 /boot


    17. blkid /dev/sda5


      • enter image description here

      • enter image description here

      • enter image description here



    18. update-initramfs -u


    19. update-grub


      • enter image description here

      • enter image description here



    20. exit

    21. reboot




    Other references:




    1. Ubuntu dual-boot with LVM and LUKS install fails

    2. How can I install Ubuntu encrypted with LUKS with dual-boot?









    share

























      0












      0








      0








      I followed this tutorial from 2014: https://www.oxygenimpaired.com/multiple-linux-distro-installs-on-a-luks-encrypted-harddrive



      I am installing Linux Mint 19.1 XFCE and Ubuntu 18.04, both fully encrypted in a single disk. First I installed Linux Mint on /dev/sda5.



      After following all steps to install the first Linux, and rebooting the machine, I got into the Boot drops to a (initramfs) prompts/busybox with this error:




      1. enter image description here


      When following the tutorial, I ran the following commands:





      1. fdisk /dev/sda, then, created the following partitions:


        • enter image description here



      2. cryptsetup luksFormat /dev/sda5

      3. cryptsetup luksOpen /dev/sda5 sda5_crypt

      4. pvcreate /dev/mapper/sda5_crypt

      5. vgcreate vggroup /dev/mapper/sda5_crypt

      6. lvcreate -L1G -n mint_xfce_swap vggroup


      7. lvcreate -L8.9G -n mint_xfce_root vggroup


        • enter image description here



      8. mkdir /mnt/newroot

      9. mount /dev/mapper/[vg-name]-[root1-lv-name] /mnt/newroot

      10. mount -o bind /proc /mnt/newroot/proc

      11. mount -o bind /dev /mnt/newroot/dev

      12. mount -o bind /dev/pts /mnt/newroot/dev/pts

      13. mount -o bind /sys /mnt/newroot/sys

      14. cd /mnt/newroot

      15. chroot /mnt/newroot

      16. mount /dev/sda1 /boot


      17. blkid /dev/sda5


        • enter image description here

        • enter image description here

        • enter image description here



      18. update-initramfs -u


      19. update-grub


        • enter image description here

        • enter image description here



      20. exit

      21. reboot




      Other references:




      1. Ubuntu dual-boot with LVM and LUKS install fails

      2. How can I install Ubuntu encrypted with LUKS with dual-boot?









      share














      I followed this tutorial from 2014: https://www.oxygenimpaired.com/multiple-linux-distro-installs-on-a-luks-encrypted-harddrive



      I am installing Linux Mint 19.1 XFCE and Ubuntu 18.04, both fully encrypted in a single disk. First I installed Linux Mint on /dev/sda5.



      After following all steps to install the first Linux, and rebooting the machine, I got into the Boot drops to a (initramfs) prompts/busybox with this error:




      1. enter image description here


      When following the tutorial, I ran the following commands:





      1. fdisk /dev/sda, then, created the following partitions:


        • enter image description here



      2. cryptsetup luksFormat /dev/sda5

      3. cryptsetup luksOpen /dev/sda5 sda5_crypt

      4. pvcreate /dev/mapper/sda5_crypt

      5. vgcreate vggroup /dev/mapper/sda5_crypt

      6. lvcreate -L1G -n mint_xfce_swap vggroup


      7. lvcreate -L8.9G -n mint_xfce_root vggroup


        • enter image description here



      8. mkdir /mnt/newroot

      9. mount /dev/mapper/[vg-name]-[root1-lv-name] /mnt/newroot

      10. mount -o bind /proc /mnt/newroot/proc

      11. mount -o bind /dev /mnt/newroot/dev

      12. mount -o bind /dev/pts /mnt/newroot/dev/pts

      13. mount -o bind /sys /mnt/newroot/sys

      14. cd /mnt/newroot

      15. chroot /mnt/newroot

      16. mount /dev/sda1 /boot


      17. blkid /dev/sda5


        • enter image description here

        • enter image description here

        • enter image description here



      18. update-initramfs -u


      19. update-grub


        • enter image description here

        • enter image description here



      20. exit

      21. reboot




      Other references:




      1. Ubuntu dual-boot with LVM and LUKS install fails

      2. How can I install Ubuntu encrypted with LUKS with dual-boot?







      boot dual-boot grub2 encryption luks





      share












      share










      share



      share










      asked 5 mins ago









      useruser

      10817




      10817






















          0






          active

          oldest

          votes











          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%2f1128197%2fhow-to-create-dual-boot-with-luks-lvm-full-partition-encryption-on-same-disk%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f1128197%2fhow-to-create-dual-boot-with-luks-lvm-full-partition-encryption-on-same-disk%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...