Hacker News new | ask | show | jobs
by jonhermansen 1038 days ago
Hey vermaden, great article! I saw you had some problems with virt-manager, and I did too! There is a solution your problem:

> I was able to start FreeBSD 13.2 installation … but it got frozen at the kernel messages and nothing more happened.

If you notice at the bootloader screen, it says something like "5. Cons: Dual (Serial primary)"

Pressing the 5 key at the bootloader screen will toggle the output from "Serial primary" to "Video primary" or something to that effect. Once you toggle this setting, it should fix the output hanging and you should get a login prompt.

The other way to fix this problem, is through the virt-manager menu, you can simply switch the view from Graphical Console, to the Serial Console. Under View -> Consoles -> Serial 1

Hope this helps make your experience a little better under virt-manager.

2 comments

Thank You - I will check that out.

If it will work out I will update the article and maybe even probably add another dedicated virt-manager/libvirt Bhyve article.

Regards, vermaden

For FreeBSD VMs I would recommend removing the VNC console. If the only console is a TTY FreeBSD does the right thing out of the box. It also requires a lot less bandwidth to tunnel a serial console than a video stream of a text console.
I tried it and the Serial console was greyed out - I could not select it.

Probably when I would force that upon the FreeBSD loader(8) maybe it will work - but there are other issues.

The Network Type 6 is not supported - so I was not able to create a NAT.

I could start a VM without any networks - but that would render then unusable for me.

I will try again in the future when the libvirt(8) driver for Bhyve is better implemented and more complete.

Regards, vermaden