Table of Contents

Operating System - BSD - FreeBSD - Notes

Misc

/var/cache/pkg/ contains a copy of all packages installed with “pkg install”.

FreeBSD-10.1-i386

Make the packages from DVD available in a local repository

Create the DVD mount point (personal preference, not required):

mkdir /mnt/dvd

Mount DVD1:

mount -t cd9660 -o -e /dev/cd0 /mnt/dvd

Create the directory to hold the packages:

mkdir -p /var/packages/freebsd:10:x86:32/

Copy the packages from DVD to the local directory (recursive (R) and verbose (v)):

cp -Rv /mnt/dvd/packages/freebsd:10:x86:32/ /var/packages/freebsd:10:x86:32/

Copy the DVD repository file to the /etc/pkg/ as DVD.conf

cp /mnt/dvd/packages/repos/FreeBSD_install_cdrom.conf /etc/pkg/DVD.conf

Edit the contents of /etc/pkg/DVD.conf to:

FreeBSD_DVD: {
    url: "file:///var/packages/freebsd:10:x86:32",
    mirror_type: "none",
    enabled: yes
}

Update the package catalog to include the FreeBSD_DVD repository:

pkg update

Install X.org and a desktop environment (MATE)

Install the packages:

pkg install xorg mate

Configure startx to start the MATE desktop environment by adding the following to ~/.xinitrc:

exec ck-launch-session mate-session

Install the NVIDIA driver for a GeForce 6800 Series graphics card

See: NVIDIA - What's a legacy driver? for a list of which driver version to use for which graphics card.

Install the driver package (will also install linux compatibility based on CentOS 6.6):

pkg install nvidia-driver-304 nvidia-xconfig nvidia-settings

Add to /etc/rc.conf:

linux_enable="YES"

Add to /boot/loader.conf:

nvidia_load="YES"

Let nvidia-xconfig generate the xorg.config:

nvidia-xconfig