Home FreeBSD How To Install FreeBSD 10.2

How To Install FreeBSD 10.2

By sk
Published: Updated: 1.2K views

FreeBSD is an Unix-like, advanced operating system that can be installed in modern Servers, Desktops, Laptops and embedded platforms. It is the direct descendant of BSD Unix and of course it is free. The first version of FreeBSD was released in 1993, and today it is the most widely used open source BSD operating system. FreeBSD is licensed under permissive BSD license. In this tutorial, we will see how to install FreeBSD 10.2.

Install FreeBSD 10.2

For the purpose of this tutorial, I will be using the following test machine to install FreeBSD 10.2.

  • Hostname: freebsd.ostechnix.local
  • IP Address:
  • Hard disk size: 20 GB
  • Memory: 1 GB

Let us start the installation. Download the latest FreeBSD version from here. Create a bootable DVD or USB drive using any one of the tools:

And then boot up your system using the installation media.

You will see the FreeBSD installer menu. press 1 (number one) or press Enter to start the installation.

FreeBSD installer menu

Once the boot is complete, you will see the following welcome message. You have three options here:

  1. Press Enter to install FreeBSD on your hard drive.
  2. Select Shell and press to enter into command line mode. In commend line mode, you can partition the hard drives as per your choice before installing FreeBSD on it.
  3. The third option, Live CD will let you to try the live FreeBSD system without installing it.

Let us go with the default option, i.e. Install. Press Enter to select the default option.

FreeBSD 10.2 install message

Select your Keymap. I go with the default selection.

Select Keymap

Enter a hostname for your system.

Enter hostname

Select the system components to install.

Select the system components to install on FreeBSD

Next we need to partition our hard disk to install FreeBSD. You can either proceed with default option, Auto (UFS), or Manual partition method.

I would like to proceed with automatic partition, so I selected first option i.e Auto (UFS).

Choose partition method to install FreeBSD 10.2

Choose Entire Disk and press Enter.

Choose hard disk to install freebsd

Select partition scheme for the drive and press Enter. I go with the default selection.

Select partition scheme to installFreeBSD

Review the partition sizes. Once you're OK with the partition size, select Finish and press Enter.

Review partition sizes in FreeBSD

Click Commit to confirm the partition setup and press Enter to save the changes.

Confirm partition setup

FreeBSD installation process will start now.

Start FreeBSD installation

Once the installation is complete, you'll be asked to change/set the root user password.

Set root password in FreeBSD 10.2

Next select your Network interface card to configure Network.

Configure network card in FreeBSD 10.2

Select Yes to configure IPv4 for the interface.

configure ipv4 in FreeBSD 10.2

Here we have to setup the IP address for the network card. If you have DHCP server, Select Yes to enable DHCP for this network interface. If you don't have DHCP server, select No and enter the IP address, subnet, network mask manually.

I do not have DHCP server in my network, hence I selected No.

FreeBSD 10.2 network configuration

Enter the IP address, subnet, and gateway etc.

Enter network ip details in FreeBSD 10.2

I don't use IPv6, so I selected No.

Configure ipv6 in FreeBSD 10.2

Next, enter DNS server IP.

Enter DNS ip in FreeBSD 10.2

Select No to select your default Time zone.

Configure timezone in FreeBSD 10.2

Select your Region. For me, it's Asia.

Select timezone in FreeBSD 10.2

Select your Country, for example India.

Select country or region in FreeBSD 10.2

Select Yes to confirm and press Enter to continue.

FreeBSD 10.2 [Running] - Oracle VM VirtualBox_023

Next, select the list of services you would like to be started at every boot.

Choose the services to start at boot in FreeBSD 10.2

We need to create a normal user for regular computing. Select Yes and press Enter.

Add users in FreeBSD 10.2

Enter the details of the new user.

Create new user in FreeBSD 10.2

Type Yes to create the new user.

Confirm creating new user in FreeBSD 10.2

Similarly, you can create as many users as you want. For me, just one user is enough, so I entered No to continue.

FreeBSD 10.2 [Running] - Oracle VM VirtualBox_029

We have reached the final stage. Select Exit and press Enter to apply the configuration and exit the FreeBSD installer.

Apply final configuration in FreeBSD 10.2

Congratulations! FreeBSD installation is completed. The installer will ask you to make any final changes before exiting the installer wizard. If you want to change anything, select Yes, else select No and press Enter to complete the installation.

FreeBSD 10.2 installation is completed

Finally remove the installation media and click Reboot.

Reboot FreeBSD 10.2

After rebooting, enter the username and password to login to your newly installed FreeBSD system.

Login to FreeBSD 10.2

FreeBSD Post installation

Like any other operating systems, it is recommended to update FreeBSD after installing it.

To do so, run:

freebsd-update fetch install

Update FreeBSD 10.2

Add the normal user to perform administrative tasks using sudo.

To do so, install sudo package with command:

pkg install sudo

Then add the normal user (Ex. ostechnix in our case) to the sudoers list.

To do so, run:


Add the following line:

ostechnix ALL=(ALL) ALL

Add normal user to the sudoers list in FreeBSD 10.2

Save and close the file. Now the user ostechnix can able to perform administrative commands with prefix sudo.

That's it. Start using your FreeBSD server.

Refer our next article about installing KDE desktop in FreeBSD.

We will be continuing to publish more tutorials about FreeBSD and other Unix-like operating systems in future. Stay tuned with us.


You May Also Like


pethead February 11, 2016 - 1:42 pm

Where is the grub-install?

sk February 12, 2016 - 8:34 am

Grub-install? No need to do it. Everything will be installed automatically.


Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More