How to Install HAOS via Ubuntu from a USB Drive?

2026-03-30 15:35:27 mele 8

Video Guide:https://youtu.be/XCj-etbIGi0

Step 1: Go to the Ubuntu official website to download the Ubuntu 24.04 system image.

图片23.png

Step 2: Right-click the downloaded Ubuntu 24.04 system file → select Mount → Open, and copy all files .

Step 3: Insert a USB flash drive, format it as NTFS, and then copy all files to the USB drive.

Step 4: Plug the USB drive into the Mini PCthen press the power button and immediately press F7 repeatedly to enter the boot menu, then select the USB flash drive to begin the Ubuntu installation.

Step 5Select Try or Install Ubuntu, and follow the on-screen instructions to complete the installation.

If you are unable to boot from the Ubuntu bootable disk, please enter the BIOS and modify the settings to allow booting from the Ubuntu bootable disk (only applicable to Gemini Lake J4125, J4105, N4020, and N4000 platforms). After making the changes, save and exit the BIOS, then reboot the Mini PC from the USB drive.

1.BIOS Setting Chipset Common Function OS Selection Select Intel Linux.

2.BIOS Setting Chipset South Cluster Configuration Miscellaneous Configuration 8254 Clock Gating Select Disable to disable 8254 Clock Gating.

3. Press F4 to save and exit.

Step 6: Please connect the network according to your needs.

Step 7: Click Skip .

Step 8: Select Try Ubuntu,then click Close .

Step 9: In Ubuntu, open a browser and go to https://www.home-assistant.io/installation/generic-x86-64 to access the Home Assistant download page.Scroll down, find “Download the image”, and click to download.

Step 10: in the bottom left corner, select Show ApplicationsSelect UtilitiesDisks.

Step 11: In Disks, on the left side, select the internal disk device you want to install HAOS onto.On top of the screen, select the three dots menu and select Restore Disk Image… 

Step 12: Select the image you just downloaded,then click Open .

Step 13: Select Start Restoring…

Step 14: Confirm by selecting Restore.

If you are getting an Error unmounting filesystem error message, stating that the target is busy:

Most likely, you are running Ubuntu on your internal disk. Instead, you need to run it on your stick. Go back to step 5 and during start up, make sure you select Try Ubuntu (and NOT Install Ubuntu).

Another issue may be that live Ubuntu is using the Swap partition of an existing Linux installation. If you see “Swap” listed as a partition on the drive you’re going to install HAOS, just select the Swap partition, then press the stop button to unmount it and try the restore operation again.


Step 15: In the partitions overview, you should now see the restore operation in progress.

· The Home Assistant Operating System is now being installed on your system.


Step 16: Once the Home Assistant Operating System is installed, select power off to shut down the system.

Step 17: Once Ubuntu has been shut down, remove the USB flash drive.

Your Home Assistant server is now set up and you can start using it.