My Macbook needs to be sent to the store for repair and I plan on making a block level clone of it to an unused iMac that I have. My question is will the iMac be able to boot and not crash due to the hardware having changed very significantly.
The method I'm talking about is making a block level clone like dd
so that the iMac's drive is identical to the Macbook's. NOT a time machine backup or simple copy of files over.
Best Answer
In the past I have often booted my main operating system from different Macs, while my MacBook was in repair. Sometimes you may have to redo some of the settings, such as Network preferences. Also, restoring the recovery partition (see also below) can be annoying.
First you need to figure out if your iMac is compatible with the version of MacOS you are using. In case you use Mojave, compatible iMacs are: "iMac introduced in late 2012 or later" according to Apple's support page. In case your iMac is such a model, you should be fine.
I suggest you simply try it by cloning your macOS to an external USB SDD or HDD and boot from it.
Please make sure your USB drive is formatted with the GUID Partition Map, as this is required for booting external drives.