On Thu, Oct 30, 2014 at 1:32 PM, Susan Stanziano <susan.stanzi...@xinuos.com
> 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:

WITH_TESTS="yes"

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

https://svnweb.freebsd.org/base/head/Makefile?revision=271168&view=markup#l70

(6)  reboot the VM

Tests will be available under /usr/tests



OPTION 2:  FreeBSD-CURRENT ISO
===========================

(1)  Download
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-amd64-20141025-r273635-bootonly.iso
(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


OPTION 3:  FreeBSD-CURRENT VM image
================================

(1)  Download the pre-built "raw" VM disk image from:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/Latest/FreeBSD-11.0-CURRENT-amd64.raw.xz
(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

--
Craig
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to