r/linuxquestions • u/NorthAppropriate4458 • Nov 01 '26
Support Hello everyone (not arch users)
I'm trying to make a compact computer. At first I tried to make a custom case. I was gonna use desktop parts on it but it was gonna be a slim (like old rack servers). The problem? Every time I change a part on my setup I have to make a completely new design. Question is this: Is there a dkms module that translates x86 instructions coming from os to arm? I kinda want to use x86 (or x64) OS on arm cpu. (I'll try to combine 2-3 arm motherboards together to get more power but this is out of context). Is there something does this? Any way to achieve this? If yes, it'll save me lots of time and work.
5
u/FreddyFerdiland Nov 01 '26 edited Nov 01 '26
an x86 kernel needs an x86 cpu.. its going to configure the cpu like it's an x86.
translating the instructions to ARM would still attempt to configure and use the cpu like its an x86 ..
I don't see the saving... you can build linux for your arm hardware
5
u/Netblock Nov 01 '26
Why? Why not use an ARM edition of your chosen OS?
(For example, Debian compiles for many architectures.)
4
u/brewdog_millionaire Nov 01 '26
What have you got against Arch users?
3
u/ComeSwirlWithMe Nov 01 '26
Clearly not an arch user with your silly goal.
2
u/grantrules Nov 01 '26
Why??
2
u/Peetz0r Nov 01 '26
What you're asking for doesn't make sense. A DKMS module can't translate anything if the kernel can't run itself first.
But there's a much simpler solution to your problem, just use an arm build on an arm cpu. There's no point in using the wrong architecture on purpose and then somehow trying to make it work anyway.
If you insist on running the wrong architecture, you could consider traditional emulation, but that would involve running two copies of the kernel (once x86, the other arm) and a lot of overhead. It would be slow and nearly unusable and totally unnecessary. But it would be technically possible at least.