Is the problem related to the difficulty of buying because it is illegal or economically?
Economically: buy a USB flash drive, burn an open source operating system on it, and boot from that operating system.
Do not install the parts that require internet connectivity, and remove the physical parts.
illegal : Buy an embedded device that enables you to run an operating system with the lowest possible specifications.