Put your SC-Card in RPi and power your SSD! Otherwise it won’t work
Then power your RPi.…”
I’m using a USB-SSD (SSD connect to Pi with a single SATA to USB-cable). Will this work too?
How do i power my SSD before i power my RP3B+?
How can it? I dont see you anywhere setting the “program_usb_boot_mode=1” that at least the raspberry 3 needs. Not sure about the rpi 4, last I checked it couldnt boot directly from usb at all. Am I missing something?
Sorry the steps are for my archive… I have my RPi3B+ already done with “program_usb_boot_mode=1” in past. So then its not needed anymore.
Second to @hassio-martin I don’t know if it will work. I have a SSD also connected to RPI using USB. But powered with external Power Supply. There are cables that have 2 USB connections, 1 to connect and 1 for external Power.
FWIW, i have been trying with a USB Sata dock (externally powered), and a sata ssd freshly etched with balena etcher with the latest RC, and its not working. Not sure if I did something wrong, or the sata dock doesnt work with the pi. I read somewhere to copy bootcode.bin to an sdcard, but I cant locate that file on the ssd…
Did you download the right Hassos? Everywhere you read download latest from link. I posted also the link…
what the difference between your link https://github.com/home-assistant/hassos/releases and https://www.home-assistant.io/hassio/installation/ ?
https://github.com/home-assistant/hassos/releases works on a RP3B+ with USB-SSD attached. No SD-card needed.
You don’t create CONFIG or a my-network file and use my guide. They are two different choices to achieve the same thing.
I did indeed get the wrong hassoss image. My pi3 now boots from USB with no problems, but Im having a hell of a time migrating my config over. Ive tried restoring a snapshot, copying the config folder via samba, copying the homeassistant folder on a different linux machine, everything results in HA not starting or not remotely working properly. What is the correct procedure?
anyone succeeded install on ssd with raspberry pi 4 hassOS ? My SSD does not boot or showing activity lights when i turn on raspberry pi … ssd connected with usb cable…
or do i have to wait for a ssd support for the pi 4 ?
Here works perfect. Use SD to boot and rest boot from root on SSD
How did you do it ? what image did you download ? pi 3 or 4?
This worked for me perfect. Tried this couple of times to be sure this is working. Now running for 3 months Hassio on SSD on RPi. Only first boot part from SD
Flash on SD Card Debain Buster Lite Image put in RPi4 and bootup
Now do some things on command prompt of Buster on your Pi:
(In my case my SSD is /dev/sda1, it can be different ar your setup)
sudo mkfs.ext4 /dev/sda1 -L root sudo mkdir /media/newdrive sudo mount /dev/sda1 /media/newdrive sudo rsync -avx --progress / /media/newdrive sudo nano /boot/cmdline.txt
Copy the full line in the cmdline.txt so you have 2 same lines. command 1 out with #
Replace the second line the “root=“ see below.
root=/dev/sda1 rootfs_type=ext4 root_wait rootdelay=5
Save the file
If you have something with resize, remove that part also.
Correct location and timezone
sudo -i apt-get install software-properties-common -y apt-get update apt-get install apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq socat curl -fsSL get.docker.com | sh
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s -- -m raspberrypi3
After about 20 Min login via WebUI. Create account
Are you using a PI3 installer for a pi4??
Since August 2020 it is possible to directly boot your ssd attached via usb on a RPI4 without a SD card. Finally a firmware Update on the RPI opened this door.
And HassOS 5.2 (64bit Version) finally boots from SSD.
To use this feature you need to run the latest eeprom update.
Steps (source: boot-raspberry-pi-4-usb)
- Boot from a standard microSD card with the latest Raspberry Pi OS on it.
Update your OS and firmware by typing:
sudo apt update sudo apt full-upgrade sudo rpi-update
- Reboot the Raspberry Pi 4
Install the latest bootloader by typing
sudo rpi-eeprom-update -d -a
- Reboot the Raspberry Pi 4 again.
- select Boot Options (item 3) - press Enter
- Select Boot Rom Version - press Enter
- Select Latest and then OK
- Select No to not Reset boot ROM to Defaults
- Select Boot Order and press Enter
- Select USB Boot
- Select Finish to reboot
- Download HassOS 5.2 or later 64bit version (HassOS 4.x will not work) from here
- Now use Balena Etcher or a similar program on your Desktop Computer to copy HassOS 5.2(64bit) or later on your SSD
- Connect your SSD to the RPI4 via USB3.0 Connector
- Remove the SD card and reboot
Your PI should now boot directly from SSD and installs hassOS
I had it working on a Hassio 5.1 I’ve updated to 5.2 and I got a completely black screen after the splash screen.
I tried this method installing
and I have the same result.
reflashing 5.1 or 5.2 worked
Wait - is this true?! we can finally boot directly from an USB drive?! No Docker or other shenanigans?! Simple, plain old HassOS?!
Does it also work with the RPi 3B+???
Dreams do come true!
well docker is integral part of hassOS and this worked for the Pi3 already for a long time.
What kind of “long time” are we talking about?! I last tried to do that early 2020 - but then it was only possible to install home assistant in a virtual machine running on the pi (if I understood correctly) … But now (starting with HassOS 5.0?!) it’s the same thing as running it on a SD card, right?!
Which HassOS version should I use for a RPi3 B+ ? Does the latest stable 4.13 work too, or do I need to use 5.x?