bodems

shower thoughts and ideas

User Tools

Site Tools


knowledgebase:bsdrp_pkg

Install additional packages in an BSDRP installation

Problem

Once you install BSDRP, FreeBSD ports repository is not enabled, the root-partition is read-only and /var is to small to download and extract the database.

Solution

  • make sure you have extended the data slice
  • mount / as rw: mount -uw /
  • extend /var and /etc via /conf/base/etc/md_size and /conf/base/var/md_size (122880 for 60MB)
  • mount / as ro: mount -ur /
  • reboot: If you are asked to save your config, choose “No”
  • enable the FreeBSD repo and disable the local repo in /usr/local/etc/pkg/repos/myrepo.conf
  • pkg update
  • for installing a package, you have to mount / writeable again: mount -uw /
  • now you can install your package: pkg install <package>
  • done!
knowledgebase/bsdrp_pkg.txt · Last modified: 2023/04/30 16:58 by 127.0.0.1