Okay, here are the steps that were necessary, briefly summarized again:
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.
downloaded the current BIOS (“F7-BIOS”) and entered the BIOS-Update by pressing the F7 key during startup Select the file from USB-Stick
Set in BIOS: secure boot OFF (otherwise the NUC will not boot from the official image from the hard disk).
Under Power tap > Secondary Power Setting > After Power Fails: activate “power on” (otherwise the NUC will not restart automatically after power failure).
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.
Install the SSD in the NUC, removed HDMI and Keyboard, start the thing.
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.
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).
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)
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.
Download latest official release (v 4.12).
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).
Download Ubuntu Desktop (right now Ubuntu 20.04.1 LTS). It will be a .iso file
Make a bootable USB from this file - Follow steps in oscylo’s post
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.
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
Missing Step Click on the disk and FORMAT it first. Make sure you select No Partition during the process
Click on your NVMe disk. Then click on the “settings” icon (looks like gears) and choose “Restore partition image”.
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.
Shut down the NUC. Remove both USBs.
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.
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!!
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.
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
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!!!
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.
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:
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.