From owner-freebsd-testing@FreeBSD.ORG Fri Oct 31 02:39:56 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DDBB54C8; Fri, 31 Oct 2014 02:39:56 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 39CB76D6; Fri, 31 Oct 2014 02:39:56 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id w7so5420497lbi.12 for ; Thu, 30 Oct 2014 19:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=sfuOR7CL115vhmX3U5MBpHBSDVvFBGXZtpJyTM9yrv8=; b=yV5nGk5uYZzYLAlZL5jC6JnnIf2elo8p0FjMjGfjFPEofqeFJkbXxcnw6giDCI1CwB 0hraasRxgLHM0BcqU12DMojVp9b2KV9zrTpesBeOWT1BOCJVHGzXOUkAdS8iefCp7Gqo Ro8fHEdUrdaHhL18G/OWPAPv+ug6rhmB2n+9xqHUGkDfKNx5k21vm0y172P6H4KlEDKu fw+X98dYedftHcdvLoxcMzI8o+8zsIjFwLiJK0YrbRL6tnvoZ1/RFsJtl8/T4B1Oyq9q VrJSGFKeoxt6S3DI1Rn904TASruwWfPq8PJZFMXpNG7gDLnenYOPdskaxUpftQMatBV1 f4Ag== MIME-Version: 1.0 X-Received: by 10.112.54.229 with SMTP id m5mr22939283lbp.11.1414723194074; Thu, 30 Oct 2014 19:39:54 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.84.197 with HTTP; Thu, 30 Oct 2014 19:39:54 -0700 (PDT) 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> Date: Thu, 30 Oct 2014 19:39:54 -0700 X-Google-Sender-Auth: DX3fZZy1Oo8Hls1QpIh6qTMpS9E Message-ID: Subject: Re: Help with Bhyve VM install From: Craig Rodrigues To: Susan Stanziano Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 02:39:57 -0000 On Thu, Oct 30, 2014 at 1:32 PM, Susan Stanziano 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