Convert a FreeBSD System to PC-BSD®/10.0
An existing FreeBSD 10.0 installation can be easily converted to either a PC-BSD® desktop or server through the installation of a package which is available from the PC-BSD® package repository. The converted desktop will contain all of the graphical utilities that come with PC-BSD® and the converted server will contain all of their command line equivalents.
Switching to the PC-BSD® pkgng Repository
This section demonstrates how to configure a FreeBSD 10.0 system to use the PC-BSD® pkgng repository. Once this configuration is complete, you can then convert that FreeBSD system to either a PC-BSD® desktop or server as described in the next two sections.
Start by creating this directory:
mkdir -p /usr/local/etc/pkg/repos
Then, create the file /usr/local/etc/pkg/repos/pcbsd.conf with the following contents:
Next, create the following directories:
mkdir -p /usr/local/etc/pkg/fingerprints/pcbsd/revoked mkdir -p /usr/local/etc/pkg/fingerprints/pcbsd/trusted
Then, download the repository's fingerprint file:
fetch --no-verify-peer https://github.com/pcbsd/pcbsd/raw/master/src-sh/pc-extractoverlay/ports-overlay/usr/local/etc/pkg/fingerprints/pcbsd/trusted/pkg.cdn.pcbsd.org.20131209%7Ctxt=https://github.com/pcbsd/pcbsd/raw/master/src-sh/pc-extractoverlay/ports-overlay/usr/local/etc/pkg/fingerprints/pcbsd/trusted/pkg.cdn.pcbsd.org.20131209 cp pkg.cdn.pcbsd.org.20131209 /usr/local/etc/pkg/fingerprints/pcbsd/trusted/
The system is now configured and you now update your packages to the latest versions from the pkgng repository using the following command:
Depending upon what is already installed, you may have to resolve some error messages in order to successfully upgrade all packages.
To install and delete packages, use the pkg command as described in.
Converting FreeBSD to a PC-BSD® Desktop
To convert a FreeBSD system into a PC-BSD® desktop, install the following port as the superuser:
If the ports collection is not yet installed, meaning that the above directory does not exist, install it by typing portsnap fetch extract. You can then run the above commands. Once the port compile is complete, run the following commands to extract the installed desktop:
pbreg set /PC-BSD/SysType PCBSD pc-extractoverlay desktoppc-extractoverlay ports
Next, reboot the system and the PC-BSD® login manager will start, allowing you to login to the desktop. If you want to set the PC-BSD® display wizard and first boot wizards to run first, run these commands before rebooting:
touch /var/.pcbsd-firstboottouch /var/.pcbsd-firstgui
Converting FreeBSD to a TrueOS® Server
If you wish to convert a FreeBSD server to TrueOS®, install the server package instead, then extract the installed utilities:
rehash pbreg set /PC-BSD/SysType TRUEOS pc-extractoverlay serverpc-extractoverlay ports
These steps will install the following: PBI Manager, the command line version of warden, and the command line versions of most of the Control Panel utilities. You will find those utilities in /usr/local/bin/pc-*. It also installs .