Install RAID0 on 2 GPT SSDs , booting in Legacy Mode, Ubuntu 16.04 Desktop

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








up vote
0
down vote

favorite












My setup



  • 2x 512GB SSDs - GPT Partition

  • Legacy boot

ssd layout(on each disk):



  • 4MB: space reserved for bios grub(not part of RAID0 array)

  • 16GB: swap - reserved for RAID volume

  • 25GB : mnt / - ext4 - reserved for RAID volume

  • ~420GB: mnt /home - ext4 - reserved for RAID volume

The error I eventually receive is "executing 'grub-install /dev/md1 failed"



I continued installation without bootloader thinking I will install grub by live-usb.



From the live-usb,



I ran sudo grub-install /dev/nvme01n1(name of ssd).
The error I receive is - grub-install failed to get canonical path of aufs'.



I tried mount /dev/nvme01n1p3 /mnt (the / of the RAID array), the error I receive is unknown file-system linux_raid_member'



mdadm does not detect any RAID disks ..



(I am following parts of the Software RAID tutorial.
I plan to install desktop-ubuntu from within the server after installation, as shown in this video)



Other routes that I tried:



  • I tried adding the bios_grub reserved space to the RAID array but that resulted in an error during the formatting step.


  • The disks initially had a msdos partition but I got the same bootloader error and I could not figure out how to allocate space for grub in msdos disks.
    After reading online, it seemed like booting from a GPT disk could be a solution and I changed the partition to GPT ..


This is taking especially long as I have started reading about MBR/GPT, BIOS/UEFI only when I began this install ..



Please let me know how I should proceed.










share|improve this question

























    up vote
    0
    down vote

    favorite












    My setup



    • 2x 512GB SSDs - GPT Partition

    • Legacy boot

    ssd layout(on each disk):



    • 4MB: space reserved for bios grub(not part of RAID0 array)

    • 16GB: swap - reserved for RAID volume

    • 25GB : mnt / - ext4 - reserved for RAID volume

    • ~420GB: mnt /home - ext4 - reserved for RAID volume

    The error I eventually receive is "executing 'grub-install /dev/md1 failed"



    I continued installation without bootloader thinking I will install grub by live-usb.



    From the live-usb,



    I ran sudo grub-install /dev/nvme01n1(name of ssd).
    The error I receive is - grub-install failed to get canonical path of aufs'.



    I tried mount /dev/nvme01n1p3 /mnt (the / of the RAID array), the error I receive is unknown file-system linux_raid_member'



    mdadm does not detect any RAID disks ..



    (I am following parts of the Software RAID tutorial.
    I plan to install desktop-ubuntu from within the server after installation, as shown in this video)



    Other routes that I tried:



    • I tried adding the bios_grub reserved space to the RAID array but that resulted in an error during the formatting step.


    • The disks initially had a msdos partition but I got the same bootloader error and I could not figure out how to allocate space for grub in msdos disks.
      After reading online, it seemed like booting from a GPT disk could be a solution and I changed the partition to GPT ..


    This is taking especially long as I have started reading about MBR/GPT, BIOS/UEFI only when I began this install ..



    Please let me know how I should proceed.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      My setup



      • 2x 512GB SSDs - GPT Partition

      • Legacy boot

      ssd layout(on each disk):



      • 4MB: space reserved for bios grub(not part of RAID0 array)

      • 16GB: swap - reserved for RAID volume

      • 25GB : mnt / - ext4 - reserved for RAID volume

      • ~420GB: mnt /home - ext4 - reserved for RAID volume

      The error I eventually receive is "executing 'grub-install /dev/md1 failed"



      I continued installation without bootloader thinking I will install grub by live-usb.



      From the live-usb,



      I ran sudo grub-install /dev/nvme01n1(name of ssd).
      The error I receive is - grub-install failed to get canonical path of aufs'.



      I tried mount /dev/nvme01n1p3 /mnt (the / of the RAID array), the error I receive is unknown file-system linux_raid_member'



      mdadm does not detect any RAID disks ..



      (I am following parts of the Software RAID tutorial.
      I plan to install desktop-ubuntu from within the server after installation, as shown in this video)



      Other routes that I tried:



      • I tried adding the bios_grub reserved space to the RAID array but that resulted in an error during the formatting step.


      • The disks initially had a msdos partition but I got the same bootloader error and I could not figure out how to allocate space for grub in msdos disks.
        After reading online, it seemed like booting from a GPT disk could be a solution and I changed the partition to GPT ..


      This is taking especially long as I have started reading about MBR/GPT, BIOS/UEFI only when I began this install ..



      Please let me know how I should proceed.










      share|improve this question













      My setup



      • 2x 512GB SSDs - GPT Partition

      • Legacy boot

      ssd layout(on each disk):



      • 4MB: space reserved for bios grub(not part of RAID0 array)

      • 16GB: swap - reserved for RAID volume

      • 25GB : mnt / - ext4 - reserved for RAID volume

      • ~420GB: mnt /home - ext4 - reserved for RAID volume

      The error I eventually receive is "executing 'grub-install /dev/md1 failed"



      I continued installation without bootloader thinking I will install grub by live-usb.



      From the live-usb,



      I ran sudo grub-install /dev/nvme01n1(name of ssd).
      The error I receive is - grub-install failed to get canonical path of aufs'.



      I tried mount /dev/nvme01n1p3 /mnt (the / of the RAID array), the error I receive is unknown file-system linux_raid_member'



      mdadm does not detect any RAID disks ..



      (I am following parts of the Software RAID tutorial.
      I plan to install desktop-ubuntu from within the server after installation, as shown in this video)



      Other routes that I tried:



      • I tried adding the bios_grub reserved space to the RAID array but that resulted in an error during the formatting step.


      • The disks initially had a msdos partition but I got the same bootloader error and I could not figure out how to allocate space for grub in msdos disks.
        After reading online, it seemed like booting from a GPT disk could be a solution and I changed the partition to GPT ..


      This is taking especially long as I have started reading about MBR/GPT, BIOS/UEFI only when I began this install ..



      Please let me know how I should proceed.







      boot grub2 raid






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 7 at 21:11









      Paritosh Kelkar

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.



          On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.



          Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.



          I then followed this section of Grub2 installation.
          Grub was installed and I could login at tty1.






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2faskubuntu.com%2fquestions%2f1004018%2finstall-raid0-on-2-gpt-ssds-booting-in-legacy-mode-ubuntu-16-04-desktop%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.



            On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.



            Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.



            I then followed this section of Grub2 installation.
            Grub was installed and I could login at tty1.






            share|improve this answer
























              up vote
              0
              down vote













              I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.



              On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.



              Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.



              I then followed this section of Grub2 installation.
              Grub was installed and I could login at tty1.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.



                On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.



                Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.



                I then followed this section of Grub2 installation.
                Grub was installed and I could login at tty1.






                share|improve this answer












                I ran Boot repair from within the live-usb and it prompted me to remove dmraid as it would conflict with mdraid.



                On doing so, I was able to run mdraid --assemble --scan and view my RAID0 disks.



                Boot-repair eventually detected GPT partition and asked me to make a bios_grub, unformatted partition at beginning of disk. I was not sure how to proceed now as I already had the necessary partitions.



                I then followed this section of Grub2 installation.
                Grub was installed and I could login at tty1.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 8 at 17:55









                Paritosh Kelkar

                1




                1



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004018%2finstall-raid0-on-2-gpt-ssds-booting-in-legacy-mode-ubuntu-16-04-desktop%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error

                    How do I move numbers in filenames, in a batch renaming operation?