LFS (Linux From Scratch) hard disk partition requirement

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












0














I am going through the LFS documentation in order to build my flavor of firmware for our systems. Currently my host machine is Ubuntu 18.10. I have 2 hard drives /dev/sda and /dev/sdb. My Ubuntu system is running on /dev/sda which is 240 GB SSD. My /dev/sdb is 1 TB wheres I am using it as my data disk and having lot of free space.



Here I have some question.



  1. Do I need to do the partition in second drive for LFS?

  2. Is it OK to create necessary partitions for LFS from the free space of /dev/sdb without clearing the whole data on that disk?

  3. Ubuntu has the /bin/sh linked to /bin/dash wheres the LFS requirement says /bin/sh -> /bin/bash. Do I need to change this link or can I ignore this part?









share|improve this question















migrated from serverfault.com Dec 21 '18 at 3:15


This question came from our site for system and network administrators.



















    0














    I am going through the LFS documentation in order to build my flavor of firmware for our systems. Currently my host machine is Ubuntu 18.10. I have 2 hard drives /dev/sda and /dev/sdb. My Ubuntu system is running on /dev/sda which is 240 GB SSD. My /dev/sdb is 1 TB wheres I am using it as my data disk and having lot of free space.



    Here I have some question.



    1. Do I need to do the partition in second drive for LFS?

    2. Is it OK to create necessary partitions for LFS from the free space of /dev/sdb without clearing the whole data on that disk?

    3. Ubuntu has the /bin/sh linked to /bin/dash wheres the LFS requirement says /bin/sh -> /bin/bash. Do I need to change this link or can I ignore this part?









    share|improve this question















    migrated from serverfault.com Dec 21 '18 at 3:15


    This question came from our site for system and network administrators.

















      0












      0








      0







      I am going through the LFS documentation in order to build my flavor of firmware for our systems. Currently my host machine is Ubuntu 18.10. I have 2 hard drives /dev/sda and /dev/sdb. My Ubuntu system is running on /dev/sda which is 240 GB SSD. My /dev/sdb is 1 TB wheres I am using it as my data disk and having lot of free space.



      Here I have some question.



      1. Do I need to do the partition in second drive for LFS?

      2. Is it OK to create necessary partitions for LFS from the free space of /dev/sdb without clearing the whole data on that disk?

      3. Ubuntu has the /bin/sh linked to /bin/dash wheres the LFS requirement says /bin/sh -> /bin/bash. Do I need to change this link or can I ignore this part?









      share|improve this question















      I am going through the LFS documentation in order to build my flavor of firmware for our systems. Currently my host machine is Ubuntu 18.10. I have 2 hard drives /dev/sda and /dev/sdb. My Ubuntu system is running on /dev/sda which is 240 GB SSD. My /dev/sdb is 1 TB wheres I am using it as my data disk and having lot of free space.



      Here I have some question.



      1. Do I need to do the partition in second drive for LFS?

      2. Is it OK to create necessary partitions for LFS from the free space of /dev/sdb without clearing the whole data on that disk?

      3. Ubuntu has the /bin/sh linked to /bin/dash wheres the LFS requirement says /bin/sh -> /bin/bash. Do I need to change this link or can I ignore this part?






      linux partition lfs






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 21 '18 at 9:28









      SouravGhosh

      493311




      493311










      asked Dec 21 '18 at 2:49









      BlueBird

      1129




      1129




      migrated from serverfault.com Dec 21 '18 at 3:15


      This question came from our site for system and network administrators.






      migrated from serverfault.com Dec 21 '18 at 3:15


      This question came from our site for system and network administrators.






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Do I need to do the partition in second drive for LFS?




          The recommended approach to building an LFS system is to use an
          available empty partition or, if you have enough unpartitioned space,
          to create one. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/creatingpartition.html




          It doesn't matter on which drive the partition is located.



          Is it OK to create necessary partitions for LFS from the free space of /dev/sdb



          Yes.



          Ubuntu has the /bin/sh linked to /bin/dash wheres the LFS requirement says /bin/sh -> /bin/bash. Do I need to change this link or can I ignore this part?




          Note that the symlinks mentioned above are required to build an LFS
          system using the instructions contained within this book. Symlinks
          that point to other software (such as dash, mawk, etc.) may work, but
          are not tested or supported by the LFS development team
          , and may
          require either deviation from the instructions or additional patches
          to some packages. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/hostreqs.html




          I recommend creating a virtual machine and using it as your LFS host. That way, you can do whatever you need to do to the "host" without potentially damaging your real host.






          share|improve this answer




















            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f490255%2flfs-linux-from-scratch-hard-disk-partition-requirement%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Do I need to do the partition in second drive for LFS?




            The recommended approach to building an LFS system is to use an
            available empty partition or, if you have enough unpartitioned space,
            to create one. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/creatingpartition.html




            It doesn't matter on which drive the partition is located.



            Is it OK to create necessary partitions for LFS from the free space of /dev/sdb



            Yes.



            Ubuntu has the /bin/sh linked to /bin/dash wheres the LFS requirement says /bin/sh -> /bin/bash. Do I need to change this link or can I ignore this part?




            Note that the symlinks mentioned above are required to build an LFS
            system using the instructions contained within this book. Symlinks
            that point to other software (such as dash, mawk, etc.) may work, but
            are not tested or supported by the LFS development team
            , and may
            require either deviation from the instructions or additional patches
            to some packages. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/hostreqs.html




            I recommend creating a virtual machine and using it as your LFS host. That way, you can do whatever you need to do to the "host" without potentially damaging your real host.






            share|improve this answer

























              1














              Do I need to do the partition in second drive for LFS?




              The recommended approach to building an LFS system is to use an
              available empty partition or, if you have enough unpartitioned space,
              to create one. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/creatingpartition.html




              It doesn't matter on which drive the partition is located.



              Is it OK to create necessary partitions for LFS from the free space of /dev/sdb



              Yes.



              Ubuntu has the /bin/sh linked to /bin/dash wheres the LFS requirement says /bin/sh -> /bin/bash. Do I need to change this link or can I ignore this part?




              Note that the symlinks mentioned above are required to build an LFS
              system using the instructions contained within this book. Symlinks
              that point to other software (such as dash, mawk, etc.) may work, but
              are not tested or supported by the LFS development team
              , and may
              require either deviation from the instructions or additional patches
              to some packages. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/hostreqs.html




              I recommend creating a virtual machine and using it as your LFS host. That way, you can do whatever you need to do to the "host" without potentially damaging your real host.






              share|improve this answer























                1












                1








                1






                Do I need to do the partition in second drive for LFS?




                The recommended approach to building an LFS system is to use an
                available empty partition or, if you have enough unpartitioned space,
                to create one. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/creatingpartition.html




                It doesn't matter on which drive the partition is located.



                Is it OK to create necessary partitions for LFS from the free space of /dev/sdb



                Yes.



                Ubuntu has the /bin/sh linked to /bin/dash wheres the LFS requirement says /bin/sh -> /bin/bash. Do I need to change this link or can I ignore this part?




                Note that the symlinks mentioned above are required to build an LFS
                system using the instructions contained within this book. Symlinks
                that point to other software (such as dash, mawk, etc.) may work, but
                are not tested or supported by the LFS development team
                , and may
                require either deviation from the instructions or additional patches
                to some packages. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/hostreqs.html




                I recommend creating a virtual machine and using it as your LFS host. That way, you can do whatever you need to do to the "host" without potentially damaging your real host.






                share|improve this answer












                Do I need to do the partition in second drive for LFS?




                The recommended approach to building an LFS system is to use an
                available empty partition or, if you have enough unpartitioned space,
                to create one. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/creatingpartition.html




                It doesn't matter on which drive the partition is located.



                Is it OK to create necessary partitions for LFS from the free space of /dev/sdb



                Yes.



                Ubuntu has the /bin/sh linked to /bin/dash wheres the LFS requirement says /bin/sh -> /bin/bash. Do I need to change this link or can I ignore this part?




                Note that the symlinks mentioned above are required to build an LFS
                system using the instructions contained within this book. Symlinks
                that point to other software (such as dash, mawk, etc.) may work, but
                are not tested or supported by the LFS development team
                , and may
                require either deviation from the instructions or additional patches
                to some packages. Source: http://www.linuxfromscratch.org/lfs/view/stable/chapter02/hostreqs.html




                I recommend creating a virtual machine and using it as your LFS host. That way, you can do whatever you need to do to the "host" without potentially damaging your real host.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 21 '18 at 10:03









                Emmanuel Rosa

                3,0551612




                3,0551612



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2funix.stackexchange.com%2fquestions%2f490255%2flfs-linux-from-scratch-hard-disk-partition-requirement%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

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?