Ubuntu – How to run Ubuntu 16.04 ARM in QEMU

armqemuvirtualization

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?

Best 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

Related Question