Help with Bhyve VM install

Craig Rodrigues rodrigc at
Fri Oct 31 02:39:57 UTC 2014

On Thu, Oct 30, 2014 at 1:32 PM, Susan Stanziano <susan.stanziano at
> wrote:

> I have a system installed with releng10.1 (with tests configured) and am
> trying to create a VM under Bhyve.
> I want to know which image to use for the VM install, specifically will
> the :
> FreeBSD-10.1-RC3-amd64-bootonly.iso
> install with the /usr/tests directory created? Or, should I use
> FreeBSD-10.1-RC3-amd64-disc1.iso ?

Hi Susan,

I'm not sure why Garrett felt it was necessary to redirect you
to the freebsd-virtualization list.   Although you are using bhyve,
there is nothing specific to bhyve in your questions.  No harm done,
though, since I'm on both lists, and will answer your questions.

FreeBSD 10.1 does not have /usr/tests populated by default.

You have a few options

OPTION 1:   FreeBSD 10.1 ISO

(1)  Install FreeBSD-10.1-RC3-amd64-disc1.iso into a bhyve VM
(2)  Make sure that in the install menus you specify to install sources,
      which will be under /usr/src
(3)  Boot the VM
(4)  Create a file /etc/make.conf with this line:


(5)  Follow these steps 1-11 for rebuilding the binaries on your system
from the source code in /usr/src:

(6)  reboot the VM

Tests will be available under /usr/tests


(1)  Download
(2)  Install in a bhyve VM.
(3)  Make sure that in the installer you specify to install the tests
(4)  Reboot the VM
(5)  Tests will be available in /usr/tests


(1)  Download the pre-built "raw" VM disk image from:
(2) Use "unxz" to decompress it.
(3) Boot the FreeBSD-11.0-CURRENT-amd64.raw image in bhyve
(4)  Tests will be available in /usr/tests


More information about the freebsd-testing mailing list