Home Assistant Green can't install new HA OS by SD card

I got a new HA green. During the first startup, entering the web console settings failed, and then I couldn’t access the web console or connect. After that, I followed the website’s instructions to reinstall HA OS using an SD card, but each time the installation reached the end, the HA green LED remained continuously lit white and wouldn’t shut down automatically. I connected a monitor and keyboard to check the messages, and it showed the errors as seen in the photo. Connecting the keyboard didn’t allow me to enter CLI mode either. It stayed at [Waiting for the Home Assistant CLI to be ready…] and then there was no response. Has anyone encountered a similar situation?

{ 2571.921929} haos-flash{331}: curl: (18) transfer closed with 146863936 bytes remaining to read
{ 2571.924481} haos-flash{332}: unxz: (stdin): Unexpected end of input
{ 2572.056016} Alternate GPT is invalid, using primary GPT.
{ 2572.056918} mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
{ 2572.069210} haos-flash{333}: 0+30149 records in
{ 2572.069599} haos-flash{333}: 0+30149 records out
{ 2572.070436} haos-flash{325}: Error during Home Assistant OS installation.```

It looks like there is a problem downloading the HA image from GitHub.
It can be due to a faulty eMMC drive in the HA Green, but it can also be a network issue where something on the network breaks the connection during the download. The latter is the more likely cause.

It could be a temporary issue, so I would try the guide from the ’ To reset the device using an SD card’ point an onwards.
Maybe after a few tries you succeed.