# Simulation of Farmbot on virtual machines

**URL:** <https://forum.farmbot.org/t/simulation-of-farmbot-on-virtual-machines/2744>\
**Category:** Raspberry Pi\
**Created:** [October 18, 2017, 2:40pm UTC](https://forum.farmbot.org/t/simulation-of-farmbot-on-virtual-machines/2744 "2017-10-18T14:40:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hormigo](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/h/9f8e36/32.png) [@hormigo](https://forum.farmbot.org/u/hormigo)\
**Post date:** [October 18, 2017, 2:40pm UTC](https://forum.farmbot.org/t/simulation-of-farmbot-on-virtual-machines/2744/1 "2017-10-18T14:40:12Z")

</div>

Hi guys,

I would like to simulate the Farmbot OS on a Qemu virtual machine, but for this I need the Linux kernel. In the config.txt file the Farmbot team mentions that the kernel is ‘zImage’, but anyway when I tell the system take this kernel, it is not able to run it. Moreover, I have tried with a normal Linux 4.4.93 kernel, but it does not work neither. Do you know how can I do it?

Thank you.

---

<div class="post-metadata">

**Author:** ![bgmoon](https://forum.farmbot.org/user_avatar/forum.farmbot.org/bgmoon/32/252_2.png) [@bgmoon](https://forum.farmbot.org/u/bgmoon)\
**Post date:** [October 19, 2017, 1:11am UTC](https://forum.farmbot.org/t/simulation-of-farmbot-on-virtual-machines/2744/2 "2017-10-19T01:11:04Z")

</div>

Are you trying to run the FarmbotOS on an VM on an X86 machine or on a Pi?

---

<div class="post-metadata">

**Author:** ![hormigo](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/h/9f8e36/32.png) [@hormigo](https://forum.farmbot.org/u/hormigo)\
**Post date:** [October 19, 2017, 8:22am UTC](https://forum.farmbot.org/t/simulation-of-farmbot-on-virtual-machines/2744/3 "2017-10-19T08:22:47Z")

</div>

I am trying on a Qemu machine, which is speciallized for ARM architectures. Here you can find information about Qemu: [https://www.qemu.org/](https://www.qemu.org/)

---

<div class="post-metadata">

**Author:** ![connor](https://forum.farmbot.org/user_avatar/forum.farmbot.org/connor/32/622_2.png) [@connor](https://forum.farmbot.org/u/connor)\
**Post date:** [October 19, 2017, 3:20pm UTC](https://forum.farmbot.org/t/simulation-of-farmbot-on-virtual-machines/2744/4 "2017-10-19T15:20:28Z")

</div>

@hormigo  
I’m curious as to why you want to simulate FarmbotOS on Qemu?

For what it’s worth, I already have support for QEMU, but it’s not very useful, being that FarmbotOS expects a wifi chip, network access, etc to work, and it’s also incredibly slow on ARM, even on a reasonably fast machine.

If all you want is to run FBOS on your host x86\_64 machine that is how most development is done and is really easy to setup.

just `git clone https://github.com/farmbot/farmbot_os` then follow the readme.

---

<div class="post-metadata">

**Author:** ![hormigo](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/h/9f8e36/32.png) [@hormigo](https://forum.farmbot.org/u/hormigo)\
**Post date:** [October 20, 2017, 8:08am UTC](https://forum.farmbot.org/t/simulation-of-farmbot-on-virtual-machines/2744/5 "2017-10-20T08:08:54Z")

</div>

@connor

My intention was to simulate some code I have done before I load it into the Raspberry Pi. But, you are right, so I will do it on the Raspberry Pi directly.

Thank you.

---

<div class="post-metadata">

**Author:** ![connor](https://forum.farmbot.org/user_avatar/forum.farmbot.org/connor/32/622_2.png) [@connor](https://forum.farmbot.org/u/connor)\
**Post date:** [October 20, 2017, 3:56pm UTC](https://forum.farmbot.org/t/simulation-of-farmbot-on-virtual-machines/2744/6 "2017-10-20T15:56:55Z")

</div>

@hormigo You don’t have to do it on the Pi directly. You can certainly run the application on your desktop PC.
