bhyve linux vm won't boot until vnc port is visited (FreeNAS 11u3)

Status
Not open for further replies.

nathanbeach

Cadet
Joined
Sep 28, 2017
Messages
2
Hi,

I have an Ubuntu 17.04 server VM running on FreeNAS 11u3 with bhyve. Works perfectly in every way except that boot will not start on its own. I have to connect to the FreeNAS VNC port (5901) for the VM, then the boot process starts up. Otherwise the VM just sits there doing nothing until I connect a VNC client.

Does anyone have any idea what might be causing this?

On the VM settings in FreeNAS, I do have the "autostart" checkbox checked and boot method is "UEFI". If I change to UEFI-CSM, it just won't boot at all. FreeNAS does autostart the VM (state changes to "running"), it's just the actual boot process inside the guest VM never kicks off.

I'm really not sure if it's bhyve or some Ubuntu/grub issue that I should be researching...

Thanks for any hints!

Nathan
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,464
Does anyone have any idea what might be causing this?
On the VM screen, select your VM, click Devices, click on the VNC device, click Edit, and uncheck the Wait to boot box.
 

nathanbeach

Cadet
Joined
Sep 28, 2017
Messages
2
Perfect! That fixed it.

I guess this check box is in place so that users have a way to force access to their boot options?
 

Simon Mackenzie

Dabbler
Joined
Aug 9, 2013
Messages
43
Subtle and thanks.
 
Status
Not open for further replies.
Top