How to run Ubuntu 16.04 ARM in QEMU?











up vote
6
down vote

favorite












My goal is to run Ubuntu 16.04 (ARM) in Qemu (on Ubuntu 16.04 x64 host).



I tried to follow this -old- tutorial without success:



Home directory not accessible: Permission denied
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
Could not initialize SDL(No available video device) - exiting


Instead of the debian_squeeze_armel_standard.qcow2 image used there, I used ubuntu-16.04-preinstalled-server-armhf+raspi2.img.



Forgetting about the above-mentioned article, which is the correct way to run Ubuntu 16.04-arm on top of Qemu?



If it is not possible to run it over Qemu easily, is there any other alternative?










share|improve this question




























    up vote
    6
    down vote

    favorite












    My goal is to run Ubuntu 16.04 (ARM) in Qemu (on Ubuntu 16.04 x64 host).



    I tried to follow this -old- tutorial without success:



    Home directory not accessible: Permission denied
    pulseaudio: pa_context_connect() failed
    pulseaudio: Reason: Connection refused
    pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
    Could not initialize SDL(No available video device) - exiting


    Instead of the debian_squeeze_armel_standard.qcow2 image used there, I used ubuntu-16.04-preinstalled-server-armhf+raspi2.img.



    Forgetting about the above-mentioned article, which is the correct way to run Ubuntu 16.04-arm on top of Qemu?



    If it is not possible to run it over Qemu easily, is there any other alternative?










    share|improve this question


























      up vote
      6
      down vote

      favorite









      up vote
      6
      down vote

      favorite











      My goal is to run Ubuntu 16.04 (ARM) in Qemu (on Ubuntu 16.04 x64 host).



      I tried to follow this -old- tutorial without success:



      Home directory not accessible: Permission denied
      pulseaudio: pa_context_connect() failed
      pulseaudio: Reason: Connection refused
      pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
      Could not initialize SDL(No available video device) - exiting


      Instead of the debian_squeeze_armel_standard.qcow2 image used there, I used ubuntu-16.04-preinstalled-server-armhf+raspi2.img.



      Forgetting about the above-mentioned article, which is the correct way to run Ubuntu 16.04-arm on top of Qemu?



      If it is not possible to run it over Qemu easily, is there any other alternative?










      share|improve this question















      My goal is to run Ubuntu 16.04 (ARM) in Qemu (on Ubuntu 16.04 x64 host).



      I tried to follow this -old- tutorial without success:



      Home directory not accessible: Permission denied
      pulseaudio: pa_context_connect() failed
      pulseaudio: Reason: Connection refused
      pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
      Could not initialize SDL(No available video device) - exiting


      Instead of the debian_squeeze_armel_standard.qcow2 image used there, I used ubuntu-16.04-preinstalled-server-armhf+raspi2.img.



      Forgetting about the above-mentioned article, which is the correct way to run Ubuntu 16.04-arm on top of Qemu?



      If it is not possible to run it over Qemu easily, is there any other alternative?







      virtualization arm qemu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 17 at 9:25









      Ciro Santilli 新疆改造中心 六四事件 法轮功

      8,85444146




      8,85444146










      asked Jul 12 '16 at 2:30









      lepe

      80321429




      80321429






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          This will not work because the Image you are using is pre-compiled for Raspberry Pi 2 device and will work only on Raspberry Pi 2. Try this tutorial






          share|improve this answer





















          • Thank you. I will try it later. I think that will answer my question.
            – lepe
            Mar 17 at 4:32


















          up vote
          0
          down vote













          In this answer: Is there any prebuilt QEMU Ubuntu image(32bit) online? I have described the following working setups for Ubuntu 18.04 guest / host:




          • cloud image arm64

          • debootstrap arm64


          See also this for Raspberry Pi emulation: https://stackoverflow.com/questions/28880833/how-to-emulate-the-raspberry-pi-2-on-qemu/45814913#45814913






          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: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2faskubuntu.com%2fquestions%2f797599%2fhow-to-run-ubuntu-16-04-arm-in-qemu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            This will not work because the Image you are using is pre-compiled for Raspberry Pi 2 device and will work only on Raspberry Pi 2. Try this tutorial






            share|improve this answer





















            • Thank you. I will try it later. I think that will answer my question.
              – lepe
              Mar 17 at 4:32















            up vote
            0
            down vote



            accepted










            This will not work because the Image you are using is pre-compiled for Raspberry Pi 2 device and will work only on Raspberry Pi 2. Try this tutorial






            share|improve this answer





















            • Thank you. I will try it later. I think that will answer my question.
              – lepe
              Mar 17 at 4:32













            up vote
            0
            down vote



            accepted







            up vote
            0
            down vote



            accepted






            This will not work because the Image you are using is pre-compiled for Raspberry Pi 2 device and will work only on Raspberry Pi 2. Try this tutorial






            share|improve this answer












            This will not work because the Image you are using is pre-compiled for Raspberry Pi 2 device and will work only on Raspberry Pi 2. Try this tutorial







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 16 at 10:31









            Rustam Isaev

            514




            514












            • Thank you. I will try it later. I think that will answer my question.
              – lepe
              Mar 17 at 4:32


















            • Thank you. I will try it later. I think that will answer my question.
              – lepe
              Mar 17 at 4:32
















            Thank you. I will try it later. I think that will answer my question.
            – lepe
            Mar 17 at 4:32




            Thank you. I will try it later. I think that will answer my question.
            – lepe
            Mar 17 at 4:32












            up vote
            0
            down vote













            In this answer: Is there any prebuilt QEMU Ubuntu image(32bit) online? I have described the following working setups for Ubuntu 18.04 guest / host:




            • cloud image arm64

            • debootstrap arm64


            See also this for Raspberry Pi emulation: https://stackoverflow.com/questions/28880833/how-to-emulate-the-raspberry-pi-2-on-qemu/45814913#45814913






            share|improve this answer



























              up vote
              0
              down vote













              In this answer: Is there any prebuilt QEMU Ubuntu image(32bit) online? I have described the following working setups for Ubuntu 18.04 guest / host:




              • cloud image arm64

              • debootstrap arm64


              See also this for Raspberry Pi emulation: https://stackoverflow.com/questions/28880833/how-to-emulate-the-raspberry-pi-2-on-qemu/45814913#45814913






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                In this answer: Is there any prebuilt QEMU Ubuntu image(32bit) online? I have described the following working setups for Ubuntu 18.04 guest / host:




                • cloud image arm64

                • debootstrap arm64


                See also this for Raspberry Pi emulation: https://stackoverflow.com/questions/28880833/how-to-emulate-the-raspberry-pi-2-on-qemu/45814913#45814913






                share|improve this answer














                In this answer: Is there any prebuilt QEMU Ubuntu image(32bit) online? I have described the following working setups for Ubuntu 18.04 guest / host:




                • cloud image arm64

                • debootstrap arm64


                See also this for Raspberry Pi emulation: https://stackoverflow.com/questions/28880833/how-to-emulate-the-raspberry-pi-2-on-qemu/45814913#45814913







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 19 at 8:37

























                answered Jun 17 at 9:51









                Ciro Santilli 新疆改造中心 六四事件 法轮功

                8,85444146




                8,85444146






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f797599%2fhow-to-run-ubuntu-16-04-arm-in-qemu%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