Install FreeBSD

🕐 5 minutes

📅 2022-01-15

The FreeBSD installer is in text mode, but it is easy to do.

Install 1

We just select “Install” on the first screen.

Install 2

In the first step, we choose the language of the keyboard. In our case, we pick the German layout.

Install 3

Next, we are asked for a host name.

Install 4

Here, we can select optional system components. We select “lib32” here if we want to run a 32-bit program. We can select “ports” if we want to build packages locally and “src” if we want to build our own kernel.

Install 5

Next, the installer wants to know how we want to partition the disk. We can partition it manually, or we can let the installer automatically partition our disk using UFS or ZFS. In our case, we select UFS because I don’t have any experience with ZFS.

Install 6

In this step, we have to decide if we want to use the whole disk or a specific partition for the installation.

Install 7

Now we can select the partition scheme. If we have a UEFI system, we choose GPT-run MBR.

Install 8

The installer will show us a suggestion on how to partition the hard drive. At this point, we can still edit with the editor.

Install 9

At this point, we can confirm the selection and start the installation process.

Install 10

The base system installed with the packages we selected.

Install 10

We now select our root password.

Install 10

Next, we select our network card, either WI-FI or LAN.

Install 10

Now the installer asks us if we want to use IPv4 first and then DHCP. The same happens with IPv6.

Install 10 Install 10

Stateless Address Autoconfiguration (SLAAC) is a method of stateless and automatic configuration of IPv6 addresses on a network interface. By “stateless” or “stateless” is meant that the respective IPv6 address not centrally assigned and stored. Accordingly, the host generates its own IPv6 address with additional information. SLAAC is the further development of the procedures for classic IP autoconfiguration under IPv4. Unlike IPv4, IPv6 routers play an active role in this process.

Install 10

We now see the configuration and confirm it.

Install 10

In this step, we can now set the time zone—we select Europe ⇾ Germany.

Install 10

Here we can see if the date set correctly.

Install 10

Here we can see whether the time set correctly.

Install 10

At this point, we can select which services will be started when the computer starts. We select the following services:

Install 10

We can now make some security settings. Here, we will set the following options:

Install 10

Now we will be asked if we want to add more users.

Install 10

When we are asked “Invite USER in other groups?” We will add our newly created user to the following groups: wheel operator dialer video.

Login class: leave it on “default” (we will change it later)

Shell: tcsh

Home directory: standard

Then we choose a password and confirm the creation.

Install 10

Now we can finish the installation process.

Install 10

At this point, we could open a shell and edit it manually. But we prefer not to do that.

Install 10

We restart the PC, and we have successfully installed FreeBSD.