Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2014 19:39:54 -0700
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        Susan Stanziano <susan.stanziano@xinuos.com>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: Help with Bhyve VM install
Message-ID:  <CAG=rPVfmQ1m3qmws=kdH1vUoKixMvz0E5N-4k4R1v9pae7zBAA@mail.gmail.com>
In-Reply-To: <926516146.1185082.1414701141476.JavaMail.zimbra@xinuos.com>
References:  <1332647925.1184837.1414700255905.JavaMail.zimbra@xinuos.com> <926516146.1185082.1414701141476.JavaMail.zimbra@xinuos.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 30, 2014 at 1:32 PM, Susan Stanziano <susan.stanziano@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVfmQ1m3qmws=kdH1vUoKixMvz0E5N-4k4R1v9pae7zBAA>