Dolce Far Niente

FreeBSD Base Install (revisited)

Over 2025 (and now 2026) I've done quite a lot of FreeBSD installs. Since I frequently change desktop environment or window manager I like to start out with a solid base install.

I recommend anyone to first do an install by following the FreeBSD handbook!

Either way you'll end up with an updated FreeBSD install, with yourself and root as users. That's the base to start anything from. Let's go!

ISO Image

At the time of writing this (August 2026) we are at version 15.1. Download the iso:

https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/15.1/FreeBSD-15.1-RELEASE-amd64-disc1.iso

Put it on a USB stick and boot from it:

sudo dd if=FreeBSD-15.1-RELEASE-amd64-memstick.img of=/dev/sdX bs=1M conv=sync

Installation steps

For the configuration and hardening I've selected some options that I find practical for generic system maintenance.

If applicable the installer will give an overview of the detected hardware and thus firmware to install. Accept the choices, but do check to see whether certain hardware hasn't been recognized.

Go through the motions; they are pretty self-explanatory. W/r to 'Invite user into other groups?:' I'd add myself to the wheel,operator and video groups (the last one might be useful if you'd ever be using a display manager, like ly or sddm).

Basically your install is done, but if you want to you can still adjust something in this screen, before rebooting and logging in as root again.

Adjust repo's and first update

Let's use the latest versions of software:

Change the FreeBSD url's to:

Edit the entry for FreeBSD Base and change:

This way you'll continue to receive security and base pkg updates. Then:

Graphics drivers

Enter in the console:

This will tell you your graphics driver, mine was an AMD one. Install all drivers:

Add to /etc/rc.conf to load the AMD GPU driver at startup:

Or with Intel:

Nvidia

Let's follow the handbook for the proprietary Nvidia driver, which can be installed by running the following command:

This is the direct rendering KMS driver. Kernel modesetting is the option to set the graphics mode in the kernel. Enable it for subsequent boots with the following /boot/loader.conf entry:

Both PRIME and Wayland require kernel modesetting.

Reboot the system when finished and login as root again

Basic tooling

Doas config

Logout and login as {USER}

Next steps

Enable a limited number of core services:

QoL

Some useful additions for a well functioning system:

First backup

Create a snapshot of this system:

'minimal' can be renamed to anything you like (i.e doas zfs snapshot -r zroot@base07012026). The '-r' switch means recursively all sub-directories are included in this snapshot.
You can automate all this, but be aware they can take up quite a lot of diskspace. The one I did straight after a KDE install was already 3Gb.

Now you're ready to install any DE or WM on top of FreeBSD.

Many thanks to Cullum Smith (@cullum@bsd.cafe) for providing a lot of useful tips.
There's more of that over here:
https://www.sacredheartsc.com/blog/freebsd-15-on-a-laptop/, including some handy laptop specific tips.
And to Graham Perrin (@grahamperrin@bsd.cafe) for useful feedback and proofreading.