An operating system is also a kind of software. Whether the software can run on the hardware platform depends on whether the instruction set of the software corresponds to the cpu of the platform. As long as it can be compiled on the compiler of cpu, it can run. Generally speaking, the desktop windows system is huge and requires high hardware resources (cpu frequency, memory capacity, etc. ), which is not supported by the general single chip microcomputer system. Microsoft used to have wince for handheld computers, and later it evolved into windows mobile, WP7 and WP8.
The boot of the operating system, to put it bluntly, is to automatically load the system software at startup, and the hardware will not recognize the type of the system, but will only operate according to the designed boot steps.