Emulating Volumio with qemu

For those who would like to emulate Volumio on raspberry pi, it’s possible using qemu with the appropriate options. There’s a pretty good tutorial here, that works well with some adjustments:

xecdesign.com/qemu-emulating-ras … -easy-way/

Just follow this tutorial, with the following changes:

  • As stated in the comments, you’ll need to checkout qemu’s branch “stable-1.7” to make it work, else the command “qemu-system-arm -cpu ?” wouldn’t give any result. So, instead of

    git clone git://git.qemu-project.org/qemu.git

run :

git clone git://git.qemu-project.org/qemu.git -b stable-1.7

  • To run Volumio on qemu, replace arguments “root=/dev/sda2 panic=1 rootfstype=ext4 rw” with “root=/dev/sda3 rw panic=1”

  • If you want to access this “guest” volumio from your host, you can set some port forwarding. For instance, with:

qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append “root=/dev/sda3 rw panic=1” -hda Volumio1.5PI.img -redir tcp:5080::80 -redir tcp:5022::22

you can access the webui on localhost:5080, and ssh on localhost/port 5022.

Excellent guide!

I may add: if you go to volumio.local/dev.php you can enable the Dev environment, which disables the kernel fine tunings, to ensure better compatibility…