My steps to success for Hass.io on Intel NUC

So you switched from NVMe?

I tried resetting everything up and actually ended up with the same problem you guys have been reporting all along.

I tried all different things and finally I got hassio to start-up again. I really don’t know what the deal-breaker was.

Final setup:

  1. Linux live
  2. download the latest hassio NUC image
  3. balenaetcher to flash directly to NVMe drive
  4. in bios disable WLAN
  5. also I removed my manual DHCP-post in my router
  6. Hassio booted up perfectly

I have no idea why or what solved it. I am just happy I got it running again…

And it just worked

1 Like
  1. in bios disable WLAN

This is the only bit I didn’t try - and may be relevant as it was wireless / bluetooth drivers where it was stopping.

At the moment I am still with my HA on a Pi4 with SD card, but now I ordered:

- Intel NUC10i3FNK
- WD SN550 250GB M.2 PCIe NVME SSD
- 1 x HyperX Impact DDR4 HX426S15IB2/16 2666MHz CL15 SODIMM 16GB

I hope that after the NUC-image-file has been transferred to the SSD, I can easily import my backup from the Pi and that everything will work.

I have an adapter USB to M.2-NVME-PCIe (if I can only flash the SSD this way?)

Are there any pitfalls that could occur? If anyone says that there could be problems with the components, let them shout out loud now. :smile:

Okay, here are the steps that were necessary, briefly summarized again:

  1. Install memory in the NUC (hard disk not yet needed, but without memory the NUC did not start). HDMI cable connected to monitor and keyboard plugged in.

  2. downloaded the current BIOS (“F7-BIOS”) and entered the BIOS-Update by pressing the F7 key during startup Select the file from USB-Stick

  3. Set in BIOS: secure boot OFF (otherwise the NUC will not boot from the official image from the hard disk).

  4. Under Power tap > Secondary Power Setting > After Power Fails: activate “power on” (otherwise the NUC will not restart automatically after power failure).

  5. Disk image flashed to the M.2-SSD with Balea Etcher (under MacOS) I used a USB adapter and the Mac recognized the SSD as a drive.

  6. Install the SSD in the NUC, removed HDMI and Keyboard, start the thing.

  7. Home Assistant boots up, and was accessible via the browser. The brand new function (0.116) to import previously created backups directly in the setup screen did not work (“Bad Gateway 502” or so). So create a user, install Samba and copy the backup to the /backup folder of the HA installation. Then I could import it.

  8. Everything was back again! Only the database and the logfile I deleted so that they would be recreated (there were problems with saving the log entries).

1 Like

Jorgensen & for those struggling with the ‘wait 30 mins thing’
Turns out there is a step in the process missing. As stolen from oscylo

Applies to NVMe disks (unsure if it also applies to M.2 disks)

  1. Make sure bios is updated to latest on NUC, Use F2 upon boot to explore bios and see what version you are on. Go to Intel site for your NUC version and download latest bios. Extract the files to a clean usb root directory. Put USB in the NUC and press F7 in the boot up and follow instructions. Very important to wait until this is complete and the computer reboots itself. Afterwards go into bios again (F2). Do Factory default (F9) and then you must go into advanced --> boot secure --> disable secure boot. Press F10 to save and exit.
  2. Download latest official release (v 4.12).
  3. Unpack the .gz file to a clean usb so only the .img file is in the root (note usb had to be NTFS for me due to large size).
  4. Download Ubuntu Desktop (right now Ubuntu 20.04.1 LTS). It will be a .iso file
  5. Make a bootable USB from this file - Follow steps in oscylo’s post
  6. Put the bootable ubuntu usb and the USB with the hassio in the NUC and fire it up. Ubuntu will load, choose Try Ubuntu option and you will get to the desktop.
  7. Press Ctrl + Alt + T to open up a terminal window. Type: gnome-disks press enter
    • This didn’t work for me. I just selected the menu option (9 dots) and clicked on terminal
  8. Missing Step Click on the disk and FORMAT it first. Make sure you select No Partition during the process
  9. Click on your NVMe disk. Then click on the “settings” icon (looks like gears) and choose “Restore partition image”.
  10. I can’t remember exactly how it looked, but a new window will open and you will have to choose the source. Thus open the USB containing the hassio and choose the .img file and press ok. The image will be loaded onto the NVMe-drive.
  11. Shut down the NUC. Remove both USBs.
  12. Start the NUC again. Hassio should load. I let mine be for 30 mins to allow for everything to download/update. Note I use ethernet and not WIFI, there might be an additional step needed.
    UPDATE: on my second install I had to disable WIFI within bios before it would start.
  13. Go to http://homeassistant.local:8123 to see that it’s up and running.

Hope this helps someone as noob as me in regards to linux :slight_smile:

2 Likes

Ordered a NUC BXNUC10I5FNK2 Core i5-10210U now with an evo 970 plus nvme.
Did anyone have any success with WIFI yet or knows if it will be supported some time in the future.
The wifi module is not in an extra socket, hence not swappable i guess, to an older maybe supported one?

I moved from a VM to a dedicated NUC build over the last month. In the process I finally killed off SmartThings. In my testing I would absolutely agree with the core Home Assistant team by staying away from wifi for this solution. I’m on a gen 3 i5 NUC that just screams now! This is a 100% headless solution which sits in a closet. If you run HassOS natively on the NUC you will have an awesome solution!!

This sounds like it will be very useful.

I’m planning to migrate from my existing Pi to a NUC and was hoping it would be a simple case of installing it and importing a snapshot at install time, like it is with the Pi setup.

It sounds like this was a naive assumption and that all of the steps you outlined above need to be followed? If I do, will I end up with an exact clone of my existing system, just running on the NUC instead? Do you still get all of the useful features of HA like HACS?

For me in Ubuntu 20.04, the “settings” icon was 3 vertical dots in the top right of the window. Do not use the gear icon that’s near the partition map, as it won’t work.

I was able to use an exact clone after I started up the NUC and restored the system from a recent backup from my previous RPi system.

Yes! It’s exactly like an RPi installation, but runs on super beefy hardware.

2 Likes

I completely agree. In-fact the NUC has better USB support so even the USB Z-Wave and ZigBee radios I use seem to work better!! This is by far my favorite setup!!

I want to add my experience here in doing the NUC install.

I was unable to get Home Assistant OS installed on my hardware(NUCi5) following the procedure above. I instead decided to take another approach.

The steps I took are as follows:

Download the Home Assistant OS NUC image on a USB drive(extract it so it is the bare image, with NTFS formatting and no folder structure)
Insert USB drive into the NUC.
Boot into Ubuntu Live(with a second USB flash drive)
Download etcher(on the live Ubuntu system)
Burn the Home Assistant OS image to the main m2 ssd in the NUC.
BOOT UP
Success

This seems to be simpler and easier to me.

12 Likes

Wow, I just decided to wipe my unsupported Ubuntu install and install the NUC image directly on SSD. I have been at this all morning and evening with lots of frustration. I just started to look on the forums and see your post about using Etcher and what do you know, magic! Thanks!!!

1 Like

Thanks @murphys_law, I have been struggling with this and your approach worked perfectly.

Triple vote here for this method.
I’ve gotta say this OS flies. so snappy on the NUC. Many thanks to the developers whose time is starting to come to fruition.
Moderators - please put these instructions on the installation page. Flawless
Pat

This approach worked first time for me as well. I was expecting a slog but I had the whole thing wrapped up in about an hour, including downloading the images. Fantastic method. This should be the sticky at the top of this thread.

I found it easier to use a usb-m2 adapter.

Adapter

I used etcher on a Windows machine to put the image onto the m2 drive and the put the m2 drive in the NUC and was good to go.

I also echo others that the NUC does not suffer with zwave and zigbee usb stick issues that a pi4 did.

The best thing to do is write the instructions into a PR for the official HA docs, because I know that currently they only mention flashing an SD card which is nowhere near the procedure for a NUC.

Click ‘edit this page on GitHub’ here:
image

I’m planning on using this method next week when I get time. I don’t mind doing the PR once I finish, but I don’t want to take murphys_law’s credit.

Thank you, murphys_law!

Thanks to these good preparations, everything went right in one go. :muscle: :+1:

It’s all yours. I was not planning on adding anything to the docs.

What do i have to configure for th nuc to have a wifi access?