Monday, May 29, 2017

Raspbian/Kano OS in QEMU

Quick notes

I wanted to be able to boot the Kano OS in a virtual machine so i could play hack minecraft with the kids and play along with the Kano OS desktop/games.  I was trying to avoid plugging a raspberry pi into an monitor to use and wanted to use it on my local laptop.

Well, not so easy. VirtualBox/VMware dont support ARM. However QEMU does.

This repo ( had the recent raspberry pi kernels to use with QEMU.

If you follow the steps on that page with regards to mounting the image and editing /etc/ and /etc/fstab I was able to get the image to boot up successfully...slow as hell...but it technically was working.

command to boot with vnc:

$ qemu-system-arm -vnc :1 -kernel qemu-rpi-kernel/kernel-qemu-4.4.34-jessie -cpu arm1176 -m 256 -M versatilepb  -append "root=/dev/sda2 rootfstype=ext4 rw"  -hda Kanux-Beta-v3.9.0-Lovelace-jessie-rc-2017-03-23_04-48.img

OS with vnc:

I was so horribly slow i don't think this is feasible.  I am going to try using libvirt to make it better or just see if i can play hack minecraft another way.  If I get anywhere further with the project i'll post an update.



Unknown said...

Hi, Just came across your blog whilst I was trying to do the same thing to use Kano OS on my laptop to play along with the kids.

Did you ever find a solution?

CG said...

it technically worked but was unusable. I just decided to go extra RPI and monitor route

Anonymous said...

haha, 2020 but I just joined the same boat ;) I was hopping that someone already invented the wheel. I guess time to finally buy one of these "Pi"s