Bootstap pkg from dvd
Jason C. Wells
jasoncwells at gmail.com
Wed Sep 24 18:59:46 UTC 2014
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 <vmiller at hostileadmin.com> wrote:
On Tue, Sep 23, 2014 at 5:47 PM, Jason C. Wells
<[1]jasoncwells at 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 at gmail.com
More information about the freebsd-questions
mailing list