How do I reset/reinstall the OS for GREEN within a region where it is hard to access Github directly?

Hi there,

This Monday I received my Home Assistant Green. By the evening of Tuesday I complete setup it.
I added some Xiaomi products and also can expose the accessories to Apple Homekit. It looks good.

Then I wonder if it is possible to do a clean OS installation fully local. (I should not be so curious :upside_down_face:)

I managed to download the latest OS haos_green-11.1.img.xz from Github to my laptop and flashed it to a 8GB TF card via Balena Etcher. Then inserted the TF card to GREEN and waited for whole night. It turned out that this doesn’t work. The OS seems installed in the TF card instead of the onboard 32GB eMMC.

Next step I took was following the official guide of Rest the device: Resetting the device – Home Assistant Green
However, this didn’t work out either. During the process, I think GREEN will access Github to download files.

Thanks in advance!

Yes, the Green installer reaches out through the Internet to GitHub directly to download the image.

It is possible to manually install it locally, but it needs some Linux know-how. Essentially, you can use the installer without Ethernet. You then just have to download the haos_green-11.1.img.xz image to a USB flash drive, and use a USB mouse/keyboard to login to the installer’s shell. From there you would mount the USB flash drive (e.g. to /mnt) and then use unxz and dd to directly flash to the eMMC (/dev/mmcblk0).

But I highly recommend the online version. It installs the same image, just directly :grinning_face_with_smiling_eyes:

Thanks for the reply.
I have managed to reset the GREEN via the installer method.

Hi, i have seem to experince a likewise issue. I am very new to the HA world and accidently deleted text from the configuration.yaml ( or some other obviously important yaml). Now after reboot there is no connection to the system. Though i would reset it all follow the nice guide online. But after flashing the installer OS to a SD card i cannot get the device to begin installation. It would supposedly make fast yellow blinks and then turn of all LED´s after finish, but this it not happening to me. The device is still connected to the same port in the router. I have also tried deleting the server and add it again, but it cannot be found and displays an 1004 error. It seems like i mess more up than i fix, is there someone here that can be helpfull in terms of what i can do?

Thanks in advance.

Kasper

Try to connect to a display via HDMI output.
Find out the exact error message.
I encoutered disk partition issue during the reinstallation process.
I had to fix the partition issue before the Installer can copy the files to the onboard EMMC storage.