TranslateProject/sources/tech/20190830 How to Install Linux on Intel NUC.md
DarkSun ecbd613e5b 选题: 20190830 How to Install Linux on Intel NUC
sources/tech/20190830 How to Install Linux on Intel NUC.md
2019-08-30 00:53:13 +08:00

10 KiB
Raw Blame History

How to Install Linux on Intel NUC

The previous week, I got myself an Intel NUC. Though it is a tiny device, it is equivalent to a full-fledged desktop CPU. Most of the Linux-based mini PCs are actually built on top of the Intel NUC devices.

I got the barebone NUC with 8th generation Core i3 processor. Barebone means that the device has no RAM, no hard disk and obviously, no operating system. I added an 8GB RAM from Crucial (around $33) and a 240 GB Western Digital SSD (around $45).

Altogether, I had a desktop PC ready in under $400. I already have a screen and keyboard-mouse pair so I am not counting them in the expense.

A brand new Intel NUC NUC8i3BEH at my desk with Raspberry Pi 4 lurking behind

The main reason why I got Intel NUC is that I want to test and review various Linux distributions on real hardware. I have a Raspberry Pi 4 which works as an entry-level desktop but its an ARM device and thus there are only a handful of Linux distributions available for Raspberry Pi.

The Amazon links in the article are affiliate links. Please read our affiliate policy.

Installing Linux on Intel NUC

I started with Ubuntu 18.04 LTS version because thats what I had available at the moment. You can follow this tutorial for other distributions as well. The steps should remain the same at least till the partition step which is the most important one in the entire procedure.

Step 1: Create a live Linux USB

Download Ubuntu 18.04 from its website. Use another computer to create a live Ubuntu USB. You can use a tool like Rufus or Etcher. On Ubuntu, you can use the default Startup Disk Creator tool.

Step 2: Make sure the boot order is correct

Insert your USB and power on the NUC. As soon as you see the Intel NUC written on the screen, press F2 to go to BIOS settings.

BIOS Settings in Intel NUC

In here, just make sure that boot order is set to boot from USB first. If not, change the boot order.

If you had to make any changes, press F10 to save and exit. Else, use Esc to exit the BIOS.

Step 3: Making the correct partition to install Linux

Now when it boots again, youll see the familiar Grub screen that allows you to try Ubuntu live or install it. Choose to install it.

Suggested read  3 Ways to Check Linux Kernel Version in Command Line

First few installation steps are simple. You choose the keyboard layout, and the network connection (if any) and other simple steps.

Choose the keyboard layout while installing Ubuntu Linux

You may go with the normal installation that has a handful of useful applications installed by default.

The interesting screen comes next. You have two options:

  • Erase disk and install Ubuntu: Simplest option that will install Ubuntu on the entire disk. If you want to use only one operating system on the Intel NUC, choose this option and Ubuntu will take care of the rest.
  • Something Else: This is the advanced option if you want to take control of things. In my case, I want to install multiple Linux distribution on the same SSD. So I am opting for this advanced option.

If you opt for “Erase disk and install Ubuntu”, click continue and go to the step 4.

If you are going with the advanced option, follow the rest of the step 3.

Select the SSD disk and click on New Partition Table.

It will show you a warning. Just hit Continue.

Now youll see a free space of the size of your SSD disk. My idea is to create an EFI System Partition for the EFI boot loader, a root partition and a home partition. I am not creating a swap partition. Ubuntu creates a swap file on its own and if the need be, I can extend the swap by creating additional swap files.

Ill leave almost 200 GB of free space on the disk so that I could install other Linux distributions here. You can utilize all of it for your home partitions. Keeping separate root and home partitions help you when you want to save reinstall the system

Select the free space and click on the plus sign to add a partition.

Usually 100 MB is sufficient for the EFI but some distributions may need more space so I am going with 500 MB of EFI partition.

Next, I am using 20 GB of root space. If you are going to use only one distributions, you can increase it to 40 GB easily.

Root is where the system files are kept. Your program cache and installed applications keep some files under the root directory. I recommend reading about the Linux filesystem hierarchy to get more knowledge on this topic.

Suggested read  Share Folders On Local Network Between Ubuntu And Windows

Provide the size, choose Ext4 file system and use / as the mount point.

The next is to create a home partition. Again, if you want to use only one Linux distribution, go for the remaining free space. Else, choose a suitable disk space for the Home partition.

Home is where your personal documents, pictures, music, download and other files are stored.

Now that you have created EFI, root and home partitions, you are ready to install Ubuntu Linux. Hit the Install Now button.

It will give you a warning about the new changes being written to the disk. Hit continue.

Step 4: Installing Ubuntu Linux

Things are pretty straightforward from here onward. Choose your time zone right now or change it later.

On the next screen, choose a username, hostname and the password.

Its a wait an watch game for next 7-8 minutes.

Once the installation is over, youll be prompted for a restart.

When you restart, you should remove the live USB otherwise youll boot into the installation media again.

Thats all you need to do to install Linux on an Intel NUC device. Quite frankly, you can use the same procedure on any other system.

Intel NUC and Linux: how do you use it?

I am loving the Intel NUC. It doesnt take space on the desk and yet it is powerful enough to replace the regular bulky desktop CPU. You can easily upgrade it to 32GB of RAM. You can install two SSD on it. Altogether, it provides some scope of configuration and upgrade.

If you are looking to buy a desktop computer, I highly recommend Intel NUC mini PC. If you are not comfortable installing the OS on your own, you can buy one of the Linux-based mini PCs.

Do you own an Intel NUC? Hows your experience with it? Do you have any tips to share it with us? Do leave a comment below.


via: https://itsfoss.com/install-linux-on-intel-nuc/

作者:Abhishek Prakash 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出