HASS.IO -> transfer from SD card to SSD or USB

Hahaha THAT’S why I screwed up my first trial run! Should have read this first. Never mind, all fixed now!

FYI, I did the update from 3.4 to RC 3.5 using the update button. It took me a couple of manual unplug (I don’t know why), but I’m now on HassOS 3.5 with my SSD.

I have booted 3.5 RC from a usb flash drive on an Rpi 3b after setting the usb boot mode as a test and restored a snapshot of my main system.

I noticed the status page said there was a HassOS update. I did this and it failed to reboot after that. Not sure why it thought there was an update.

Would like to see info about working ssd and cable combinations.

Also, can I ask if you power your SSD directly from the pi usb port?

@Crhass, see above. Latest HassOS stable release is 2.12. The 3.5RC version will try to ‘update’ to the latest stable version. So when you clicked Update it actually downgraded you to 2.12 - which is why it doesn’t boot any more. Just reinstall 3.5 as you did originally.

FWIW I’m running my instance off an SSD powered directly from the Pi USB, no other power cables required

1 Like

I believe that is one of the two unused expansion options in my surplus that I’m trying to decide between. I’m torn between the HDD I have, the m.2/usb hat or picking up a cheap SSD when I go get a Pi4 from MicroCenter.

I’m also trying to not go to MicroCenter because that’s an easy $200 gone in less than an hour. In the last 2 weeks… work has had me driving past MicroCenter 3 times… one of these days it’ll be at the end of the day and I won’t have the restraint.

If you select “Join beta channel” under system, afterwards the hassos “Update” button under the system tab will download the latest RC or release image of hassos (currently 3.5rc). This will work fine for folks following the new usb boot method. OTOH, ff you do not join the beta channel, hitting update will download and install the latest release (non-rc, which is currently that would be 2.12). As mentioned before, this will result in your pi not being able to boot from ssd (this will more or less hose your usb boot setup).

So again for clarity, if you are rockin’ usb boot hassos via the 3.4 or 3.5 image, be sure to join the beta channel before hitting the update button on the system page. This should only be necessary in the short term, until an official release with usb boot comes out. Once that happens, the os update button will be safe to use without needing to join the beta channel.

1 Like

Just a quick update to confirm that updating hassos via the gui ‘update’ button located on the ‘system’ tab worked perfectly for me. After clicking ‘join beta channel’ I hit update, hassos 3.5 downloaded, installed, and rebooted on it’s own as expected. No additional reboots needed, and everything just worked like before.

So now there really won’t be much of a guide needed for this, since the primary hassio install guide will link to 3.5rc. Basically joining the beta channel is not necessary for this to work now that it is an “rc”. The only thing that might be added to that guide is that you can (or rather should) etch the image to an ssd instead of an sd card… and maybe some info about USB boot mode, weak 5v supplies, etc… just in case.

Also, folks who have pi4’s on hand… reading the devs postings it sounds like 3.5rc is now booting properly on pi4!

2 Likes

Can confirm it worked flawlessly for me. iitrust USB 3.0 to SATA Adapter and SanDisk SSD Plus 240 gb. Its so much more responsive, this really ought to be the default install method now, especially once the 4 allows USB boot.

1 Like

Got this working on my pi 3 but need to leave a small sd card in the slot with boot file and delay file for reliable reboots. I guess I could enable the one time programmable delay as most people on here seem to want to remove the SD card. On some of the pi forums the users feel that this increases processor use by around 10% as the pi keeps scanning for an inserted SD card. Maybe HassOS doesn’t do this?

Hi all, following this discussion I managed to install hassio on a 120gb OWC ssd directly to my raspberry 3b+, I recovered a backup but with errors on the database, so I deleted it. After a reboot I saw that in system there was the button update, I clicked it, now the system is not starting, I can redo all steps reflashing the image on the ssd and recovering the backup, I only ask if the HassOS must be NOT UPDATED to avoid breaking the setup, is it right?
I used 3.5 RC image

You can update, but you need to be on the beta channel. Even if you installed 3.5, the default update will take you to the latest release (2.12 I think, but dont quote me on it). If you are on the beta channel an update ought to be fine.

1 Like

I have PI4 don’t stat up with SSD…

1 Like

Thanks for giving it a try and reporting back. I wish I could get in on the testing myself, but even if I had a pi4 on hand, life is taking up all of my ‘hobby time’ lately.

When pi4’s first launched the devs mentioned something about a fundamental problem with pi4 USB boot that may make this all not possible until proper drivers are written for it. This of course would be a high priority among the pi community. So we could expect it to be working sooner than later. Pi4 is for all intensive purposes, still in the early adopter phase (if that phrase even applies to maker ware like pi’s).

First the EPROM PI4 boot to Network (now is in beta), after USB boot.

We just have to wait…

Hi @truglodite, this more recent Rpi forum thread gives a very useful update on setting up a boot from a SSD. In particular it references some of the timing issues that lie at the root of why some devices work and others don’t, plus advice on options to overcome some of those limitations.
https://www.raspberrypi.org/forums/viewtopic.php?t=225812#p1385832

Further to this, could you confirm that given your branch has now been merged with the main dev branch it is OK to hit the Update button as yet? Scratch that. I realise now I’ve confused the Update button reference. You were referring to the hassos Update button not the dashboard hassio Update button.

1 Like

hello, sorry I’m comfortable … I installed on sd hassos 3.5 for pi4, inserted, started, configured, ejected, cloned on ssd … but restarting the pi4 with ssd the ssd does not turn on. I also tried to update the pi4 firmware with raspbian but nothing. if on hassio I access the beta channel I don’t see any further updates so I assume it’s the correct version 3.5 … suggestions please?

Try BURN image directly on SSD, not clone. I did, even though I use a Pi3 B +.
@truglodite Many thanks for your information

As far as I know, PI4 does not support usb boot yet so you are not able to boot PI4 without SD card.

Yeah you have to have SD card plugged in so it can boot, it will load of it then transfer control to SSD.

@truglodite @Crhass

Are you getting reliable reboots with your setups?

My mileage seems to vary greatly. “Restarting” Home Assistant from the “Server Control” section in Configuration works reliably. Rebooting the host from the “Hass.io->System” page is more of a miss than a hit.

Any tips? Is the only sure-fire way to have an SD card with a boot partition in there?

Thanks for the help.