What are the possible options for the --arch option in debootstrap?

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












1














I need to set the arch option in debootstrap. So I did some research and read the manual.



After reading the manual I see that the section on the options simply says
--arch=ARCH
Implying that I should know the correct syntax for the architecture I need.
I don't. I need 64 bit architecture.
I know that "i386" can be used for 32bit architecture.
What should I set the --arch option to if I want 64 bit architecture?
Or more generally what would the range of options be?



I could guess (but don't know and can't determine) that potentially the range or arch options depends on the OS being booted. In my case its a version of ubuntu that I know should work in 64bit. So the question becomes how would I determine the 64bit architecture option syntax?



I could further guess (but again don't know and can't determine) that the option syntaxes are actually supplied by the booted OS and if I knew where to look I could figure it out. In which case, where would I look?










share|improve this question


























    1














    I need to set the arch option in debootstrap. So I did some research and read the manual.



    After reading the manual I see that the section on the options simply says
    --arch=ARCH
    Implying that I should know the correct syntax for the architecture I need.
    I don't. I need 64 bit architecture.
    I know that "i386" can be used for 32bit architecture.
    What should I set the --arch option to if I want 64 bit architecture?
    Or more generally what would the range of options be?



    I could guess (but don't know and can't determine) that potentially the range or arch options depends on the OS being booted. In my case its a version of ubuntu that I know should work in 64bit. So the question becomes how would I determine the 64bit architecture option syntax?



    I could further guess (but again don't know and can't determine) that the option syntaxes are actually supplied by the booted OS and if I knew where to look I could figure it out. In which case, where would I look?










    share|improve this question
























      1












      1








      1







      I need to set the arch option in debootstrap. So I did some research and read the manual.



      After reading the manual I see that the section on the options simply says
      --arch=ARCH
      Implying that I should know the correct syntax for the architecture I need.
      I don't. I need 64 bit architecture.
      I know that "i386" can be used for 32bit architecture.
      What should I set the --arch option to if I want 64 bit architecture?
      Or more generally what would the range of options be?



      I could guess (but don't know and can't determine) that potentially the range or arch options depends on the OS being booted. In my case its a version of ubuntu that I know should work in 64bit. So the question becomes how would I determine the 64bit architecture option syntax?



      I could further guess (but again don't know and can't determine) that the option syntaxes are actually supplied by the booted OS and if I knew where to look I could figure it out. In which case, where would I look?










      share|improve this question













      I need to set the arch option in debootstrap. So I did some research and read the manual.



      After reading the manual I see that the section on the options simply says
      --arch=ARCH
      Implying that I should know the correct syntax for the architecture I need.
      I don't. I need 64 bit architecture.
      I know that "i386" can be used for 32bit architecture.
      What should I set the --arch option to if I want 64 bit architecture?
      Or more generally what would the range of options be?



      I could guess (but don't know and can't determine) that potentially the range or arch options depends on the OS being booted. In my case its a version of ubuntu that I know should work in 64bit. So the question becomes how would I determine the 64bit architecture option syntax?



      I could further guess (but again don't know and can't determine) that the option syntaxes are actually supplied by the booted OS and if I knew where to look I could figure it out. In which case, where would I look?







      64bit cpu-architecture debootstrap






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 15 at 20:03









      Mr Purple

      1284




      1284




















          1 Answer
          1






          active

          oldest

          votes


















          3














          The possible values are the codenames of the architectures supported by the target operating system. See the installation guide for Ubuntu: for 64-bit x86, the appropriate value is amd64.



          On systems with dpkg,



          dpkg --print-architecture


          will show the current architecture (which is the default architecture for debootstrap).



          debootstrap is also capable of installing a system for any supported architecture, not only the host system’s architecture; see its --foreign option. If necessary it can use Qemu to emulate the target architecture.






          share|improve this answer






















          • Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
            – Mr Purple
            Dec 16 at 0:41










          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%2f489199%2fwhat-are-the-possible-options-for-the-arch-option-in-debootstrap%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









          3














          The possible values are the codenames of the architectures supported by the target operating system. See the installation guide for Ubuntu: for 64-bit x86, the appropriate value is amd64.



          On systems with dpkg,



          dpkg --print-architecture


          will show the current architecture (which is the default architecture for debootstrap).



          debootstrap is also capable of installing a system for any supported architecture, not only the host system’s architecture; see its --foreign option. If necessary it can use Qemu to emulate the target architecture.






          share|improve this answer






















          • Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
            – Mr Purple
            Dec 16 at 0:41















          3














          The possible values are the codenames of the architectures supported by the target operating system. See the installation guide for Ubuntu: for 64-bit x86, the appropriate value is amd64.



          On systems with dpkg,



          dpkg --print-architecture


          will show the current architecture (which is the default architecture for debootstrap).



          debootstrap is also capable of installing a system for any supported architecture, not only the host system’s architecture; see its --foreign option. If necessary it can use Qemu to emulate the target architecture.






          share|improve this answer






















          • Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
            – Mr Purple
            Dec 16 at 0:41













          3












          3








          3






          The possible values are the codenames of the architectures supported by the target operating system. See the installation guide for Ubuntu: for 64-bit x86, the appropriate value is amd64.



          On systems with dpkg,



          dpkg --print-architecture


          will show the current architecture (which is the default architecture for debootstrap).



          debootstrap is also capable of installing a system for any supported architecture, not only the host system’s architecture; see its --foreign option. If necessary it can use Qemu to emulate the target architecture.






          share|improve this answer














          The possible values are the codenames of the architectures supported by the target operating system. See the installation guide for Ubuntu: for 64-bit x86, the appropriate value is amd64.



          On systems with dpkg,



          dpkg --print-architecture


          will show the current architecture (which is the default architecture for debootstrap).



          debootstrap is also capable of installing a system for any supported architecture, not only the host system’s architecture; see its --foreign option. If necessary it can use Qemu to emulate the target architecture.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 15 at 20:33

























          answered Dec 15 at 20:15









          Stephen Kitt

          163k24364443




          163k24364443











          • Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
            – Mr Purple
            Dec 16 at 0:41
















          • Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
            – Mr Purple
            Dec 16 at 0:41















          Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
          – Mr Purple
          Dec 16 at 0:41




          Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
          – Mr Purple
          Dec 16 at 0:41

















          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%2f489199%2fwhat-are-the-possible-options-for-the-arch-option-in-debootstrap%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?