Skip to content
86% off$349 $48.86code BF2026

Docs

Hermitbox docs29 pages

Run x86-64 Linux programs in an ARM Linux VM with Rosetta

Run x86-64 Linux programs in an ARM Linux VM on an Apple silicon Mac with Rosetta: turn it on in Hermitbox, mount it, register it, and fix the usual failures.

Updated 5 min read

On this page

You have an M-series Mac, an ARM Linux VM, and a program that only ships as an x86-64 binary. Running it fails with "exec format error", "cannot execute binary file" or "no such file or directory". Some VM tools can't help here: people report that Multipass declined to add x86-64 support in ARM VMs, and that OrbStack offers it natively. Hermitbox can do it too, using Rosetta for Linux.

Why x86-64 programs fail in an ARM Linux VM

  • The CPU is arm64. On Apple silicon, Hermitbox runs arm64 Linux. A Linux kernel can't run an x86-64 binary unless something translates it.
  • Rosetta does the translating. Apple's Rosetta translates individual x86-64 Linux programs as they run. It is not an emulated Intel computer. Hermitbox has no Intel (x86-64) guests, and full x86 emulation (for example in UTM) is reported as very slow.
  • Three things must be true. Rosetta is installed on the Mac, the VM has the Rosetta share attached, and Linux has the share mounted and registered for x86-64 binaries. Skip any one and the program won't run.

Before you start

  • An Apple silicon Mac running macOS 14 Sonoma or later.
  • An arm64 Linux VM in Hermitbox.
  • Rosetta installed on the Mac. If it isn't, Hermitbox shows Install Rosetta…, which runs Apple's installer.

Turn on Rosetta for a new Linux VM

  1. Choose File > New VM… (⌘N) and pick Linux.
  2. Choose a source, then on Name and Size open Advanced.
  3. Check Run Intel (x86-64) Linux programs with Rosetta. If Rosetta is missing, click Install Rosetta… first.
  4. Click Create.

Rosetta is on by default for new Linux VMs when it is already installed.

Ready in a Minute VMs

VMs created from Ready in a Minute (Ubuntu Server 26.04 LTS, Debian 13, Fedora Cloud 45) are configured automatically when Rosetta is on. Connect with SSH or the Console and run your x86-64 program. You can skip the manual steps below.

Turn on Rosetta in an existing ARM Linux VM

Use this for a VM installed from an ISO, or one created before Rosetta was on the Mac.

  1. Select the VM in the library. Press ⌃⌘I if the inspector is hidden.
  2. In the Linux section, turn on Rosetta for Intel programs. If it is dimmed with "Rosetta for Linux isn't installed on this Mac.", click Install Rosetta… and try again.
  3. Shut the VM down and start it again. The change takes effect at the next start.
  4. Open Set Up in Linux under the toggle and choose your Distribution: Debian/Ubuntu, Fedora or Other.
  5. In a terminal inside the VM, run the copyable steps in order: Mount Rosetta, Register it for x86-64 programs, then Mount it at every start.
  6. Run your x86-64 program as usual.

What each step does

Step in the appWhat it doesIf you skip it
Toggle on, restartAttaches the Rosetta share to the VMNothing to mount
Mount RosettaMakes the share visible inside LinuxRegistration has no translator to point to
Register it for x86-64 programsTells the kernel to hand x86-64 binaries to Rosetta"exec format error"
Mount it at every startRepeats the mount after each bootWorks once, fails after a reboot

What this can't do

  • It runs x86-64 Linux programs only. Windows and whole Intel guests are not available in Hermitbox.
  • It applies to Linux VMs. macOS VMs don't have this toggle.
  • Suspend may be unavailable. On some macOS versions a VM with Rosetta can't be suspended, and Hermitbox says "Turn off Rosetta to suspend this VM on this version of macOS." Shut the VM down instead, or turn Rosetta off.
  • A 32-bit-only or kernel-level Intel program is outside what this covers; the app describes it as running "x86-64 Linux programs".

If it doesn't work

The toggle is dimmed

Rosetta isn't installed on the Mac. Click Install Rosetta…. Or run this in Terminal on the Mac. It installs Apple's Rosetta component, so there is nothing to undo:

bash
softwareupdate --install-rosetta --agree-to-license

You turned it on but nothing changed

The setting applies at the next start. Shut the VM down from Hermitbox and start it again. A restart from inside Linux may not be enough, so use Hermitbox's Shut Down.

x86-64 programs still won't run

The mount or registration probably didn't run, or didn't survive a reboot. Rerun Mount Rosetta and Register it for x86-64 programs, then run Mount it at every start so it persists.

Your program needs x86-64 libraries

A dynamically linked x86-64 program also needs x86-64 versions of its libraries inside the VM. That depends on your distribution's multi-architecture support, which Hermitbox doesn't set up for you.

The steps don't match your distro

Choose Other in the Distribution menu and follow those steps.

You can't find the toggle

It is in the inspector's Linux section, so select a Linux VM first.

Checklist before you try again

  • Rosetta is installed on the Mac.
  • The VM is an arm64 Linux VM.
  • Rosetta for Intel programs is on, and you shut down and restarted the VM afterwards.
  • You ran Mount Rosetta, Register it for x86-64 programs and Mount it at every start in that order.
  • The program is an x86-64 Linux binary.

If nothing works

Contact support through the MacSuite support page and include the exact error from the terminal, your Mac model and macOS version, the Linux distribution and version, and the steps you ran.

text
Subject: Rosetta for Intel programs not working in a Linux VM

Mac: (model, macOS version)
Hermitbox version: (from Hermitbox > About)
VM: (distribution and version, created from ISO or Ready in a Minute)
Rosetta for Intel programs: on, VM restarted from Hermitbox
Steps run in Linux: Mount Rosetta / Register / Mount at every start
Error when running the program: (paste exact text)
Output of: uname -m

Hermitbox and Rosetta

Hermitbox is part of MacSuite and covered by the same license; the Hermitbox page has the details. For this job it gives you the toggle, an Install Rosetta… button and per-distro copyable steps, with Ready in a Minute VMs configured automatically. If you need Windows or full Intel guests, Hermitbox can't do that today.

Common questions

Does Rosetta in a Linux VM make Hermitbox an Intel emulator?

No. The VM is arm64 Linux, and Rosetta translates individual x86-64 programs. Hermitbox has no Intel guests.

Do I have to redo the setup after every reboot?

Not if you ran Mount it at every start. Without it, the mount is lost at reboot and x86-64 programs stop working.

Why would I use this instead of a different VM tool?

Some tools don't offer x86-64 programs in ARM Linux VMs. Hermitbox does, through Rosetta, on Apple silicon.

For more, see Linux integration: Rosetta, agent, SSH and console, Linux ready in a minute, Run x86-64 Linux programs on Apple silicon with Rosetta and Troubleshooting Hermitbox.

Every app.
One purchase.