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

Next revision
Previous revision
Next revisionBoth sides next revision
knowledgebase:bsdrp_pkg [2017/07/12 08:04] – created bodemsknowledgebase:bsdrp_pkg [2017/07/14 18:41] bodems
Line 1: Line 1:
-====== Install additional packages in an BSDRP installation =====+===== Install additional packages in an BSDRP installation =====
-**Problem:** +
  
 +==== 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. 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:** +==== Solution ==== 
-  * mount / as rw: mount -uw +  make sure you have extended the data slice 
-  * enable the FreeBSD repo and disable the local repo in /usr/local/etc/pkg/repos/FreeBSD.conf +  mount / as rw: **mount -uw /** 
-  * Extend /var and /etc via **/conf/base/etc/md_size** and **/conf/base/var/md_size**+  * 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 
 +  * 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 /** 
 +  * **pkg install <package>** 
 +  done!
  
----- +==== Useful links ====
- +
-**Usefull links:**+
   * https://bsdrp.net/documentation/technical_docs#how_to_modify_an_existing_image   * https://bsdrp.net/documentation/technical_docs#how_to_modify_an_existing_image
   * https://sourceforge.net/p/bsdrp/mailman/message/34065870/   * https://sourceforge.net/p/bsdrp/mailman/message/34065870/
knowledgebase/bsdrp_pkg.txt · Last modified: 2023/04/30 16:58 by 127.0.0.1