Enable Home Assistant on M.2 SSD memory

Hi, I bought a starter kit of raspberry pi 5 from Amazon and have installed Home Assistant on an SD card without problems. Currently I am accessing it through the IP address to see the the content. All fine. However, I also installed a M.2 memory. How do I enable it and run from it? I guess I need to install the system on that memory instead of the SD card? Can I do it from the front en user interface, or do I need to connect to the rasberry pi in a different way? Thanks!

Settings > System > Storage then select “Move Data Disk” and you can move your install over to the SSD. Note that this will still leave the boot partition on the SD card.

1 Like

Thanks @rouxdoo, this is very good! However, I get the error:

Failed to move data disk

‘DataDisk.migrate_disk’ blocked from execution, system is not healthy - oserror_bad_message

Any ideas? My take is that the M.2 SSD disk is not enabled. Got a manual on how to do it by editing the config.txt file, but I can’t figure out how to access that one. Any ideas on how to solve this. Thanks!

How is the SSD formatted? Is it an external drive or on a HAT? If external how is it powered and what USB (2 or 3) is it plugged into?

I needed to get a powered hub for my external USB SSD and I kept getting failures on USB3 which was fixed by using a USB2 port. There is a fix for that but it works just fine for me as it is.

@rouxdoo , seems I was somewhat to fast. I managed to copy it all to the SSD disk, but when I did a re-boot of the rasberry pi, no boot device was found. Had to do a hard reset of the whole thing and managed to boot it again. Guess I need to configure the boot options somehow.

I am using this solution:

EP-0210 - 52Pi Wiki?

And have not activley formated the SSD disk in anyway.

It probably attempted to boot off the SSD because it is a PCIe SSD. You say that it came up after resetting? Perhaps it used the fall-back boot order on power-on?

So you’re up and running?

@rouxdoo I would love to know how to set boot order and what the settings should be. Right now it says that boot slot A is “booted” and status “good” and slot B is “inactive” and “bad”.

But yea, seems like it is working
 Thanks!

It tried to boot from SSD and failed so it promoted the SD card to slot A. It is a fall-back, as I understand it, to protect from inability bo boot. If you want to boot from the SSD I think you will need to image it like you did initially with your SD card. If you then remove the SD card it will again attempt to boot from the (now slot B) SSD, promoting to A on success.

I am not speaking to any of this with authority, BTW, just using my own personal LLM trained on snippets I’ve seen here and there and perhaps quite prone to hallucination :grinning:

I think that the common wisdom is to continue to boot from SD and use your SSD as data disk which it appears you now have done.