How I installed Unraid and started my journey in networking. Part 3


Disclaimer: I am by no mean a professional. I am just doing this for fun and enjoy learning along the way (I probably still don’t know anything 🤣). These are not meant as a guide and should not be treated as such. What I am showing you here is what I did, and it worked for me and my situation but might not apply to you. Your result could be very different from mine. Heck, I could be doing or saying something entirely wrong since I’m still considering myself a newbie (Hence the name of my site “noob to networking” 😉). Please don’t take a random person’s words on the internet too seriously, and again, ALWAYS and I mean always do your own research (Well, take this one seriously, though).

Part 3 of the series, Hopefully, will be the last 😅

Happy New Year! It’s been 2 months since I started this blog and the challenge; I somehow managed to keep up with it (even though sometimes I was so close to giving up 😅). I want to thank everyone for their supports. Even though my audience was not that big, some enjoyed the content. It is tough for me to keep up with the schedule and writing, but I will try my best. I am also about to make a significant transition in life, a milestone one could call it. I will make some announcements when the time comes. Let’s come back to the topic.

How did I install Unraid? (on a new machine for demonstration purposes)

So if my pep talk somehow got you interested in Unraid (not sure how that happened though🤷‍♂️) and want to get into the action but not sure where to start? Fear not, I shall walk you through the installation of Unraid. Here is a warning for you, this cost me tons of time and effort (money too) as I was hooked (not like I built another Unraid server after 6 months after the first anyways, totally not 😅). Turn back now if you have any second thoughts 😛. Let us begin!

The checklist

First and foremost, I have to emphasize that Unraid is NOT FREE. You need to pay for the license to use it. So I recommend using the 30 days free trial and extending if you need to before making a decision. I know everyone has a different tolerance for spending money, but instead, you make up your mind before making any purchases. With that out of the way, you need the checklist to get started.

  • A NAS or computer will be convert to a NAS, it could be a brand new system you build or refurbished from the old computers. Ideally you want the computers has as many connector to connect to the hard drives as possible. Since you want to build a NAS and the NAS main function to be the shared storages. Of course how many is entirely depend on your need and situation.
  • A USB flash drive. Unraid installed on this flash drive and the USB flash drive device ID will be linked to your Unraid instance so when you decided to purchase a license. The license key will be bind to the flash drive. As I mentioned in part 1, you can use what I used.
  • A working PC (Linux, Mac or window), we need to install Unraid to the flash drive and we need to do that on a separate computer.
  • Hard drives, I would recommend 2 drives at the minimum. The highest capacity of the drive will be use as parity drive (so you won’t be able to use it).
  • SSD, As I mentioned the flawed of Unraid is how slow everything is without a cache drive. You want to have at least 1 SSD to served as the cache drive to make your life easier and boost the performance.
  • Some IT common sense 🤷‍♂️, if not then you better be good at following instruction and some good critical thinking.

The hardware for this demonstration

This is the ASRock Desk Mini. I installed 256GB NVMe SSD, which will be my cache drive.
I connected this PC to the 2 x 2.5 inches hard drives that I salvaged from my old broken laptop.
I picked up the pack of 3 of the USB flash drive 32GB from Amazon for a decent cheap drive ($25, which comes to about $8/USB). Not a bad deal. However, I did run into some issues, which I will explain later.

The installing process

Preparing Unraid on the USB flash drive using USB creator tool

As I have mentioned before, the Unraid operating system itself is installed on a USB flash drive and not on an internal drive. What happened was when we booted the NAS, the operating system will be loaded to the RAM and stay there persistently (until you shutdown or reboot the NAS). And since the operating system is so light, we shouldn’t expect any issue with it taking up space in the RAM. Also due to Unraid was only loaded to RAM at the beginning. When we changed some configurations, it limited the amount of read and write operations performed on the USB drives, thus increasing the device’s longevity as it does not have to work as much. If you did not know, everything has a life expectancy (Yes, even you). For drives, they are based on read/write operations, which rated how long until a drive will potentially fail after a certain number of tasks are performed (of course, it is not an absolute number but just an estimate).

The other advantage of this approach is that the operating system is not locked based on the hardware and just the USB flash drive. If we have the funds to get a beefy computer, all we need is to plug the flash drive in and boot from it, and our Unraid system should move over without running into issues with licensing…Of course, in some cases of unexpected events such as the flash drives dying an unexpected death ☠️, we can still somewhat restore the setup (as long as we enabled the backup feature and linked the drives to the Unraid account).

At the time of this writing, the current version of Unraid is 6.9.2. I want to make sure everyone knows anything could have changed in the future, or they made the process easier. It is just something to keep in mind.

Firstly, we need a working PC to prepare USB drives and install Unraid. I’m using a Windows computer for this, but your situation could be different. Go to the official Unraid website at https://unraid.net.

Navigate to the Download button on the top right corner, as shown
Here you should see the USB creator tool (the most straightforward method). Select to download for your platform (mine is window)
Once the tool is downloaded, open it, and you should see something like this. It’s just a simple 3 steps process. Follow it.
Make sure you have your USB drive plugged into the PC. Select the version, select the USB flash device, press the arrow icon to refresh the list (if it shows up). Then press writes on step 3.

Once you go through with it, it should work, and you are done installing Unraid on the USB flash drive. Of course, my luck was not too good, as my Sandisk did not show up in the USB flash device list, as you can see in the picture. So we have to forgo doing it the easy way (who would have guessed right 🤷‍♂️) and do it manually. Fear not, I shall walk you though as I have to do it myself since my USB flash drive does not work either 🤣.

Installing Unraid on the USB flash drive the manual way (because the first method does not work)

Go back to the main page of Unraid. Select the Download button.
On the Download page, scroll down until you see Manual installation. There, pick whatever version of Unraid you wish to install. I went with the latest version because I want the latest and greatest 😎.
Wait for the download to complete. Meanwhile, we prepare our USB flash drive. Plug it into the computer, and we should see it show up like this.
Right-click on the USB flash drive and select the Format option
Make sure the File system is at default. For this case is FAT32. Name the drive “UNRAID” as shown in the picture and hit Start to start for the formatting process.
Of course, there will be warming saying Formatting will delete everything on your device. You shouldn’t have anything on it in the first place but double-check just in case. Hit OK.
When the formatting is completed, we should see the confirmation. Exit the window.
Remember the Unraid files we downloaded? Now we can transfer it to the USB flash drive. You can either open it, drag and drop or extract, copy and paste. Whichever way you prefer, you are good to go as long as the files are in the new flash drive.
We should see something like this on our USB flash drive. Pay attention to make_bootable files. If you are using Windows, that will be the make_bootable (Windows Batch File). For other platforms, use your respective make_bootable file (I’m sure you can figure out which one is which if they didn’t already have it stated so obvious) 🤣
Right-click and run the Batch file as administrator (maybe you don’t have to, but I always run as administrator just in case).
There will be a scary black box pop up. Don’t worry; it is just a command prompt, asking you to hit any key to continue to do that. I just hit Enter.
Let’s it do its thing. It should take a couple of seconds, then once completed; you can press any key to finish. I hit Enter again, and the command prompt will close.

And that is pretty much it. We have successfully installed Unraid on the USB flash drive, albeit with a bit of effort going through the manual process instead of the easy route of the USB creator tool. But that is okay; at least we are done. Remove the USB from the computer and plug it into the NAS, where the fun begins.

Configuring the Bios of the NAS

For the most part, as soon as we plug in a USB boot drive into our NAS, everything should work automatically without any configuration. I mentioned before; most Bios will go through the list of the devices and find the boot loader and boot from it. In this case, as we only have the bootable USB drives (I hope you don’t have any operating system installed on the other drives), then it will just work. But I will show you this if you do not get it working. Also, ideally, you want to permanently change the power option for the NAS to turn on (in case of a power outage). Typical PC will remain off when the power comes back, but that isn’t what you want on a NAS. We want the NAS to be on 24/7, and when the power comes back, so is the machine without we have to turn it on physically.

You know the drill, getting on the Bios by smashing the DEL key during the startup (or something depending on your motherboard)
We want to change the boot order, so the idea is to have the first USB boot option.
Change the boot option to USB boot.
After we changed the boot option, you want to check the AC power options to either always on or the last state, meaning if it were on before the power outage, it would boot as soon as the power comes back. Once that is done, Exit and make sure to save the changes 😛.
I have my Ethernet cable connected to the PC, the USB flash drive, and the HDMI cable for display output. HDMI cable is optional since you don’t need that for NAS operation, but it helped with BIOS configuration and making sure the operating system booting up properly 😉
If you have the HDMI cable hooked up to a monitor, you should see this when Unraid boot-up. It will automatically boot into Unraid, so you don’t need to do anything else, or if you are too impatient and don’t want to wait 3 seconds, go ahead and press ENTER. Of course, this boot screen also gives you a chance to pick other options.
After Unraid has finished loading, you should see a screen like this. If you are okay with working without GUI, then go ahead have fun (not sure why you are still reading this if you aren’t know how to do everything already 🤣). I prefer Graphical User Interface, so I am just going to get the IP address of Unraid before heading off to another PC. If you don’t know where to find it, you can find it in the connected devices of your network or look at the picture above in the IPv4 address section 😛. For my network, the IP for this NAS is 10.11.50.31 (your IP will be different but probably will be 192.168.x.x)

Now we have pretty much done with the NAS. You don’t need to do anything else. Just make sure you have the NAS connected to your network using the Ethernet cable or, god forbid…Wi-Fi 😥. Make sure to have an Ethernet cable hook up, or else you probably won’t be able to get an IP address. No, Ethernet cable is the only way you want to use it.

Now use any web browser; it could be a PC or even your phone that access your home network. It should be simple enough. Enter the IP in the URL (mine is 10.11.50.30), and it should be something like this. This is the initial setup process, and we need a license key. As I mentioned before, we will use the trial license (you can enter the full license if you have one, paste the license key URL into the install key section and press the install key). Just hit the “Get Trial Key” button for my fellow free trial.
I ticked the “I agree to sell my soul” box…I mean agree to the term and condition user agreement 😅—the hit Start Trial.
Confirmation box that your trial has begun and so is your free time 😛
This showed all your connected drives. The boot device is the Sandisk USB flash drive. I also have 3 additional devices, which are 2 500GB 2.5inches hard drives and 1 256GB M.2 SSD. Everything showed up here as it should.
You will be prompted to pick what drive to be the parity and what to be in the disk array. I did mention what the parity does back in part 1 of the series. I just assigned one of my drives to be the parity and the disk. Of course, you can always add more in the future to expand your disk storage, so no need to be so stressed out.
Now that we assigned the disk devices and parity. What is left is to make a cache drive. One of the downsides of Unraid is that without cache drive, everything is very slow. So, in my opinion, having a cache drive is mandatory. We have one unassigned device, our NVMe SSD, that we will be using for our NAS cache drive. Select Add Pool.
You can name it whatever you want. I’m pretty basic, so cache it is 😂
Now the cache pool showed up, all we need to do is assign the NVMe SSD to it, press the arrow down icon and select if you don’t know how 🤷‍♂️.
Done assigned the cache drive, hit Start.
Now we have everything assigned. It is always good to format the drives to ensure they are clean and ready for use. Check the box you give your consent (remember, everything required consent, no means no, alright 😛)—all you need to do is press the Format button.
Make sure you know what you are getting yourself into.
More information and caution. There is no turning back now.
The formatting process is starting. It will take a while, but you can still use the system and change the configuration in the meantime.

That is pretty much it. Unraid has been successfully loaded and installed. Simple right? Of course, there are some other minor settings and configurations you want to make it work, but well, that is pretty much out of the scope for this post (it is not because I’m too lazy to cover more or anything 😅). But yea, I might do that in a separate post, just a couple of additional setups to have your NAS up and running. But I mean, there are a bunch of guides out there with more detail and people with a better understanding about Unraid than me that you probably want to listen to.

The most important feature of Unraid that got me into networking

Before using Unraid, I had never known about the world of networking and Docker. For an average PC user, that is probably something you should have come in contact with in the first place anyways (or maybe I am just that clueless 🥲). I have heard that Unraid has a community App Store and it blew my mind of how much we can do with it. The primary purpose of my install Unraid was to serve as a NAS, and I never thought it could do so much more. Unraid’s community App Store on Docker and containers, I had never heard of such a thing, and it was a magical experience for me. Of course, I understood the backend and working of docker with what I know now, and it was not Unraid exclusive. You can have Docker installed on pretty much every platform…but Unraid was still a wonderful experience and a fantastic way to show beginners what it can do. Most of all, the ease of use helped a lot, and I am very appreciative of the effort they put in to make things easier for new people such as myself to get a chance to learn and experience without the huge learning curve.

When you install Unraid, you might not see the community App Store show up. I will show you how to get the community App Store installed, and you can explore the wonderful world of docker. Your NAS can do so much more, and who knows, you might become obsessed with it like me 😛.

On the main dashboard of Unraid, go to the Plugins tab.
Select Install Plugin.
Alright, here is the most challenging part, okay? I want you to enter the URL for the community App Store and hit install. Where to find it, you ask? Go to the Unraid forum, and there will be a thread on the community App Store at https://forums.unraid.net/topic/38582-plug-in-community-applications/ Or if you are too lazy to go to the forum, then here is the URL to put in for the plugin: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
Like this 😉
And magic, it is done.
Go back to the main dashboard, and you should see the Apps tab showing up.
This is what the App Stores look like. Go wild and have fun 🤩

Congratulations 🎉, you have now successfully installed the community App Store on Unraid. Things might have changed in the later version, and you might not have to go through all these steps to have it installed, but well, if you want to jump on it right now, then this is what you have to do.

Unraid is an excellent operating system, and no, I do not get paid to say this. I’m just your average user, and I bought 3 licenses from Unraid because I like the operating system and wish to support the developers. I know I am cheap, but sometimes you get what you pay for, and I do not regret making the purchase. I will be writing more about installing some applications on Unraid in the future posts and what I used to become an integral part of my daily life. Until next time!

-Laz


Leave a Reply