Developing with Fuchsia on a NUC

This document describes how to get a NUC up and running with Fuchsia.

1. Get Parts
2. Create an Installable Fuchsia USB Drive
3. Prepare the NUC
4. Install Fuchsia
5. Update NUC BIOS to allow netbooting

1. Get Parts

You’ll need the following:

  • USB 3.0 Drive
  • NUC
  • RAM
  • m.2 SSD
  • Keyboard
  • Mouse
  • Monitor that supports HDMI
  • HDMI cable
  • ethernet cable
  • Magnetic tip phillips head screwdriver.

This table shows what I bought from Amazon.

NUCB01MSZLO9PWorks fine.
RAMB01BIWKP58Works fine.
SSD (Only need one,B01IAGSDJ0Works fine.
I bought some of each)B00TGIVZTWWorks fine.
B01M9K0N8IWorks fine.
Keyboard and MouseB00B7GV802Works fine. Next time I'd get a keyboard with a smaller foot print.
MonitorB015WCV70WWorks fine.
HDMI CableB014I8SIJYWorks fine.
USB 3.0 driveB01BGTG41WWorks fine.

2. Create an Installable Fuchsia USB Drive

Full description of what to do can be found here.

The concise version is as follows: Build Fuchsia. Run “create installer bootfs” script. (If you built release, use -r argument) Copy the installer bootfs over the user bootfs. Plug in USB drive. Unmount the USB drive (via “Disks” if you are on gLinux. If you unmount via the file browser it won’t work). Run “create gigaboot bootable usb” script. (If you built release, use -r argument) Unplug drive.

3. Prepare the NUC

NUCs don’t come with RAM or an SSD so you need to install them.

  1. Remove the phillips screws in the bottom feet of the NUC.

  2. Install the RAM.
  3. Remove the phillips screw that will hold the SSD in place (phillips screwdriver with magnetic tip is useful here).
  4. Install the SSD.
  5. Screw the SSD in place using screw from 3.

  6. Replace bottom and screw feet back in. 1.(Optional) Apply fuchsia logo.

  7. Plug power, ethernet, HDMI, keyboard, and mouse into NUC.

4. Install Fuchsia

  1. Plug in your installable fuchsia usb drive into NUC.
  2. Turn on NUC.
  3. Wait for NUC to boot into fuchsia.
  4. Alt-tab to a terminal if you don’t boot into a terminal.

  5. Run ‘lsblk’. This should say there’s a ‘block’ device at 003.

  6. Run ‘gpt init /dev/class/block/003’. Say ‘y’ to the warning.
  7. Run ‘install-fuchsia’.
  8. Run ‘dm reboot’.
  9. Remove usb drive.

At this point the NUC should boot to fuchsia without the usb drive. It’s using the internal SSD. But it won’t work with netbooting. Let’s fix that.

5. Update NUC BIOS to allow netbooting

  1. Reboot NUC.
  2. Press F2 while booting to enter BIOS.
  3. In the Boot Order window on the left click the Legacy tab.
  4. Uncheck ‘Legacy Boot’.

  5. Press the X in the top right to leave the BIOS. Ensure you save before exiting.

All done!