FreeBSD installation without inet connections


New Member

Messages: 1

Hi everyone,

I wondered about the default installation of FreeBSD 11.0(-release-p1).
It was impossible for me to install pkg by default.
Because of the msg: ...Error fetching http://... but that's no wonder because there is no inet connection.
My source is a DVD. (mounting etc. is no problem)
I was not able to install pkg without modifying pkg.conf or/and FreeBSD.conf.

My question is: Can I install pkg from my DVD or to change URL to a file location by default? (bsdconfig,...)

greetings Marc


Active Member

Reaction score: 58
Messages: 142

The DVD contains a static version of pkg() located at /usr/sbin/pkg. You can use it to install local packages: /usr/sbin/pkg add vim.txz.

# mdconfig -t vnode -a -f FreeBSD-11.1-RELEASE-amd64-dvd1.iso -u 3
# mount_cd9660 /dev/md3 /media/
# find /media/ -type f -name pkg\*
So it looks like you can install pkg-1.10.1.txz using /media/usr/sbin/pkg.