It will work OK as a slave if the master has an OS on it. If you just try to put it in and boot from it, it is unlikely to work as it will have been installed to run a particular computer and all its hardware.
-------------------- OK OK I can't go any faster! aaaaaaaaaaaagh!