bodems

shower thoughts and ideas

User Tools

Site Tools


knowledgebase:bsdrp_pkg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
knowledgebase:bsdrp_pkg [2017/07/14 18:52]
bodems
knowledgebase:bsdrp_pkg [2020/04/16 06:37] (current)
Line 1: Line 1:
 +===== 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!
 +
 +==== Useful links ====
 +  * https://​bsdrp.net/​documentation/​technical_docs#​how_to_modify_an_existing_image
 +  * https://​sourceforge.net/​p/​bsdrp/​mailman/​message/​34065870/​