Hi!
I was trying to run resinOS on a virtual machine on Hyper-V following part of the instructions in the article https://resin.io/blog/no-hardware-use-virtualbox/.
Hyper-V is running on Windows Server 2008 SP2
These are the steps I followed:
I have created a new VM
Assigned 32GB HDD and 2GB RAM
Created a intel NUC application on resin.io dashboard -> downloaded the OS image
Using qemu-img I have converted the .img file into a .vhd disk file -> added a disk to the virtual machine with the produced disk image
Started the VM
At this point the virtual screen of the VM shows GRUB and then resinOS starts.
I think that the problem is that in hyper-V there isn’t the option to set a SATA controller for HDDs, only IDE controller is available.
Also setting IDE controller on VirtualBox instead of SATA results in errors, the device appears on the dashboard without any information.
Indeed, the missing SATA controller seems to be the cause here.
If there’s a way to add this in Hyper-V it will most probably work.
Did you also check the Internet connectivity?
You can use ifconfig command to see if there are network interfaces available and if they have IP address assigned.
You are mentioning that you converted a qemu-img. However, in the blog a NUC image is used. The NUC images has always worked for me in virtualbox and the files don’t use qemu in the name.
Hi @fokko,
I have used the standard NUC image downloaded from resin dashboard. The qemu-img I mentioned is a tool to convert the .img in a .vhd disk image.
I have also tried to produce the vhd file with the VBoxManage convertdd command but the result is the same.
In VirtualBox works fine also for me.
Did you ever find a solution? VirtualBox and VMWare work fine, if the VM is being created with SATA devices. Unfortunately, there is no (at least to my knowledge) to use SATA with Hyper-V.