I have a PC with an SSD and an HDD. I'm running Linux. I wish to put all the static (very rarely changing) files on the SSD and the rest on the HDD. To achieve that I'd like to have /boot, /usr, /lib, /bin, /etc, /opt on the SSD and the rest - /var, /tmp, /home on the HDD. However, I don't want to create a separate partition for each of them, I want each group to be on its own partition. I suppose that I could mount the SSD to /, the HDD to /mnt/hdd and symlink /home, etc. to point to /mnt/hdd/home, etc.
Are there problems I can expect with such a setup? Such as a program attempting to read from/write to /var early in the boot process before the HDD is mounted? Will logging work as normal if /var (and /var/log) aren't on the root partition?
What would be the best way to solve this?