Home Assistant welcome screen with the options to create a smart home or upload a backup

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.

What does “Home Assistant OS on bare metal” mean?

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.

OptionWhen 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 ProxmoxYou want to run other services in their own machines on the same box. Costs performance and learning time.
Home Assistant ContainerYou already have a Docker host. No Supervisor, which means no apps — many people miss that.
On a NASA 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.
Links marked with * are affiliate links, which makes them advertising. If you buy through one, I earn a commission at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Learn more
⚠️ The target disk gets wiped completely.

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.
Rufus with the selected Ubuntu ISO for creating a bootable USB stick
Rufus writes the Ubuntu image to the stick. Only the two highlighted fields matter.
If the stick does not show up in the boot menu later: create it again and set the partition scheme in Rufus to GPT with target system UEFI. That way the stick boots in UEFI mode only, the same mode Home Assistant OS will boot in later.

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.

BIOS setup of the mini PC with the Security tab open
You usually reach the BIOS with Del or F2 at startup. Look for the Security tab.

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.

Secure Boot set to Disabled in the BIOS, status Not Active
Secure Boot set to Disabled — it should then read “Not Active” underneath.

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.
You can often skip the second point. Most boards offer a one-time boot menu: press F7 repeatedly while switching on — depending on the vendor also F8, F10, F11, F12 or Esc — and pick the USB stick straight from the list. The machine then boots from it just this once, the boot order stays untouched, and you have nothing to revert afterwards. UEFI mode and Secure Boot still have to be set in the BIOS, there is no shortcut for those.
Boot order in the BIOS with the USB stick first and UEFI mode enabled
Boot mode on UEFI, USB stick in first place. It only appears once plugged in.
While you are in there: look on the same tab for an option called Auto Power, Restore on AC Power Loss or State after G3 and set it to Power On. Many machines ship with it switched off, which means your smart home server stays dark after every power cut until someone walks over and presses the button. For a box that is meant to run around the clock, this is the most important setting in the whole BIOS.

Save and exit — usually F4 or via the Save & Exit tab. The machine reboots and should now come up from the stick.

Saving the BIOS settings via Save and Exit
Save and exit — usually F4 or the Save & Exit tab.

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.

Ubuntu start dialog with Try Ubuntu selected instead of Install Ubuntu
The most important click in this whole guide: “Try Ubuntu”, not “Install Ubuntu”.

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.

Home Assistant documentation in Firefox with the download link for the x86-64 image
Download the image inside Ubuntu, not on the Windows machine beforehand.

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.

Ubuntu application overview with the Disks program in the search
Show Applications, type “disk”, 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.

This is the point where you must not get it wrong. Verify by size and model that you really have the internal disk. The title bar also shows the device name: /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.

GNOME Disks showing the four Windows partitions of the internal SSD before deletion
Remove the four Windows partitions one by one via the minus symbol until only free space is left.

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….

Three-dot menu in GNOME Disks with the Restore Disk Image entry
The three-dot menu at the top right leads to “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.

Restore Disk Image dialog with the Home Assistant image selected and the internal SSD as target
Before clicking “Start Restoring”, check the Destination line — it must show the internal SSD.
“The disk image is 254 GB smaller than the target device” — this message confuses a lot of people but is expected. The image is only about two gigabytes, your SSD is much larger. Home Assistant OS expands its data area to the free space automatically on first boot. There is nothing to adjust.

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.

GNOME Disks showing the new Home Assistant partitions after writing the image
Done: the Home Assistant partitions now sit on the SSD instead of the Windows ones.

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

Home Assistant welcome screen with the options to create a smart home or upload a backup
The welcome screen. Note the “Upload backup” option below the blue button.

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.

Migrating from a Raspberry Pi?

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

Home Assistant setup: creating the user account
Your administrator account. The password belongs in your password manager right away.

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

Home Assistant setup: setting the location via the address search
The town is enough, no exact address needed. Sunrise and sunset are derived from it.

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

Home Assistant setup: switches for sharing anonymised analytics data
Four switches, all off by default — and changeable at any time.

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

Home Assistant showing devices and integrations discovered automatically on the network
Finally Home Assistant shows what it already found on your network.

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

ProblemCause and fix
The stick does not appear in the boot menuRecreate it in Rufus with partition scheme GPT. Also check that Boot mode really is UEFI.
Error unmounting filesystem — target is busyYou 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 overwrittenSelect it in Disks and unmount it with the stop button, then restore again.
No picture after the rebootA 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 mediumThe 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 answerGive 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 offSome 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.
* Affiliate links (advertising). Learn more

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.

Can I install Home Assistant OS alongside Windows on a mini PC?

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.

Why does Secure Boot have to be disabled for Home Assistant OS?

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.

Do I really need an Ethernet cable for Home Assistant OS?

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.

Do I have to extract the downloaded img.xz file first?

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.

Why does Disks report that the image is smaller than the disk?

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.

How long does the first boot of Home Assistant take?

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.

Similar Posts