Install Home Assistant OS on a Mini PC – Step by Step
You bought a mini PC for Home Assistant — and now you are wondering how the system gets onto it. On a Raspberry Pi that is a ten-minute job with the Imager. On an x86 machine you will look in vain for an installer: Home Assistant OS does not come with one. It is not installed, it is written to the disk as a finished image.
That sounds more complicated than it is. The route goes through an Ubuntu stick that you boot the machine from, and from there you write the internal SSD. I have just walked through the whole thing on a small Intel mini PC and photographed every step — including the BIOS settings, which is where people usually get stuck.
Budget about 45 minutes, half of which is waiting. All you need is a USB stick and a second computer.
Home Assistant OS is a dedicated, very lean operating system with exactly one job: running Home Assistant. It includes the Supervisor, which manages apps (formerly add-ons) and installs updates, and it keeps itself up to date. “Bare metal” means it runs directly on the hardware — no Windows, no Linux, no virtualisation underneath. The machine does nothing else afterwards, and that is precisely the point: it is the simplest and lowest-maintenance option.
Is bare metal the right choice for you?
A word up front so you do not head down the wrong path. There are four ways to run Home Assistant on a mini PC, and this guide covers exactly one of them.
| Option | When it makes sense |
|---|---|
| HAOS straight onto the disk (this guide) | The machine should do nothing but Home Assistant. Simplest route, least maintenance, all apps available. |
| HAOS as a VM under Proxmox | You want to run other services in their own machines on the same box. Costs performance and learning time. |
| Home Assistant Container | You already have a Docker host. No Supervisor, which means no apps — many people miss that. |
| On a NAS | A NAS runs around the clock anyway and you do not want a second device. |
My recommendation: unless you have a concrete reason for Proxmox, go bare metal. Virtualisation costs noticeable performance on the frugal N100 and N150 processors, and it adds a second software layer that wants maintaining. If you need several machines in parallel, my article on Proxmox on a mini PC covers that route.
And if you have not bought the hardware yet: which device suits you — and when a Raspberry Pi 5 is still the better choice than an N100 mini PC — is a separate write-up. If you want to run Home Assistant on a Raspberry Pi, the route is completely different and much shorter: see the complete guide for the Pi.
What you need
- The target mini PC. 64-bit capable and able to boot via UEFI — which covers virtually everything built in the last ten years. The internal SSD also has to support 512-byte sectors. Almost every drive does; only a few NVMe SSDs work exclusively with native 4K sectors (4Kn), and Home Assistant OS cannot boot from those. If you do not have a machine yet, a mini PC with an Intel N100 is the obvious choice for this job.
- A USB stick of 8 GB or more*. It gets wiped completely. A cheap 32 GB stick will do, USB 3.0 makes it quicker.
- A second computer to create the stick. Windows, Mac or Linux, does not matter.
- An Ethernet cable*. This is not a suggestion, it is a requirement: Home Assistant OS downloads the actual Home Assistant core from the internet on first boot, and the official guide assumes a wired connection for that.
- Monitor and keyboard — for the installation only, afterwards the box runs headless.
Whatever sits on the mini PC’s internal SSD — the preinstalled Windows, your data, the recovery partition — will be gone. This is not an installation alongside something else, it overwrites the entire disk. Back up anything you still need. And if the machine came with a licensed Windows: on mini PCs the key almost always lives in the firmware and survives this.
Step 1: Create the Ubuntu stick
We need a Linux that runs from the stick without installing itself. From there we will write the internal SSD later. Ubuntu is a good fit because it already ships the tool we need.
First download the Ubuntu Desktop image from ubuntu.com — the current LTS release is fine. To write it I use Rufus on Windows, which needs no installation.
- Under Device, pick your USB stick — and check three times that it really is the stick.
- Under Boot selection, use Select to point at the Ubuntu ISO you downloaded.
- Leave everything else as Rufus suggests.
- Click Start. If Rufus asks about the mode, confirm the suggested ISO image mode.
Step 2: Prepare the BIOS
This is where most people get stuck — and it takes five minutes once you know what to look for. Home Assistant OS has two requirements: the machine must boot in UEFI mode, and Secure Boot must be off.
Switch the mini PC on and repeatedly press the BIOS key right at startup. On most mini PCs that is Del, on others F2. If you were too slow, just restart and try again.
Turn Secure Boot off
Switch to the Security tab. There you will find Secure Boot and set it to Disabled. Underneath it should then read Not Active.
Why at all? Secure Boot only lets systems start that are signed with a key stored in the firmware. Home Assistant OS is not — the firmware refuses to boot it.
UEFI mode and boot order
Now over to the Boot tab. Two things matter here:
- Boot mode select has to be UEFI, not Legacy or CSM.
- Plug the Ubuntu stick in now and move it to position 1 in the boot order. It only appears in the list once it is plugged in.
Save and exit — usually F4 or via the Save & Exit tab. The machine reboots and should now come up from the stick.
Step 3: Start Ubuntu — but do not install it
Ubuntu greets you by asking what you are up to. This is where the single most common mistake in this whole guide happens:
Choose “Try Ubuntu”, not “Install Ubuntu”. We only want Ubuntu running from the stick. If you installed it, it would end up on the SSD — the very disk we are about to overwrite.
A few seconds later you land on a normal Ubuntu desktop. Plug in the Ethernet cable now if you have not already — the next step needs internet.
Step 4: Download the Home Assistant image
Open Firefox in Ubuntu and go to the official page at home-assistant.io/installation/generic-x86-64. Download the file via the download the image link.
Why inside Ubuntu rather than on the Windows machine first? Because you need the file where you are going to use it. Going via a second stick works too, it just makes things more awkward.
You end up with a file called haos_generic-x86-64-version.img.xz, just over 500 megabytes. You do not need to extract it — the tool in the next step reads the compressed file directly.
Step 5: Write the image to the internal SSD
Now for the actual operation. Ubuntu ships a program called Disks for this. Click Show Applications at the bottom left, type disk and open Disks.
Pick the right drive
On the left you see every drive. Find the internal SSD — recognisable by its size and model name. The USB stick you are currently running from is in the same list and is usually named after its manufacturer.
/dev/sda for a SATA SSD like the one here, /dev/nvme0n1 for an NVMe SSD. If your machine has an NVMe SSD, /dev/sda may well be the USB stick. Pick the wrong drive and it gets overwritten.Remove the old partitions
On a machine with preinstalled Windows you will now see four partitions: a small SYSTEM partition, a tiny reserved one, the large Windows partition and a Recovery partition on the far right.
Select each of them and delete it using the minus symbol below the overview, until only Free Space remains.
Strictly speaking this step is not required — the image overwrites the partition table anyway. But it saves you an error message that likes to show up otherwise: Ubuntu mounts existing Windows partitions automatically, and a mounted drive cannot be overwritten. With the partitions gone, that cannot happen.
Restore the image
Top right of the window sits a menu with three dots. In there, choose Restore Disk Image….
In the dialog, point Image to Restore at the file you just downloaded in your Downloads folder. Check the Destination line — it has to show your internal SSD. Then hit Start Restoring… and confirm.
Writing takes one to three minutes depending on the SSD. Afterwards Disks shows the new layout: several small partitions, a hassos-data of about one gigabyte, and the large remainder as free space.
Step 6: Shut down and pull the stick
Shut Ubuntu down properly via the menu at the top right. Only pull the USB stick once the machine is actually off — Ubuntu tells you explicitly when that is the case.
If you changed the boot order permanently, the machine will boot Ubuntu again next time with the stick still in. Pull it out and the next entry takes over — which is now your SSD with Home Assistant. There is nothing to revert in the BIOS. If you went through the one-time boot menu, pulling the stick is all there is to do anyway.
The first boot
Connect the Ethernet cable, switch on. Some text scrolls by on the monitor, then a command prompt appears. That is normal — Home Assistant has no graphical interface on the machine itself, you operate it entirely through a browser. You can unplug monitor and keyboard from here on.
And now you need patience. On the very first boot the system downloads the actual Home Assistant core from the internet. Depending on your connection and hardware that takes ten to twenty minutes, sometimes longer. The address below starts responding after a few minutes, but all it shows during that time is the Preparing Home Assistant page. That is not an error: leave the page open, and once the core has finished downloading, the welcome screen appears. Giving up too early and rebooting only makes it take longer.
Open this address from your computer or phone:
http://homeassistant.local
No port number. Until recently :8123 belonged to Home Assistant like the cog belongs to the settings. Since release 2026.8 of 5 August 2026 that is no longer necessary on a freshly installed Home Assistant OS. So do not be surprised that virtually every guide out there still mentions the port — those are not wrong, just older.
The catch: the change only applies to new installations. Existing systems keep their previous port, and Home Assistant in a Docker container still runs on 8123 regardless. If the short address does not work for you, append :8123 — which address applies to which installation type is covered in a separate article about the port.
If nothing answers at all, your network probably does not resolve local names. In that case check your router for the IP address the new device received and open http://192.168.x.x. While you are there, give the device a static address — you will need it often.
Step 7: Set up Home Assistant
From here it is the same procedure as on any other hardware — five screens, less than five minutes.
Start fresh — or bring your old setup along
The welcome screen offers more than the big blue button suggests. Underneath it says “Upload backup”, and for many people that is the more useful option.
Then do not start from scratch here. Pull a full backup on the old system, upload it at this point — and you get your automations, devices, users and apps back unchanged. No rebuilding, no reconnecting integrations. This is the most convenient moment for the move, because later you would have to wipe the freshly configured system to do it. How to create that backup on the old device is in my guide to backup and restore.
Create your user account
Name, username, password. This is your administrator account — there is no forgot-password function. Lock yourself out and the only way back in is via the command line. Put the password into your password manager right away.
Set your location
The location is not a formality: Home Assistant derives sunrise and sunset from it, and a great many automations build on those later. Entering the town is enough, you do not need a street address. Time zone and units are set here as well.
You can ignore the “API key required” watermark across the map — that is a display glitch of the map service and has no effect on anything.
Analytics: your call
Four switches, all off by default. You can safely leave them off, you will not lose any functionality. There is one argument for switching them on: those numbers help the project make the case for local control without a cloud when it talks to manufacturers, and they show the team which integrations to improve first. You can change this any time in the settings.
Devices found
Finally Home Assistant shows what it has already discovered on your network — in my case more than twenty devices straight away, from the router through the TV to the printer. There is nothing to decide here: click Finish, you can set the integrations up one by one at your leisure. They are not going anywhere.
That is your Home Assistant up and running. From now on the machine only needs power and network.
When things go wrong
| Problem | Cause and fix |
|---|---|
| The stick does not appear in the boot menu | Recreate it in Rufus with partition scheme GPT. Also check that Boot mode really is UEFI. |
| Error unmounting filesystem — target is busy | You installed Ubuntu instead of just running it, or a partition of the target disk is mounted. Delete the partitions as described in step 5 and try again. |
| A swap partition refuses to be overwritten | Select it in Disks and unmount it with the stop button, then restore again. |
| No picture after the reboot | A plain text prompt is normal, Home Assistant OS has no graphical interface. If there is nothing at all: is the stick out? Is the boot order still set to USB? |
| The machine will not boot from the SSD after writing even though the stick is out, or it says it cannot find a bootable medium | The EFI boot entry may be missing. Some BIOS versions let you add a boot option by hand: point it at \EFI\BOOT\bootx64.efi. Alternatively, boot Ubuntu from the stick again, click Show Applications, type terminal and run sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "HAOS" --loader '\EFI\BOOT\bootx64.efi' in the terminal. Replace nvme0n1 with the name Disks shows for your internal SSD, usually sda for a SATA SSD.If that does not help, the SSD may only support 4K sectors (4Kn), which Home Assistant OS cannot boot from. You can check this from the Ubuntu live session too, with lsblk -o NAME,SIZE,LOG-SEC. If the LOG-SEC column shows 4096 instead of 512 for the internal SSD, you need a different SSD. |
homeassistant.local does not answer | Give it a few minutes after switching on, until at least the Preparing Home Assistant page shows up. If nothing appears even then, try the IP address from your router — and if that fails too, append :8123. |
| Secure Boot cannot be switched off | Some BIOS versions require an administrator password to be set first. Set one, disable Secure Boot, remove it again. |
The first things to do next
Three recommendations before you dive into automations:
- Set up a backup straight away. Not later — now, before you put in work that could be lost. How to do that for free and automatically is in my guide to backup and restore.
- Assign a static IP address, ideally in your router via a fixed mapping to the MAC address.
- Plan for a radio dongle. Zigbee or Thread need extra hardware — the usual choice is the SONOFF ZBDongle-E* at around 20 euros. What to watch out for is covered under Zigbee and the Thread Border Router.
Conclusion
In the end you do three things: build an Ubuntu stick, flip two switches in the BIOS and write an image to the disk. The rest is waiting.
When it does go wrong, it is almost always the same spot: Secure Boot was still on, or “Install Ubuntu” was picked instead of “Try Ubuntu”. Check those two before you start looking anywhere else.
What you end up with is a device that knows exactly one job and keeps itself current — with no operating system underneath that wants looking after. For the vast majority of smart home setups that is the right call.
What hardware does your Home Assistant run on, and did you stay on bare metal or move to Proxmox after all? Let me know in the comments.
No. Home Assistant OS takes the whole disk and cannot run alongside another operating system. If you need both on one machine, you have to go via Proxmox and run Home Assistant there as a virtual machine. For most users the separate installation is the better choice anyway, because it means far less maintenance.
Secure Boot only permits operating systems signed with a key stored in the firmware to start. Home Assistant OS is not signed that way, so the firmware refuses to boot it. You will find the option in the BIOS under Security.
For the installation and the first boot, yes, that is what the official guide expects. Home Assistant OS downloads the actual Home Assistant core from the internet on first startup. Wi-Fi can be added later through the web interface, but for continuous operation a wired connection is the more reliable option anyway.
No, not if you use the Disks tool in Ubuntu. It reads the compressed file directly. Only if you use Balena Etcher instead and hit an error does extracting the file beforehand help.
Because that is exactly how it is meant to be. The Home Assistant OS image is only around two gigabytes, your SSD is considerably larger. On first boot the system expands its data area to the available space by itself. The message is information, not a warning, and there is nothing to adjust afterwards.
Ten to twenty minutes, sometimes longer depending on your connection and hardware. During that time the system downloads the Home Assistant core and sets itself up. Your browser only shows the “Preparing Home Assistant” page until then, and the welcome screen appears once it is done. That is why many people assume the installation failed. Wait before you reboot.

















