Installing Home Assistant on a RPi 4b with SSD boot

Thanks for the instructions… Super helpful… I was able to set up my new RPi4 *GB platform with an SSD and then migrate my HA config from the current RPi3B+ I am using to the new platform… Thanks so much!

Having worked in the the memory/storage business in a previous life, I am excited to move to an SSD versus relying on an SD card… SSDs are WAY more reliable…

Thanks for these instructions!
Worked for me with a Samsung EVO 250GB SSD and the Startech USB3S2SAT3CB.

You may also want to down grade the os. I had issues with home assistant freezing once I switch to the ssd. 5.2 works for me.

All HassOS versions above 5.3 do not work for me. It always hangs on the first startup. What could be the reason?

Hi, for my RPi4B 8GB works HA booting from USB (on both USB 2.0 and USB 3.0) but I am not able boot from SSD disk. My is NVMe WD 1T. Am I doing something wrong or this disk is not possible to use, just SATA?
P.S.: The booting from my NVMe disk is frozen on first screen if I use USB 3.0, and running if I use USB 2.0 but never ending then…

Use a USB extension cable as already stated here: Hassio on PI4 with conbee/deconz and SSD

A question…
Have a raZberry card connected to my GPIO pins. When running from SD card you have the option to disable the BT from /boot/config.txt file, otherwise the raZberry card wont start.

Hovewer, when booting from SSD there is no /boot/ folder visible from the terminal (SSH).
Is there any other ways to disable the BT from starting?

First off: Merry Christmas.

Second, a quick question that can be answred at anytime. How do you flash the OS image from the sd card to the SSD?

I used this guide: Installing Home Assistant on a RPi 4b 8GB with SSD boot

Just put your SSD in a cabinet and connect it to a USB port …
BalenaEtcher will do the rest. :slight_smile: Be sure to use the right unit!

Thanks. Somehow I missed the big picture. In my setup it took a bit of thought about how to hook it up to USB. Got that done and HA is initializing. Going to leave it alone for the night.
Thanks again.

Hi there!

I followed this guide some time ago and worked fantastic for me. I started with the development 5.3 but then updated till 5.8 using the supervisor and all worked well.

My problem came when I updated to 5.9 when the register stoped working and the performance of the general system really slowed down. Automation would work but nothing appeared in the register and was really slow.

So, I thought it was a problem with the update to 5.9 so I went back and installed a 5.6
fresh developer version and updated to the last snapshot I had from some days ago when all worked well. Well, the problem persists. Register won’t work. System performance seem to work better though.

Note that in any case (5.9 or 5.6) I can’t find any error on the log that points to this problem.

Anyone thinks of something that could solve the problem? Thank you!

@ josemsubcn
Same zwave problem here.
Rpi4 8GB, 120GB Sandisk SSD, inateck fe2013 usb3.0 case
Zwave.me usb stick
Everything runs fine, except the zwave network. Nodes are found, but it takes a long time to initialize. Some of the nodes are ‘complete’ but most stay “dynamic”. None of them will carry out commands. Very strange. Tried to change USB ports without success.
When I plug the zwave.me stick back to the “rpi-4gb-sdcard twin system” the zwave network works within two minutes or so.

Apparently my database was malformed. I deleted it and now, register and history works again. Now I don’t know if that had something to do with the 5.9 update or not. I think I’ll stick to 5.6 for now.

Hi,
It’s very important to keep the zigbee adapter away from the SSD.

Picture 1 Zigbee Works


Picture 2 Zigbee does not works

Picture 3 Zigbee Works

True, but… My raZberry is a GPIO card. Kinda hard to put away and still have it connected to the RPI :slight_smile:

Anyway. I know I did a “dtoverlay=pi3-miniuart-bt” on my RPI3 (running from SD card) and it works.
Unfortunately when booting from SSD you dont have the /boot folder so you can edit the config.txt file.

I still hope that there is some other way to do this.

Yesterday i transferred my home assistant from my Rpi3 with Sdcard to Rpi4 with SSD.

First i want to thank @Jpsy for the great tutorial which makes it so easy to do.
Second thanks to @pepe59 for his info on the geekworm addon boards for the Rpi4.

Setup:
Rpi4 with X862 board and M2 120Gb WD SSD
X735 board on top off Rpi4 for power and cooling

Followed the tutorial and everything went fine.
Only it took 3 hours for updating the Pi, but the eeprom updated to the 11/12/20 version.
Did some diagnostics on the raspberry pi OS and the write/read difference between the Sd and SSD is 20x.
Then flashed HA 5.9 onto my SSD.
And system restarted very quick.
Then installed my snaphot, but some add-ons didnt restore( esphome, file editor).
Installed them through addon store and they worked.
Only problem i had was with my conbee II stick.
I had it before on my RPi3 on a extention cable that worked ok, on the Rpi4 even with that cable the stick didnt work correctly. There were sensors that worked others didint. And i could not pair any new devices to my zigbee network.
Solution was another extention cable with some anti-distortion coils on it, and placing the stick a bit further away from the Pi.
Combinatie-converter-usb-2-0-anti-interferentie-data-lijn-micro-usb-kabel-verlichting-adapter-voor-smart.jpg_50x50

I also had to delete my database because it wasnt recording anymore. After restart that was also ok.

You could use something like that

or this

Thanks… But the issue here is not that there is interferenze from the SSD and raZberry GPIO card.
The issue is that I’ve to disable the BT stack (uses the GPIO someway) so the raZberry card get full access to the GPIO pins.

This is exactly the setup I have

Thank you for the nice explanation. Just made the change from RPI4 8GB with micro SD to SSD.
Everything works right away. Even the back up snapshot of my micro SD works without tweaks.

Good stuf!