The Wiki has nothing and the search words for the forum (e.g. 'CMX on SSD' are too short).
And when I say recipe I mean recipe i.e. a series of commands / short description. Not a novel.
--------------------------------
Recipe for installing and using an SSD on the RPi based on my experience so far and the reactions below.
When ready, the RPi will boot from the SSD and run CMX from the pi account.
There are no doubt many other possibilities but diversification will or may confuse the lesser gods of technology who may be good meteorologists therefore only one line is chosen.
I. Prepare an SSD from scratch
- Prepare your SSD to boot from USB (see various doc on the net)
- Buy a good SSD i.e. one UAS-capable, a Sata-III interface and a Sata-III to USB 3.1 interface cable (3.0 will work but if you need to buy do a 3.1).
- Connect the drive to your PC, startup Raspberry Pi Imager (Balena Etcher or Windows imager work as well reports say).
- Select the OS (the standard first option), select the device (your SSD) and use the setup gear button. Fill in according to your infrastructure. If you will be using wifi, fill it in now.
- When done, write the OS
- Disconnect from Windows and attach to the RPi. Start the RPi and check you can login and everything works.
- Update the OS (apt update ; apt full-upgrade; )
- Install Mono (according to this site or whatever method as long as it is version 6.12.0.182)
- Reboot
- Install or restore your CMX version to wherever you wish, the preferred directories are /, /home or /home/pi, including your systemd entry (if you wish to run as a daemon) and your crontab entries.
- Check your CMX starts OK (from commandline) and does everything you expect
- Enable the daemon if you wish
- Remove any SD-card and reboot
This assumes you have an operational RPi with CMX running as wanted.
- Prepare your RPi (enable the VNC server and set a proper resolution) for using VNC, get the viewer and register here: https://realvnc.com.
- Connect the SSD disk
- Login with the VNC viewer, goto Accessories=>SD card copier
- Copy your SD-card to the SSD
- Power off
- Remove SD-card and reboot.