This guide provides instructions on how to get a NUC (Next Unit of Computing) device up and running with Fuchsia.
The steps are:
- Get parts.
- Prepare the NUC.
- Enable EFI booting.
- Build Fuchsia.
- Prepare a bootstrap USB drive.
- Pave Fuchsia.
1. Get parts
To get started, you need the following parts:
- USB 3.0 Drive
- m.2 SSD
- Monitor that supports HDMI
- HDMI cable
- Ethernet cable
- Phillips-head screwdriver with a magnetic tip
For GPU support, get a NUC7 (Kaby Lake) or NUC8 (Coffee Lake). This list shows some example models:
- Intel® NUC Kit NUC7i5DNKE
- Intel® NUC Kit NUC7i5DNHE
- Intel® NUC Kit NUC7i3DNKE
- Intel® NUC Kit NUC7i3DNHE
- Intel® NUC Kit NUC8i5BEK
- Intel® NUC Kit NUC8i5BEH
- Intel® NUC Kit NUC8i3BEK
- Intel® NUC Kit NUC8i3BEH
This table shows some example parts with links to the manufacturer's product pages:
|RAM||Crucial 8GB DDR4-2400 SODIMM||Works fine.|
|SSD||Samsung SSD 850 EVO SATA M.2 250GB||Works fine.|
|SSD||ADATA Ultimate SU800 M.2 2280 3D NAND SSD||Works fine.|
|SSD||CRUCIAL MX300 SSD||Works fine, but is discontinued.|
|Monitor||HP 22cwa||Works fine.|
2. Prepare the NUC
NUCs don’t come with RAM or an SSD, so you need to manually install them.
Figure 1. A NUC device and RAM and SSD sticks.
To install the RAM and SSD on your NUC, do the following:
Remove the Phillips screws on the bottom feet of the NUC.
Install the RAM.
Remove the Phillips screws that would hold the SSD in place (a Phillips screwdriver with a magnetic tip is useful here).
Install the SSD.
Mount the SSD in place using the screws from Step 3.
Put the bottom feet and screws back in.
Plug power, ethernet cable, HDMI, and keyboard into the NUC.
Plug the other end of the ethernet cable into your workstation (or the router or switch connected to the workstation).
3. Enable EFI booting
To enable EFI (Extensible Firmware Interface) booting on your NUC, do the following:
- Reboot NUC.
- While booting, to enter BIOS, press
- In the Boot Order window on the left, click the Legacy tab.
Uncheck Legacy Boot.
Click the Advanced button.
Confirm the following boot configuration:
- Select the Boot Priority tab.
- Check UEFI Boot.
- Set USB the first entry in the boot order.
- Select the Boot configuration tab.
- Check Boot Network Devices Last.
- Check Unlimited Network Boot Attempts.
- Check USB boot devices.
- Set Network boot to UEFI PXE & iSCSI.
- Select the Boot Priority tab.
Select the Secure Boot tab and uncheck Secure Boot.
To save the changes and exit BIOS, press
If you want to remotely manage the device, see Remote management for NUC.
4. Build Fuchsia
To build a Fuchsia system image for your NUC, follow the Get started with Fuchsia guide,
Make sure to use the board configuration
x64 when running
fx set (for example,
fx set workstation.x64).
5. Prepare a bootstrap USB drive
Before installing Fuchsia to a device, you need to prepare a bootable USB drive. On a NUC, Fuchsia boots via a chain of bootloaders. The instructions below creates a USB drive containing the first two steps in the chain: Gigaboot and Zedboot .
Gigaboot is a UEFI boot shim with some limited functionality, including netbooting and flashing. By default, Gigaboot chains into Zedboot, which is a bootloader built on top of Zircon. Zedboot then either boots into Fuchsia or allows you to pave your device. To set up a NUC for the first time, you need to boot into Zedboot and pave Fuchsia to your device's storage.
To prepare a bootable USB drive, do the following:
- Plug your USB key into your build workstation.
To identify the path to your USB key, run the following command:
To create a Zedboot USB drive, run the following command:
fx mkzedboot /path/to/usb/disk
For more information on preparing a bootable USB drive, see Prepare a USB flash drive to be a bootable disk.
6. Pave Fuchsia
To pave Fuchsia on your NUC, do the following:
- Plug the Zedboot USB key into the NUC and boot it.
When Zedboot is started, press
F3to switch to a command-line prompt.
On the NUC, to view the HDD or SSD's block device path, run the following command:
Take note of the block device path (for example, the path might look like
On the NUC, to wipe and initialize the partition tables on the NUC, run the following command:
install-disk-image init-partition-tables --block-device <BLOCK_DEVICE_PATH>
Use the block device path from Step 3.
On your workstation, to install Fuchsia on the NUC, run the following command:
After paving is completed, disconnect the USB key.
Fuchsia is now installed on your device, when you reboot the device it will load Gigaboot, then
Zedboot, then Fuchsia all from your device's storage. You no longer need the USB drive. If you need
to pave a new version of Fuchsia, you can run
fx reboot -r on your workstation to reboot the
device into Zedboot.
Keyboard not working after Zedboot
In the Pave Fuchsia section, after plugging the Zedboot USB key into the NUC, if you notice that the keyboard on the NUC is not working, then skip Step 2 through 4 and perform the following workaround instead:
On your workstation, try to install Fuchsia on the NUC:
This command may fail due to the partition tables issue on the NUC.
View the kernel logs:
In the logs, look for an error message similar to the following:
Unable to find a valid GPT on this device with the expected partitions. Please run *one* of the following command(s): fx init-partition-tables /dev/sys/platform/pci/00:17.0/ahci/sata0/block
To initialize the partition tables on the NUC, run the suggested command in the logs, for example:
fx init-partition-tables /dev/sys/platform/pci/00:17.0/ahci/sata0/block
Now, to install Fuchsia on the NUC, run the following command again: