I have some Raspberries (3B/3B+/4) that I want to boot from SSD, but I also want to attach an HDD to them (the classic SSD for OS and HDD for data)
The thing is that this setup has give me a lot of headaches in the past and nowadays too. When the raspberry boots up, if it finds the SSD first, then everything works correctly. But, if for some reason it finds the HDD first, it won't boot up at all.
As long as the SSD is detected first no problem, but on power outages or reboots it can happen that it won't boot because it found the HDD first which is not bootable.
I couldn't fix that after a lot of tinkering so I was wondering if it could be a viable option to set only the boot partition on the SD card then have the rest of the OS on the SSD and the data in the HDD.
I think some people have managed to do this, but I couldn't find much literature/tutorials on how to do it.
How can I do this?
Thanks in advance