Finally! Raspberry PI 4 boot from SSD, no MicroSD required!

I check it, it’s not the supervised version, you use sudo, that’s not an option on the supervised.
HASSIO supervised (or what ever) there is no SU commaned, all in runnig in a docker and everything is very limited. You only log into dockers not the real full system

I only use sudo in the Raspian installation on the SD card. That is only necessary to flash the newest bootloader into the Pi.
Afterwards you only have to attach the SSD with HassOS v5.1.

had a nightmare, logged into my RPI4 via port 22222
i wanted to get some help on the command to update from v5 to v5.1

instead it just installed the latest os v4x something

now i cant ssh or get back to my HA on the SSD.

any thoughts on the best way to roll back? or do i need to installed fresh again and then load up my nightly backup?

You just have to download the v 5.1 file and copy file on a USB stick.
Make sure you have the LABEL of the USB-drive named CONFIG, and then select import from USB in home-assistant within the Supervisor->System screen.

Excellent guide! Thank you.

1 Like

I read that few people were doing this and I gave it a try. Yes, you need to take those two steps you described. Check the guide below.
Here it is: https://forum.smartapfel.de/forum/thread/6048-anleitung-installation-von-home-assistant-auf-einem-pi4b-mit-einer-über-usb-ange/?postID=90748#post90748

I have been running it for a week and no problems. Just remember that under the Supervisor there will be a message to upgrade the OS. Just ignore that.

Update Available :tada:

Operating System 4.12

You are currently running version 5.1

hey all,
not sure if anyone can help

i was running rpi4 on v5.0 64bit, for 3months+
stupidly i hit the wrong button and ugpraded to the latest “v4x” version

this obviously killed everything and now im not sure how to get my daily backup (on the SSD) back, so i can rebuild on v5.1 and load up my old v5 backups?

i have a MicroSD plugged in, which gets me to the command line of the pi, using the pi user, however im not sure how to get to the SSD and then save my daily backups?

or, if easier, how do i upgrade the SSD which has v4x on it, to the latest v5x, without doing a format of the data? just the upgrade only?

Got it working :slight_smile:
What are the steps to upgrade from v5x to v5xx via putty as you can’t do it in the UI

To update HassOS to a specific version, use the command:
ha os update —version x.y

3 Likes

The version 5.2 is out, but until now there is no version for Pi4B. Last time it took a day or so.

What did you do to fix it?

using the ssh terminal to update to 5.2 has my rpi4 unable to boot.

followed the guide to check firmware on rpi4, it did have an update, but it still isnt seeing my ssd and booting like normal.

would post error messages but im going to search the info at the link above.

This is very cool! The german how-to guide details that some SSDs might have a problem with this setup. Any suggestions for a working SSD? Any cheap rather small one (64Gb or 128GB) would probably be OK for my needs. Is it better to have a USB3 (or 2?) SSD or just a sata SSD with a USB adapter?

I bought this enclosure last week then updated it via windows with a utility from the Sabrent site. Works great with my SSD without using Quirks and with UASP and trim both working.

UASP
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M

TRIM
/: 464.7 MiB (487219200 bytes) trimmed

Old Orico - No UAS

iozone test complete.
RandRead: 17138 - RandWrite: 24167 - Read: 23728 - Write: 20411

 Category                  Test                      Result

HDParm Disk Read 204.06 MB/s
HDParm Cached Disk Read 183.33 MB/s
DD Disk Write 144 MB/s
FIO 4k random read 4456 IOPS (17824 KB/s)
FIO 4k random write 5375 IOPS (21501 KB/s)
IOZone 4k read 23728 KB/s
IOZone 4k write 20411 KB/s
IOZone 4k random read 17138 KB/s
IOZone 4k random write 24167 KB/s

                      Score: 5733

Sabrent UAS
iozone test complete.
RandRead: 24486 - RandWrite: 33183 - Read: 35411 - Write: 29557

 Category                  Test                      Result

HDParm Disk Read 482.20 MB/s
HDParm Cached Disk Read 220.62 MB/s
DD Disk Write 180 MB/s
FIO 4k random read 18139 IOPS (72559 KB/s)
FIO 4k random write 10000 IOPS (40000 KB/s)
IOZone 4k read 32398 KB/s
IOZone 4k write 27829 KB/s
IOZone 4k random read 20053 KB/s
IOZone 4k random write 30981 KB/s

                      Score: 8071

Enclosure

Windows Updater Here

Correct, that is a Raspberry Pi 4 USB 3 problem. I can only tell what enclosure is working for me without any problem: https://www.amazon.de/gp/product/B07D2BHVBD. The SSD that is build into it really doesn’t matter. The problematic part is the USB 3-SATA controller inside the enclosure!
I started with enclosures for M.2 SATA SSD, but I didn’t found an enclosure for them that works with the Pi 4.

Thanks for the tips. I probably didn’t think it through last week when I ordered this:

I think it’ll probably work, but I suppose it would’ve been cleaner to have a proper enclosure for the SSD itself. Well, maybe I’ll upgrade it at some point :slight_smile:.

If someone is searching for the guide. It can now be found here: https://homeassistantforum.de/thema/pi4b-nur-mit-einer-usb-ssd-betreiben-ohne-sd-karte/#post-1069

It is updated for the new Pi4B bootloader which can be very easy installed!

1 Like

Does the SSD have to be USB 3?
Is this configuration also valid for a USB stick?

A community guide answering many topics of this thread:

1 Like