How to install FreeNAS 10 “Corral” in 5 easy steps

FreeNAS Corral - Preview

FreeNAS Corral has been released just a week ago, yet it has already reached its fans’ hearts thanks to its sleek interface and its new features. Today we’ll look at how to install it in 5 easy steps.

About FreeNAS Corral

Corral is (as of the moment I’m writing this article) the latest release of FreeNAS, based on FreeBSD 11. It brings many improvements and above all, a new sleek, polished and asynchronous web User Interface. In the case you missed what’s new, here you can take a look at the new features.

About this guide

Important
I take absolutely NO responsibility of what you do with your machine; use this tutorial as a guide and remember you can possibly cause data loss if you touch things carelessly.

This guide is not intended for newbies, FreeNAS is a little more complicated than usual Linux distributions. If you just want to start learning about the *nix world I suggest you start here or here.

You should use ECC memory; using non-ECC memory is a potential threat to your data and should be avoided. FreeNAS Corral has a suggested minimum 8GB of memory. From my tests, unlike FreeNAS 9, attempting to use 4GB will heavily affect performance and should be avoided.

Requirements

In order to install Corral successfully you will need:

  • A machine with a 64-bit processor.
  • At least 8GB of RAM (ECC is preferred although not strictly required).
  • A boot medium (CD/DVD, USB, whatever).
  • If you plan to install FreeNAS on a USB pendrive you can’t use that same drive to boot from (you will need two USB drives).

Installing FreeNAS Corral

1) Preparations

The first thing you have to do to proceed with the installation of FreeNAS Corral is to boot it from a support (CD/DVD and USB Pendrives are today the best options).
Once you have your support, reboot the machine, select an option like “boot options” or “boot priority list” and select your support, in this way you should see this screen. Press enter and then enter a second time.

2) Install menu

If everything went correctly, you should see this screen which is quite self-explanatory. Just select option 1 and press enter.

3) Selecting install destination

In this step you will get a list of the possible destinations for your FreeNAS Corral installation. The most common destination is a USB device (you can also select a disk, however FreeNAS won't allow you to use that same disk as storage). If you want to install FreeNAS on USB search for entries starting with da, if you want to install on a disk search for entries starting with ad. Check your selection twice: the installation will completely erase the destination. When you're ready click enter and confirm.

4) Root password

You will be prompted to select a root password (that you will use during the initial setup). It is suggested to pick a strong password since the root user can do anything to your machine and if someone were to guess that password you would be in danger.

FreeNAS Corral Installation - 6 UEFI

5) Boot mode

In this step you have to decide how FreeNAS will be booted from the destination you are installing it onto. If you're running on a machine which only uses UEFI you will of course select UEFI. Other systems may allow turning off UEFI boot (also called legacy mode by some vendors), in that case the choice of whether to use UEFI or BIOS is up to you, if you choose to use Legacy, remember to disable the UEFI mode in your UEFI.

6) Installation successful

If everything went smoothly you will now see this screen. Do as you are told: press ok to return to the menu, then issue a shutdown by selecting the appropriate option, after that remove the installation media (not the one you installed FreeNAS onto if you used a USB pendrive). Then power up your machine (you should also configure the BIOS/UEFI settings to make your computer boot from the destination of your installation by default). At this point the installation is over.

7) Boot environments

From here you will be able to select the different boot environments. At the first boot you will have only one, but they will start growing as time passes and updates are released. Selecting one will prompt you to select one mode, the default one is fine. Keep in mind that the first time you boot a new FreeNAS installation it can take quite some time (even 10-20 minutes).

8) CLI

This screen means that you installed and booted FreeNAS Corral correctly. This CLI is a new feature and replaces the old (nifty) menu. From here you can modify system settings, they can also be modified through the web UI that can be accessed through another computer by going to the provided address (in my case: 10.0.2.15).

9) Configuring network

A thing you might want to do before accessing the web interface is to configure the network interfaces. It is wise to set a static IP and disable DHCP in order to keep your server in a known position (address-wise). To do so you just have to issue two commands:

# network interface em0 set dhcp=false
# network interface em0 alias create address=YOURADDRESS netmask=YOURNETMASK
Of course you should replace em0 with the actual interface you want to configure (it might be different for you), and you should replace YOURADDRESS and YOURNETMASK with the actual values you desire.

10) Web Interface

That's it! Go to another computer connected to your local network and point your browser to the address given by FreeNAS. If everything went the right way you will see this screen. From here use the username root and the password you set on step 4 to log in the web interface.


Conclusion

You now know what the basic requirements for a Corral installations are. The process itself isn’t that difficult and resembles the FreeNAS 9 installation, although the part regarding configuring the network is completely different because of the new CLI.

Image courtesy of mark | marksei
mark

You may also like...

4 Responses

  1. Gallifreyan says:

    Hi there. Looks like you may be missing about 4 steps on this post? I see “1) Preparations” and then “Conclusion.” It’s a good start though :)

    • mark says:

      Hello Gallifreyan, try to swipe the image above the instruction; or take your mouse over and use the arrows : )

      • Gallifreyan says:

        Ah. I would probably never have thought of that, but I got to all ten steps.

        One interesting feature I found ( haven’t verified or tested it yet, but it seems to have installed that way ) is that apparently Corral will automatically mirror boot drives if you put two in and choose them from the device list in step 3. I’m using two ports on an internal header with a pair of Hyundai 16GB drives. It’s probably overkill but I’m big on overkill. :)

        https://rsts11.com/2017/04/10/system-build-report-a-xeon-d-htpc-for-freebsd-corral-or-vmware-vsphere/

        • mark says:

          Great post, I haven’t really tried to select two devices in step 3, in the past (FreeNAS 9) I had to do it manually. Well, choosing FreeNAS for home storage instead of a prebuilt NAS is probably overkill already, so you’re already in the club : )

Leave a Reply

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

%d bloggers like this: