ops icon indicating copy to clipboard operation
ops copied to clipboard

Run ops on an ARM host

Open yanf81 opened this issue 7 months ago • 1 comments

We saw that there is a support to build a Nano VM on an ARM system. However the kernel.img file created is of type X86_64. Does that mean there is not option to use ops in a ARM environment - Build / Run ?

yanf81 avatar Jun 03 '25 10:06 yanf81

nanos works fine on arm - a lot of users are on macs which are arm based - what happens is that ops defaults to whatever arch it is running on - so on arm it will default to arm - if you want to run x86 on arm you'd pass the arch toggle:

 ops run g  --arch=amd64

if you find you don't have an arm build you can download one:

ops update --arm

you should see ~/.ops/0.1.53 for x86 and ~/.ops/0.1.53-arm for arm

if you pass in 'ops run -v' you should see which one is being used

eyberg avatar Jun 03 '25 13:06 eyberg