User Tools

Site Tools


bhyve_openbsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
bhyve_openbsd [2025/04/29 09:51] chrisbhyve_openbsd [2026/02/08 02:37] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +==== Openbsd and Bhyve on a FreeBSD Host ====
  
 +
 +<code shell>
 +pkg install vm-bhyve
 +pkg install vm-bhyve-firmware
 +</code>
 +
 +<code conf openbsd.conf>
 +loader="uefi"
 +cpu=4
 +memory=4G
 +network0_type="virtio-net"
 +network0_switch="public"
 +disk0_type="virtio-blk"
 +disk0_name="disk0.img"
 +disk0_size="40G"
 +bhyve_options=""
 +uuid=""
 +network0_mac=""
 +</code>
 +<code conf settings.conf>
 +console="tmux"
 +</code>
 +
 +  * The above is a default openbsd.conf template
 +
 +  * And the bottom is to use the tmux as console backend instead of cu which I personally don't like.
 +
 +when you are at the boot prompt
 +
 +<code>Using drive 0, partition 3.
 +Loading......
 +probing: pc0 com0 com1 mem[638K 1918M a20=on]
 +disk: hd0+ hd1+
 +>> OpenBSD/amd64 BOOT 3.33
 +boot> set tty com0
 +</code>
 +
 +<code shell>
 +set tty com0
 +</code>
 +when you see the boot prompt press space or any key and type in
 +
 +set tty com0 and press enter you will see a different prompt as you are now using the serial console.
 +
 +and the OpenBSD should boot and a menu should appear.

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki