Run on a VM for dev

Hi,

Is there any plans to roll out an Intel version ? Something that can run in VirtualBox/VMware ?

Would make for a great dev environment IMHO.

Thanks,

Pieter

Hi Pieter, there are various supported x86/64 devices. If you wish to run one under virtualisation the current recommended combination is Intel NUC device type and VirtualBox. You can read more about this on our blog post here: https://www.balena.io/blog/no-hardware-use-virtualbox/. Cheers!

Thanks - didn’t see that !

I see you can’t add a NUC to an Application that “started” with a Rasp PI 3

(I am sure there are good reasons for this :slight_smile: )

Hi there!
When you create a new application you can only add devices that are of the same architecture on it. Intel NUC architecture is amd64, when RPi3 is usually armv7hf.
I hope this makes sense :slight_smile:

Yeah, sure does - I can see why this is implemented :slight_smile:

For those that want to run this in VMWare, here is what I had to do:

Before you do this, create a USB stick (4gig) with the Generic x86_64 image - balenaEtcher works fine here (I am on a Mac)

  • Create a VM with some basic specs - I bumped the RAM in the default “Linux/Other 64-bit” to 2 gig

  • Move the hard disk (8 gig by default) from the SCSI controller to the IDE - any position except IDE0/Master will do

  • Under VM Options, change the boot method to EFI

  • Connect to the VM using VMRC, not the web interface

  • Power up the VM

  • Attach the USB stick to the VM

  • Reboot the VM

Here I had to press F2 and enter the boot menu manually, I then had to find the flash device and manually navigate to the .efi file. Once there, hit enter to boot. The screen will go black and if you look at your balenaCloud dashboard you will see the device installing. From here it should be smooth sailing.

If you see an error about not finding a device by label (resinroot-A) then go back and ensure that the harddisk is mapped to the IDE controller - balenaOS doesn’t have any of the drivers for the other options.

@wrboyce and @georgiats - hit me up with a DM if you want some images for this for a wiki page - it would also be nice for someone to double check this :slight_smile:

Great to hear it works @dewitpj and thank you for the instructions!