Raspberry Pi: move Root to USB

hello,

I am trying to find a way to install the root system into a usb… I have research and I have foud that this topic has beel already discussed many times, but I am still quite confused…

in openHab, there is a very simple option for this (see this video here)

I was wondering if there is a similar option in Hass.IO

The reason I am after this, it is because it seems that by running the system from an SD card, tend to “burn” the card quite often… (compared to USB)…

Ideas? suggestions?

Thank you all

As of the latest version of HassOS, USB boot is supported.
I’ve only very recently changed to a USB HDD for the same reason as yourself.

IMPORTANT:
Once you switch to USB booting, you are unable to go back to SDcard booting
This is a one way process

Basic instructions here :

List of supported drives here :

thank you for the link… I am not that expert here… I am about to do a fresh new installation… does it mean I can just flash the image into a usb and add the config items as per github link?

No

You will need to add the line to /boot/setup.txt of an install on SDcard before USB boot will work.
I used a Raspbian image from https://www.raspberrypi.org/downloads/.

Its super important that you’re sure you have a compatible USB drive before doing this though
as once you switch to USB booting, you are unable to go back to SDcard booting

That is not correct - the option " program_usb_boot_mode=1" is just setting an electrical fuse on the Pi to enable USB boot - you can boot from either the SD card or USB at any time.

2 Likes

Thankyou for the correction !
I’ve misunderstood the instructions