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











up vote
1
down vote

favorite












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


























    up vote
    1
    down vote

    favorite












    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
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      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 6 hours ago









      Mr Purple

      1284




      1284






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          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
            1 hour ago











          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: 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








          up vote
          3
          down vote



          accepted










          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
            1 hour ago















          up vote
          3
          down vote



          accepted










          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
            1 hour ago













          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          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 5 hours ago

























          answered 5 hours ago









          Stephen Kitt

          162k24358436




          162k24358436












          • Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
            – Mr Purple
            1 hour ago


















          • Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
            – Mr Purple
            1 hour ago
















          Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
          – Mr Purple
          1 hour ago




          Great thanks! I note also that it is case sensitive and thus AMD64 is NOT correct in this example.
          – Mr Purple
          1 hour ago


















          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

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei