From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 18:59:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 519EF1D8 for ; Wed, 24 Sep 2014 18:59:46 +0000 (UTC) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::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 28F70BC2 for ; Wed, 24 Sep 2014 18:59:46 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id r10so8877985pdi.26 for ; Wed, 24 Sep 2014 11:59:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:subject:from:to:cc:mime-version:content-type :content-transfer-encoding; bh=jhHLUZ70FdYDuFIQab7BroTqtBukS+7bC+lwup45K+4=; b=WYAeh+OklSoazjqU1ith8/W71Jerp8/gvu7+jCKOw3hvMSPNOkkKctXGzs2tXFJhkW dGdMBmPJCZRaUjQN7A3pIPHCT3T+APZA7EYewvoiKIjXmCOxacwmk7fkV0rYlPFcZ4gy xXSolZ2msyVXIZB6/UNLpgjYCGA1vTsvyyC3fKLU8HgzpfMNCNiN6S6zkIrrimmKTKYr Ziht/tJPfP8BCJ2MQQOS1C0Sa5DjQNX9BiOggfEELfGkod8H87ydUA1bjUd8cKlXtMGk qctlLIVTMergJ0iLRTgo2HP2+TY8qfMYFpsMxvioxZ9JDP0hRdkfUfNOfYokim+WBVze 2m7w== X-Received: by 10.68.164.35 with SMTP id yn3mr11836850pbb.104.1411585185831; Wed, 24 Sep 2014 11:59:45 -0700 (PDT) Received: from [29.209.36.209] ([66.87.138.209]) by mx.google.com with ESMTPSA id ix8sm60534pac.32.2014.09.24.11.59.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Sep 2014 11:59:45 -0700 (PDT) Message-ID: <542314a1.e8c5420a.1ffa.0315@mx.google.com> Date: Wed, 24 Sep 2014 11:59:41 -0700 Subject: Re: Bootstap pkg from dvd From: "Jason C. Wells" To: Rick Miller MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 18:59:46 -0000 Thanks Rick. That got me started. I ended up copying the pkg tarball to a temporary location to avoid the readonly pitfall. That let me get pkg and all it's manpages installed. Once I had that I was able to proceed. Pkg has s bit of a learning curve. Regards, Jason On Sep 24, 2014 2:29 AM, Rick Miller wrote: On Tue, Sep 23, 2014 at 5:47 PM, Jason C. Wells <[1]jasoncwells@gmail.com> wrote: How can I bootstrap pkg from the package file that exists on my dvd? I don't have network access. I assumed I could simply execute: # pkg bootstrap -f /cdrom/.../pkg-1.2.7.txz But the bootstrapper tries to get the file off the network. It does, indeed, try to get it off the network. Â /etc/pkg/FreeBSD.conf is the culprit here. Edit the repo config to use a local repo via file:///blah/ though you may experience challenges getting it to work properly due to the ISO's read-only nature. Not sure what your use case is, but for me, this was one of several challenges I encountered that steered me to using a disk image (customized mfsBSD) to perform automated, non-interactive network installs. HTH -- Rick References 1. mailto:jasoncwells@gmail.com