NOTE: I am aware that this question has been asked before HERE, but after having followed that question step by step, troubleshooted on my own and having done plenty of research on the internet to try and find a solution, I have been unable to run an Ubuntu emulation on a raspberry pi.
The Problem(s):
- In step 2 of the tutorial, the link to the "patched qemu package" is no longer available. Don't know if this is an issue, but thought it was worth mentioning.
- After installing qemu via
sudo apt-get install qemu
, installing qemu for windows, installing ubuntu for i386 in the qemu image, moving that image to the raspberry pi, and running it on the pi....nothing...I ran qemu via the command lineqemu-system-i386 -cpu 486 -hda debian.img -m 150M -smp 1 -redir tcp:9022::22 -redir udp:9055::9987 --nographic
, waited a minute or two just to make sure it was all booted up and running, then i tried ssh-ing into the emulated Ubuntu environment (port 9022) from the raspberry pi itselfssh [user]@localhost -p 9022
...and the connection was refused.
Other Important Tidbits:
I am able to ssh into the Debian environment when i run qemu ON WINDOWS. As soon as I move the image to the pi via winscp and run it with qemu there, it doesn't want to accept connections.
I know it would be SOO much easier just to run a Murmur (for Mumble) host on it, but I am only looking to run a teamspeak server on it.
PLEASE let me know if I was stupid or careless and left out any important information. This is my first post and I'm still not exactly sure what I need to and don't need to provide.
console
of the VM?-spice port=5900,addr=0.0.0.0,disable-ticketing
to yourqemu
command line which will tell qemu to open a spice listener on port 5900 on your raspberry pi. Then from another machine on your local network use a spice client (remote-viewer
fromvirt-viewer
package) to connect to the IP Address of the Pi using port 5900. You should then see the console of the virtual machine which will give you more information about what is going on in your virtual machine.-vnc :5
which tells qemu to start a vnc listen on TCP port 5905. Then from another machine you can usevinagre
to connect using the commandvinagre <pi IP addr>:5905
to view the console.