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

Guides

Rosetta in a Linux VM: Run x86-64 Programs on Apple Silicon

Turn on Rosetta in a Linux VM on Apple silicon, set it up on Debian, Ubuntu or Fedora, check that it works, and learn why Suspend can be unavailable.

GuideUpdated 9 min read

On this page

To run x86-64 Linux programs on an Apple silicon Mac, attach Apple's Rosetta translator to an arm64 Linux VM and tell Linux to use it. In Hermitbox, turn on Rosetta for Intel programs in the VM's inspector and start the VM. Then run the three commands Hermitbox shows under Set Up in Linux for your distribution: mount Rosetta, register it for x86-64 programs, and mount it at every start. VMs created with Ready in a Minute are set up for you.

Rosetta runs individual x86-64 Linux programs. It can't boot an x86-64 operating system. That limit and a suspend caveat are covered below.

What Rosetta does in a Linux VM

Rosetta for Linux is Apple's x86-64 translator, offered to Linux VMs through Apple's Virtualization framework. The Mac shares the Rosetta binary with the VM as a virtio-fs directory. Inside Linux, you register that binary with the kernel's binfmt_misc feature. From then on, when you start an x86-64 program, the kernel hands it to Rosetta, which translates it to arm64 and runs it.

Typical uses:

  • A vendor tool or CLI that only ships an x86-64 Linux build.
  • An older closed-source binary with no arm64 version.
  • A build or test script that calls an x86-64 helper.

Everything else stays arm64: the Linux kernel, its drivers and modules, and every package you install from the distro's arm64 repositories. Rosetta only steps in for x86-64 program files.

What you need

  • A Mac with Apple silicon. Rosetta for Linux isn't available on Intel Macs.
  • Rosetta for Linux installed on the Mac. If it's missing, Hermitbox shows "Rosetta for Linux isn't installed on this Mac." next to the toggle, with an Install Rosetta… button that starts Apple's installer.
  • An arm64 Linux VM. All of Hermitbox's Linux installers and cloud images are arm64. Hermitbox itself needs macOS 14 Sonoma or later.
  • A terminal in the VM with sudo rights, to run the setup commands.

If you don't have a Linux VM yet, see how to run Linux on a Mac or how to run an Ubuntu VM on a Mac.

Turn on Rosetta for a VM in Hermitbox

When you create the VM

Rosetta is on by default for new Linux VMs when Rosetta is installed on the Mac. To check or change it:

  1. Choose File ▸ New VM… (⌘N, Command-N).
  2. Pick Linux and choose a source.
  3. On Name and Size, open Advanced.
  4. Check that Run Intel (x86-64) Linux programs with Rosetta is on. If you see Install Rosetta… instead, click it, finish Apple's installer, then turn the option on.

For an existing VM

  1. Select the VM on the shelf.
  2. In the inspector's Linux section, turn on Rosetta for Intel programs.
  3. If the VM is running, shut it down with Machine ▸ Shut Down (⌘.), then start it again with Machine ▸ Start (⌘R). The change takes effect at the next start.
Hermitbox inspector Linux section with Rosetta for Intel programs on and Set Up in Linux open with copyable commands
Rosetta for Intel programs, with the setup commands for Linux.

Ready in a Minute VMs: no setup inside Linux

Linux VMs created from Ready in a Minute cloud images (Ubuntu Server 26.04 LTS, Debian 13, Fedora Cloud 45) are configured on their first start by a local cloud-init seed. When Rosetta is on, that seed sets it up for you, so x86-64 programs run once the VM has booted. Skip to Check that it works.

If you created the VM with Rosetta off and turned it on later, run the checks below. If x86-64 programs don't start, follow the Set Up in Linux steps for your distribution. See Linux ready in a minute for everything else the seed configures.

Set up Rosetta on Debian or Ubuntu

For Ubuntu or Debian VMs installed from an ISO, you run the setup once inside Linux. Hermitbox gives you the exact commands, so you don't have to work out mount tags or registration strings yourself.

  1. Start the VM and log in.
  2. In Hermitbox, select the VM and open Set Up in Linux under Rosetta for Intel programs in the inspector.
  3. Set Distribution to Debian/Ubuntu.
  4. Copy the Mount Rosetta command and run it in a terminal in the VM. This makes the Rosetta binary the Mac shares visible inside Linux.
  5. Copy Register it for x86-64 programs and run it. This tells the kernel to send x86-64 programs to Rosetta.
  6. Copy Mount it at every start and run it, so the mount comes back after the VM restarts.

Then run x86-64 programs as usual.

To get the commands into the VM, you can paste from the Mac if clipboard sharing works. On Linux that needs spice-vdagent, which most desktop installs already include (see Share folders and the clipboard). On a server install without it, connect over SSH instead: in the inspector's Connect section choose Open SSH ▸ Open in Terminal, then paste into the Mac's Terminal. This needs an SSH server running in the VM.

Set up Rosetta on Fedora and other distros

The steps are the same. Only the Distribution choice changes:

  1. Open Set Up in Linux in the VM's inspector.
  2. Set Distribution to Fedora for Fedora, or Other for any other distribution.
  3. In a terminal in the VM, run Mount Rosetta, then Register it for x86-64 programs, then Mount it at every start, in that order.

Check that it works

Run these in the VM.

Confirm the VM itself is arm64 (it should print aarch64):

bash
uname -m

List the registered program handlers. You should see an entry for Rosetta:

bash
ls /proc/sys/fs/binfmt_misc/

Confirm the Rosetta share is mounted. It appears as a virtiofs mount; shared folders, if you use them, show up here too:

bash
mount | grep virtiofs

Then try a real x86-64 program. Check the file type, then run it:

bash
file ./your-program
./your-program --version

file should report an ELF 64-bit file for x86-64. Minimal installs may not include file; install it from your distro's package manager.

A statically linked x86-64 build of a tool you know makes the easiest first test, because it needs no x86-64 libraries.

Programs that need x86-64 libraries

Rosetta translates code, but a dynamically linked x86-64 program still needs x86-64 versions of its shared libraries, starting with the x86-64 dynamic loader. Without them, the program file exists but won't start. Newer versions of bash report cannot execute: required file not found; older shells say No such file or directory.

On Debian, add the amd64 architecture and install the C library:

bash
sudo dpkg --add-architecture amd64
sudo apt update
sudo apt install libc6:amd64

This lets apt install :amd64 packages next to your arm64 ones. Add further libraries the same way (libssl3:amd64 and so on, as the program needs). To undo it, remove the :amd64 packages, then run sudo dpkg --remove-architecture amd64.

On Ubuntu, arm64 and amd64 packages come from different mirrors, so apt update fails until you restrict each package source to its architecture. Follow Ubuntu's multiarch documentation before adding amd64. On other distributions the approach differs; a static build avoids the problem.

Limits: no x86 operating systems, and suspend

Rosetta can't run an x86-64 OS

Rosetta runs x86-64 programs on top of an arm64 Linux kernel. It can't boot an x86-64 kernel, load x86-64 kernel modules or drivers, or start an installer ISO built for amd64. Hermitbox runs arm64 guests on Apple silicon and doesn't emulate Intel machines. Its Windows VMs are Windows 11 on Arm only, through the optional Hermitbox Engine.

A whole x86-64 system needs full emulation, which Hermitbox doesn't do. UTM can emulate other architectures through QEMU (see below), but emulating an entire computer is slower than Rosetta translating a single program.

Suspend may be unavailable with Rosetta on

On some macOS versions, the Virtualization framework can't save the state of a VM that has the Rosetta device attached. Hermitbox then disables Suspend for that VM, and the tooltip reads: "Turn off Rosetta to suspend this VM on this version of macOS."

What this affects:

  • Suspend in the Machine menu, the VM window toolbar and the menu bar.
  • Closing a running VM's window: the "Is Running" prompt only offers Suspend when it's possible.
  • Quitting Hermitbox: Suspend All isn't offered when no running VM can suspend.

Your options:

  • Pause (⌘P) freezes the VM in memory only, so it doesn't survive quitting Hermitbox or restarting the Mac.
  • Shut Down (⌘.) and start fresh next time.
  • Turn off Rosetta for Intel programs if you suspend more often than you run x86-64 programs. It takes effect at the next start.

Linux clipboard sharing can cause the same kind of block ("Turn off clipboard sharing to suspend this VM on this version of macOS."), so a VM may need both turned off before it can suspend. More on run states in Start, pause, suspend and shut down.

Other ways to run x86-64 Linux software on a Mac

Competitor details are as of November 2026.

MethodSetupWhat it runsMain limit
Hermitbox, Ready in a Minute VMAutomatic when Rosetta is onx86-64 programs in Ubuntu Server, Debian or Fedora CloudOnly those cloud images
Hermitbox, VM installed from an ISOThree copied commands, oncex86-64 programs in your arm64 distroManual step; Suspend may be off on some macOS versions
OrbStackLinux machines and Docker, with RosettaDocker containers and Linux machinesFree for personal use, paid for commercial use
UTMCreate an emulated VMA whole x86-64 OS via QEMU emulationFull emulation is slower than Rosetta
  • Pick a Hermitbox VM if you want a full Linux VM (desktop or server) with snapshots, clones and shared folders, and you run x86-64 tools now and then. Hermitbox is part of MacSuite; you can try it free for 7 days.
  • Pick OrbStack if you mainly need Docker or containers. Hermitbox doesn't run Docker or containers itself.
  • Pick UTM if you need a whole x86-64 operating system, not just x86-64 programs. UTM is free.

If it doesn't work

The Rosetta toggle is disabled. The inspector shows "Rosetta for Linux isn't installed on this Mac." Click Install Rosetta…, finish Apple's installer, then turn the toggle on and start the VM again. On an Intel Mac there is no Rosetta for Linux.

cannot execute binary file: Exec format error. The kernel has no handler for x86-64 programs. Check three things: Rosetta was on when the VM started (shut down and start again after turning it on), the Rosetta share is mounted (mount | grep virtiofs), and the register step ran without errors. On Debian or Ubuntu, if the register step fails with update-binfmts: command not found, install the tool with sudo apt install binfmt-support and run the step again.

It worked until the VM restarted. The mount didn't come back. Run Mount it at every start from Set Up in Linux, then Register it for x86-64 programs again.

required file not found or No such file or directory for a file that exists. The program is dynamically linked and the x86-64 libraries are missing. See Programs that need x86-64 libraries, or use a static build.

Programs run under QEMU instead of Rosetta. If qemu-user-static or a similar package is installed, it may register its own x86-64 handler. Check with ls /proc/sys/fs/binfmt_misc/. To turn off the QEMU entry until the next restart:

bash
echo 0 | sudo tee /proc/sys/fs/binfmt_misc/qemu-x86_64

This disables the qemu-x86_64 handler. Turn it back on with echo 1 instead of echo 0. To remove it for good, uninstall the QEMU user-mode package.

Suspend is greyed out. Read the tooltip. If it mentions Rosetta, see Suspend may be unavailable with Rosetta on.

For other messages, see Troubleshooting and Linux integration: Rosetta, agent, SSH and console.

FAQ

Can Rosetta run an x86-64 Linux distribution, like an amd64 Ubuntu ISO? No. Rosetta translates programs, not operating systems. Install the arm64 version of the distro and run your x86-64 programs inside it.

Does Rosetta translate the VM's normal arm64 programs? No. It only handles files that are x86-64 executables; arm64 programs run as they always do.

Do I need to set up Rosetta again after cloning a VM? A clone copies the VM's disk, so the mount and registration you set up inside Linux come with it. Check that Rosetta for Intel programs is on in the clone's inspector before you start it.

Is Rosetta available in Hermitbox on an Intel Mac? No. Rosetta for Linux exists only on Apple silicon Macs.

Every app.
One purchase.