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

What are the purposes of autoencoders?

Creature in Shazam mid-credits scene?

Biological Blimps: Propulsion

Should I outline or discovery write my stories?

Not using 's' for he/she/it

Offered money to buy a house, seller is asking for more to cover gap between their listing and mortgage owed

Is the U.S. Code copyrighted by the Government?

Is there a name for this algorithm to calculate the concentration of a mixture of two solutions containing the same solute?

Why should universal income be universal?

Is this toilet slogan correct usage of the English language?

Calculating Wattage for Resistor in High Frequency Application?

Approximating irrational number to rational number

How can "mimic phobia" be cured or prevented?

Closed-form expression for certain product

Did arcade monitors have same pixel aspect ratio as TV sets?

Why do we read the Megillah by night and by day?

Is it safe to use olive oil to clean the ear wax?

A social experiment. What is the worst that can happen?

Count the occurrence of each unique word in the file

Strong empirical falsification of quantum mechanics based on vacuum energy density

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

Travelling outside the UK without a passport

How to indicate a cut out for a product window

When a Cleric spontaneously casts a Cure Light Wounds spell, will a Pearl of Power recover the original spell or Cure Light Wounds?



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|improve this question


























    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|improve this question
























      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|improve this question














      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|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 11 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

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»