Newbie here… Trying to launch my first install of HASSIO on a Raspberry Pi 3 b+. Followed instructions as listed on HA website. Using USB stick to load network WiFi settings and again followed steps exactly as described. Text appearing on screen as HASSIO boots is as follow:
Startign USB…
USB0: scanning bus 0 for devices… 7 USB Device(s) found
Hit any key to stop autoboot: 0
switch to partition #0, OK
mmc0 is current device
Scanning mmc 0:1…
Found U-Boot script /boot.scr
2281 bytes read in 2 ms (1.1 MiB/s)
Executing script at 02400000
switch to partiions #0, OK
mmc0 is current device
loading env…
MMC read: dev # 0, block # 1214464, count 32 … 32 blocks read: OK
Found valid slot A, 0 attempts remaining
storing env…
MMC write: dev # 0, block # 1214464, count 32 … wait_transfer_complete - still waiting after 100001 retries
MMC write failed
0 block written: ERROR
Loading kernel
WARNING at drivers/mmc/bcm2835_sdhost.c:376/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
*** ERROR: Can’t read MBR header ***
part_get_info_efi: *** ERROR: Inalid GPT ***
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
WARNING at drivers/mmc/bcm2835_sdhost.c:408/bcm2835_prepare_data()!
*** ERROR: Can’t read MBR header ***
part_get_info_efi: *** ERROR: Inalid Backup GPT ***
** Invlaid partition 4 **
Starting kernel
Bad Linux ARM zImage magic!
resetting …
I’ve tried to reformat MMC card and tried to download both the 32 and 64-bit version of HASSIO for my HW platform. I don’t know Linux well at all, but am learning… Any assistance would be greatly appreciated…
Use SD Formatter to format the card. If that does not work it appears the SD card is failing.
Either that or you could download the image again to rule out a bad download.
Thanks for the direction @anon34565116. I should have mentioned that I already tried using SD Formatter and have also downloaded images several times, both 32 and 64 bit. I was hoping it wasn’t the SD card as it is a brand new Kingston 64GB class 10 card that has never been previously used. I’ll try another MMC.
Bad SD card. Substitute for another unused card preferably.
Problem with card reader/writer. They wear too and can cause image writing problems. Try a different card reader/writer if possible.
Problem with imaging software. There’s a number of options like Etcher, Win32discimage etc. Search and try alternatives. Also try a lower capacity card to write your image to.
Bad image download. If you’ve tried downloading a number of times with the same results, try a different download source.
I suggest all the above before digging any deeper.
I have tried with and without SD Formatter - still the same result.
What’s annoying is that Raspbian Stretch boots fine - just simply burning the image with Etcher.
I don’t have another SD card so I will look at installing HA ‘by hand’.
OK, so here is how you can install Hassio on Raspbian Lite. It is a combo of their Linux install along with the command listed elsewhere to work on the Pi. Raspbian Lite is 32 bit.
Running docker on raspberry pi seems overly complex (for a mere mortal like myself…).
So, I installed it directly onto Raspbian - I’m tracking the process and issues here:
Any reason you did not use the official manual install in a Python venv? The venv isolates Home Assistant from the OS updating Python or any modules. It adds no overhead except a little extra disk space used.
Since so many people mention SD Card issues, and since I had a spare laptop SSD, I bought a USB case and now have a 240GB SSD as the boot device on my Pi