Dualboot Debian+Debian with two separate LVM groups and separate /boot on different USB-sticks causes blank screen

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm trying to setup a dualboot system, where I want the two OSes to be completely separated. I figured the best way of achieving this would be to use different /boot partitions and have one LVM group for each system.



At the moment I have Debian Stretch setup as follows:



$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 1K 0 part
├─sda5 8:5 0 326.1G 0 part
│ └─sda5_crypt 254:0 0 326.1G 0 crypt
│ ├─debian--vg-root 254:1 0 307.4G 0 lvm /
│ └─debian--vg-swap1 254:2 0 18.6G 0 lvm [SWAP]
sdb 8:16 0 7.5G 0 disk
└─sdb1 8:17 0 7.5G 0 part /boot


Here /dev/sdb1 is the boot partition on a USB-stick and the MBR is installed in /dev/sda.



What I'm trying to accomplish is to setup another identical system with its own LVM group and its boot partition on its own USB-stick.



I have tried setting up a new LVM group using the Debian installer, installing Debian in it and installing the boot partition to a separate USB-stick along with the bootloader. The installation succeeds without any issues but when I choose to boot from the USB-stick in the BIOS, the screen is just black with a flashing dash in the upper left corner.



The working Debian system does not find the newly installed Debian system using sudo os-prober so I suspect that the cause of this is that GRUB cannot find the new system.



How can I install Debian alongside Debian where each installation has its own LVM group and its own boot partition on its own USB-stick?









share

























    up vote
    0
    down vote

    favorite












    I'm trying to setup a dualboot system, where I want the two OSes to be completely separated. I figured the best way of achieving this would be to use different /boot partitions and have one LVM group for each system.



    At the moment I have Debian Stretch setup as follows:



    $ lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 465.8G 0 disk
    ├─sda1 8:1 0 1K 0 part
    ├─sda5 8:5 0 326.1G 0 part
    │ └─sda5_crypt 254:0 0 326.1G 0 crypt
    │ ├─debian--vg-root 254:1 0 307.4G 0 lvm /
    │ └─debian--vg-swap1 254:2 0 18.6G 0 lvm [SWAP]
    sdb 8:16 0 7.5G 0 disk
    └─sdb1 8:17 0 7.5G 0 part /boot


    Here /dev/sdb1 is the boot partition on a USB-stick and the MBR is installed in /dev/sda.



    What I'm trying to accomplish is to setup another identical system with its own LVM group and its boot partition on its own USB-stick.



    I have tried setting up a new LVM group using the Debian installer, installing Debian in it and installing the boot partition to a separate USB-stick along with the bootloader. The installation succeeds without any issues but when I choose to boot from the USB-stick in the BIOS, the screen is just black with a flashing dash in the upper left corner.



    The working Debian system does not find the newly installed Debian system using sudo os-prober so I suspect that the cause of this is that GRUB cannot find the new system.



    How can I install Debian alongside Debian where each installation has its own LVM group and its own boot partition on its own USB-stick?









    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to setup a dualboot system, where I want the two OSes to be completely separated. I figured the best way of achieving this would be to use different /boot partitions and have one LVM group for each system.



      At the moment I have Debian Stretch setup as follows:



      $ lsblk
      NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
      sda 8:0 0 465.8G 0 disk
      ├─sda1 8:1 0 1K 0 part
      ├─sda5 8:5 0 326.1G 0 part
      │ └─sda5_crypt 254:0 0 326.1G 0 crypt
      │ ├─debian--vg-root 254:1 0 307.4G 0 lvm /
      │ └─debian--vg-swap1 254:2 0 18.6G 0 lvm [SWAP]
      sdb 8:16 0 7.5G 0 disk
      └─sdb1 8:17 0 7.5G 0 part /boot


      Here /dev/sdb1 is the boot partition on a USB-stick and the MBR is installed in /dev/sda.



      What I'm trying to accomplish is to setup another identical system with its own LVM group and its boot partition on its own USB-stick.



      I have tried setting up a new LVM group using the Debian installer, installing Debian in it and installing the boot partition to a separate USB-stick along with the bootloader. The installation succeeds without any issues but when I choose to boot from the USB-stick in the BIOS, the screen is just black with a flashing dash in the upper left corner.



      The working Debian system does not find the newly installed Debian system using sudo os-prober so I suspect that the cause of this is that GRUB cannot find the new system.



      How can I install Debian alongside Debian where each installation has its own LVM group and its own boot partition on its own USB-stick?









      share













      I'm trying to setup a dualboot system, where I want the two OSes to be completely separated. I figured the best way of achieving this would be to use different /boot partitions and have one LVM group for each system.



      At the moment I have Debian Stretch setup as follows:



      $ lsblk
      NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
      sda 8:0 0 465.8G 0 disk
      ├─sda1 8:1 0 1K 0 part
      ├─sda5 8:5 0 326.1G 0 part
      │ └─sda5_crypt 254:0 0 326.1G 0 crypt
      │ ├─debian--vg-root 254:1 0 307.4G 0 lvm /
      │ └─debian--vg-swap1 254:2 0 18.6G 0 lvm [SWAP]
      sdb 8:16 0 7.5G 0 disk
      └─sdb1 8:17 0 7.5G 0 part /boot


      Here /dev/sdb1 is the boot partition on a USB-stick and the MBR is installed in /dev/sda.



      What I'm trying to accomplish is to setup another identical system with its own LVM group and its boot partition on its own USB-stick.



      I have tried setting up a new LVM group using the Debian installer, installing Debian in it and installing the boot partition to a separate USB-stick along with the bootloader. The installation succeeds without any issues but when I choose to boot from the USB-stick in the BIOS, the screen is just black with a flashing dash in the upper left corner.



      The working Debian system does not find the newly installed Debian system using sudo os-prober so I suspect that the cause of this is that GRUB cannot find the new system.



      How can I install Debian alongside Debian where each installation has its own LVM group and its own boot partition on its own USB-stick?







      boot lvm grub





      share












      share










      share



      share










      asked 5 mins ago









      lklun

      60114




      60114

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475450%2fdualboot-debiandebian-with-two-separate-lvm-groups-and-separate-boot-on-differ%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475450%2fdualboot-debiandebian-with-two-separate-lvm-groups-and-separate-boot-on-differ%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)