Installing HassOS on SSD for Rapsberry Pi 4 is failing

Hey guys :slight_smile:

I installed HassOS on 5 sd cards and am managing 3 parallel HA instances. Everything went rather smooth so far. But the one thing I’m currently struggling is to install HassOS on a SSD for using it with a Raspberry 4 4GB.

On the first try everything went fine. I installed the latest eeprom version and did everything that needs to be done to prepare the pi. Then I flashed the HassOS image via etcher on a brand new Crucial BX500 (240) GB and restored my data via a snapshot. So far so good. After one week HA suddenly died. I had no access to the local webserver, no access to FTP and no access to SSH. I then ordered a micro HDMI cable to see the output and noticed, that on boot the system tried to resize some partition, failed and rebooted. I then decided to wipe the SSD using gparted and flash the image again using etcher. This worked as expected. But after that the Pi took a long time to boot and was stuck again. During the process I noticed a few error message and made pictures:

I then checked the SSD for bad partitions and overall health, but every tool told me, that the SSD is completely fine. I flashed the image again like 3 times, every time with this weird errors. Since I’m out of ideas what to do now, I’m hoping to find some help here.

Does anyone has any idea, what is wrong here? Where do these errors come from and how can I fix them?

Thanks!

Are you sure that the HDD is compatible with HA, I know that there are a few that don’t work with it along with the USB 3.0. Do a search for Compatible USB SSD for Home Assistant and you’ll get a list.

Try to connect the SSD to USB2.0 instead of 3.0 - although its a disadvantage in regards of speed, but maybe it works! The 3.0 seems to have some troubles with some of the SATA/USB adapters.

It is a BX500 with a Sabrent Sata to USB adapter, so a quite common combination. But I will have a look

Thanks for the hint, will try that!

For reference:
Another hint that I got on discord was to enable quirks:

And it very well could be, however I know that I had an issue with first the HDD not being compatible and then it not being compatible with 3.0 so I had to research and figure out which drives were compatible with the USB 3.0

Try down grading to OS 5.4 via command line. Mine will not work above this version. No issues on 5.4 and below.