Difference between revisions of "Convert a FreeBSD System to PC-BSD®/10.0"

From PC-BSD Wiki
Jump to: navigation, search
Line 5: Line 5:
  
 
<!--T:29-->
 
<!--T:29-->
The PC-BSD® pkg repository contains a custom package, called ''pcbsd-base'', which can be used to easily convert an existing FreeBSD installation into a PC-BSD® desktop. It also contains a custom package called ''trueos-base'' which can be used to convert an existing FreeBSD installation into a TrueOS® server. 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.
+
An existing FreeBSD 10.0 installation can be easily converted to either a PC-BSD® desktop or server through the installation of a package. 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.
 
+
<!--T:31-->
+
This section describes how to:
+
 
+
<!--T:33-->
+
* Convert a FreeBSD system to a PC-BSD® desktop.
+
 
+
<!--T:34-->
+
* Convert a FreeBSD system to a TrueOS® server.
+
  
 
== Converting FreeBSD to a PC-BSD{{R}} Desktop == <!--T:16-->
 
== Converting FreeBSD to a PC-BSD{{R}} Desktop == <!--T:16-->
  
 
<!--T:17-->
 
<!--T:17-->
Once the repository configuration is complete, it is now easy to convert a FreeBSD system into a PC-BSD® desktop using the following commands as the superuser:
+
To convert a FreeBSD system into a PC-BSD® desktop, install the following package as the superuser:
  
 
<!--T:36-->
 
<!--T:36-->
{{txtbox|box= '''pkg install -fy pcbsd-base'''{{nbsp|54}}
+
{{txtbox|box= '''pkg install pcbsd-utils-qt4'''{{nbsp|54}}
 
'''rehash'''
 
'''rehash'''
 
'''pbreg set /PC-BSD/SysType PCBSD'''
 
'''pbreg set /PC-BSD/SysType PCBSD'''

Revision as of 14:37, 5 December 2013

(Sorry for the inconvenience)

Contents

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

pkg install pcbsd-utils-qt4                                                      

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 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®, use the following commands:

pkg install -fy trueos-base                                                     

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

pc-extractoverlay ports

The installation of the trueos-base package 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. http://trac.pcbsd.org/browser/build-files/ports-overlay/misc/trueos-base/Makefile
Other languages:German 8% • ‎English 100%