How to install FreeBSD 10.2

About FreeBSD

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 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 and 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.

  • Once the boot is complete, the following welcome will appear. 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 eill let you to try the live FreeBSD system without installing it.

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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_002

    Select your Keymap. I go with the default selection.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_003

    Enter a hostname for your system.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_004

    Select the system components to install.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_005

    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).

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_006

    Choose Entire Disk and press Enter.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_007

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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_008

    Review the partition sizes. Once you ok with the partition size, select Finish and press Enter.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_009

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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_010

    FreeBSD installation process will start now.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_011

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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_013

    Next select your Network interface card to configure Network.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_014

    Select Yes to configure IPv4 for the interface.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_015

    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 [Running] - Oracle VM VirtualBox_003

    Enter the IP address, subnet, and gateway etc.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_004

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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_018

    Next, enter DNS server IP.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_001

    Select No to select your default Time zone.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_020

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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_021

    Select your Country, for example India.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_022

    Select Yes to confirm and press Enter to continue.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_023

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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_024

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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_025

    Enter the details of the new user.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_027

    Type Yes to create the new user.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_028

    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.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_030

    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 [Running] - Oracle VM VirtualBox_031

    Finally remove the installation media and click Reboot.

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_032

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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_034

    Post installation

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

    To do so, run:

    freebsd-update fetch install

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_007

    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

    FreeBSD 10.2 [Running] - Oracle VM VirtualBox_009

    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.

    If you find this tutorial useful, please share it on your social networks and support OSTechNix.

    Thanks for reading!

Leave a Reply

Your email address will not be published. Required fields are marked *