Convert a FreeBSD System to PC-BSD®/10.0

From PC-BSD Wiki
Revision as of 21:55, 18 December 2013 by Tigersharke (Talk | contribs)

Jump to: navigation, search


Contents


An existing FreeBSD 10.0 installation can be easily converted to either a PC-BSD® desktop or server through the installation of a FreeBSD port. 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.

Converting FreeBSD to a PC-BSD® Desktop

To convert a FreeBSD system into a PC-BSD® desktop, install the following port as the superuser:

cd /usr/ports/sysutils/pcbsd-utils-qt4                                                       make install clean

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:


rehash

pbreg set /PC-BSD/SysType PCBSD pc-extractoverlay desktop

pc-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/.runxsetup                                                           

touch /var/.pcbsd-firstboot

touch /var/.pcbsd-firstgui

If you are running FreeBSD 10-CURRENT, specify the PBI version to pull from. To do so, edit /usr/local/etc/pbi.conf and add this line:

PBI_FBSDMAJOR: 9                                                                
NOTE: If you are using NVIDIA video hardware, load the driver before rebooting into the display wizard by running the command pc-metapkgmanager add NVIDIA.

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:

pkg install pcbsd-utils                                                     

rehash pbreg set /PC-BSD/SysType TRUEOS pc-extractoverlay server

pc-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 these additional shells and utilities[1].

References


  1. https://github.com/pcbsd/pcbsd/tree/master/build-files/ports-overlay/misc/trueos-base/Makefile
Other languages:German 3% • ‎English 100%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox