So say I work at home, then go to the office. Instead of bringing the laptop, I just remove the hard drive, go to the office, plug it into and identical laptop there and continue working where I left off.
Has anyone tried this?
The laptop in question is an Acer Nitro 5 (older model), with an internal M.2 and SATA connector running OpenSUSE Leap 15.2.
The system is set to boot from the SATA connector. It has a SATA extension cable connected, with the end hanging out the side of the laptop for easy access. eg:
https://www.ebay.com/itm/15-7-Pin-SATA-HDD-Extension-Cable-D... <-- I don't know the seller at all
The laptop itself is setup and "ready to go" (eg external monitor, keyboard, mouse plugged in), and doesn't get moved. All it needs is the appropriate SATA drive to be connected then powered on.
Been using it this way, swapping over drives as needed (while powered off of course) for a few months now. Works perfectly.
This kind of setup would probably work ok for you if you're using Linux, as most distributions include the common hardware drivers. So even differences in hardware between the laptops (within reason) generally won't be a problem.
If you're using Windows though, no idea. Even with identical laptops in all locations it'll probably notice different serial numbers on devices. Not sure how that would play out.
The easier thing to do is bundle settings and some files, store on a server, then download to whatever machine you're using.
One of the benefit is you don’t have to install dependencies once back to home to work on the same stuff.
There are two cons though: connector reliability on the disk and especially on the docking device degrades with time and you need to care about backups more as you can damage the drive during the transportation with mechanical hit or with static electricity.
https://www.samsung.com/us/explore/dex/
Till then, attached to laptop.