With a raspberry pi 4, can you boot or run off SSD?
I want to consolidate my pi3bs into one that runs hass.io and via that , my ubiquiti controller and Plex server as a minimum.
Looks like the pi 4 with 8 GB will do the job but I need to be on more stable SSD? I recall reading of a way to do on 3b but at that time it said 4 was still unsupported
So I'm in the same boat.
I tried this tutorial but was giving an error. So going to try again.
Still use the SD card to boot.
I won't holds thumbs for USB boot for a while yet.
Is it possible ton install HassOS on an SSD disk on a Raspberry Pi 3? Does anybody knows how?
github.com
the meantime I have tested the following procedure today and it works. This is for Raspberry Pi 4, 32-bit HassOS, booting from SD card but with hassos-data (e.g. all the Docker images and data) on SSD.
Install HassOS to SD card rpi4 32-bit, as per documented instructions.
Boot up HassOS, login to shell ("root" then "login" command), set your network configuration according to documented instructions.
Reboot device, HassOS will then connect ethernet and install Home Assistant (wait ~20 mins).
Login to check Home Assistant is working, set username, apply any updates etc. Now you have a clean HassOS ready to go on your SD card.
Shutdown device, take out the SD card, and plug in to a separate Linux machine. Also plug in your SSD to that separate Linux machine.
Prepare your SSD partition if required, I personally used MBR partition type and filled the disk with one partition of type 83 (Linux).
Clone the hassos-data partition from SD card to SSD (assume sda8 is SD card, sdb1 is SSD):
sudo dd if=/dev/sda8 of=/dev/sdb1 bs=10000000
This takes time. Once completed, change the partition label of the SD card partition (your new SSD partition will have been cloned with the name "hassos-data")
sudo e2label /dev/sda8 hassos-data-old
I think HassOS might do this anyway, but I chose to resize my new SSD filesystem to fill the partition:
sudo resize2fs /dev/sdb1
Plug SD card and SSD back into your Raspberry Pi and start up HassOS.