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

Guides

Linux on an Apple silicon Mac: a VM instead of Asahi

Need Ubuntu, Fedora or Kali on an M-series Mac? Run Linux in a VM instead of dual booting with Asahi: steps, limits and when Asahi still wins.

GuideUpdated 9 min read

On this page

You have an Apple silicon Mac and you want Linux, but you'd rather not repartition the disk or risk the Mac you work on. This guide covers the VM route: what it can do, how to set it up in Hermitbox, and where it falls short of Asahi.

Why people look for a VM instead of Asahi

Asahi puts Linux directly on the Mac's hardware, next to macOS on the same internal disk. That is its strength, and it is also where the trouble comes from. People in Asahi discussion threads report failed installs, a macOS update that broke boot, and hardware gaps such as USB-C displays, Thunderbolt and Touch ID. Some also report that a macOS 27 beta hid the Linux partition. Whether any of these still apply to your Mac and macOS version is something we haven't verified. Check Asahi Linux's own documentation before you decide.

A VM sidesteps all of that. Linux boots inside an app, so it isn't part of your Mac's startup process. A failed experiment costs you one VM, not a partition table.

Apple's own Virtualization framework is what makes this possible. Apple's documentation says it provides high-level APIs for creating and managing virtual machines on Apple silicon and Intel-based Mac computers, and apps such as Hermitbox build on it. See Apple's Virtualization documentation.

What a VM can and can't do compared with Asahi

Linux in a VM (Hermitbox)Asahi Linux
Disk changesNone. The VM is a package in a folderPartitions the internal disk
Risk to macOSLow. Delete the VM to undo itShares the disk and startup setup
Run Linux and macOS at onceYesNo, you reboot between them
Snapshots and throwaway runsYes, on APFS disksNot a feature of Linux on bare metal
GPU accelerationNo GPU settings in HermitboxHardware access
USB passthrough, extra displaysNot in HermitboxHardware access
Distro choicearm64 images, gallery or your own ISOAsahi's supported distros

Before you start

  • An Apple silicon Mac on macOS 14 Sonoma or later. Linux guests must be arm64, so amd64 installer images won't work.
  • Free disk space. Hermitbox recommends 2 cores, 4 GB of memory and a 32 GB disk for Linux, fitted to your Mac. The minimum is 1 GB of memory and 16 GB of disk. The disk only uses space as the VM fills it.
  • Hermitbox itself. It is part of MacSuite ($349 one-time, as of November 2026), and each app has its own 7-day trial. See the Hermitbox page.

Fix 1: A Linux server in about a minute (Ready in a Minute)

Use this for a dev server, a CI-style box or a throwaway shell. Hermitbox downloads the vendor's arm64 cloud image, so there is no installer to click through.

  1. Press ⌘N, or click + in the toolbar.
  2. On What would you like to run?, choose Linux and click Continue.
  3. Under Ready in a Minute, pick an image: Ubuntu Server 26.04 LTS, Debian 13 or Fedora Cloud 45. Click Continue.
  4. On Name and Size, set Name, Cores, Memory and Disk, or click Use Recommended.
  5. Fill in User (it defaults to your Mac's short user name) and Password. The password field says "Optional" if you have ~/.ssh/id_*.pub keys and "Required" if you don't. For key login, leave Allow SSH with this Mac's key(s) on.
  6. Optional: turn on Add a desktop. It installs on first start, so the first boot takes a few minutes longer, and it raises the memory.
  7. Click Create.

Hermitbox checks the image against the vendor's checksum, grows the disk to your size and configures the user, SSH keys, timezone and shared-folder mount with a cloud-init seed built on your Mac.

To log in, select the running VM and open Connect in the inspector. Copy IP Address shows "Waiting for an address…" until the VM has one. Then use the Open SSH menu: Open in Terminal, Open in iTerm (if installed), Open in VS Code or Copy SSH Command.

More detail: Linux ready in a minute.

Fix 2: A full desktop or a specific distro from an ISO

Use this for Ubuntu Desktop, Kali, Alpine or Rocky, or when you want the distro's normal installer.

  1. Press ⌘N, choose Linux, then Continue.
  2. Under Installers, pick a card and use its version menu. As of November 2026 the gallery has Ubuntu Desktop and Server (26.04.1 LTS and 24.04.5 LTS), Fedora Workstation (45 and 44), Debian 13.7 Network Install, Kali Linux 2026.3 Installer, Alpine Linux 3.24.4 Virtual, Rocky Linux 10.2 Minimal and openSUSE Tumbleweed. All are arm64.
  3. For anything else, use Other ISO File… or From URL… (https links only). It must be an arm64 ISO.
  4. Set the size on Name and Size, click Create, and run the distro's installer in the VM window.
  5. When the guest restarts at the end of setup, Hermitbox asks Finished Installing? Click Eject and Start so the VM boots from its own disk.

Gallery downloads are checked against the vendor's checksum list, and a mismatch deletes the file. ISOs you supply yourself are not checksummed, so verify them first (see how to check a SHA-256 checksum on Mac).

More detail: Install Linux from an ISO.

Fix 3: Run x86-64 Linux programs with Rosetta

Hermitbox runs arm64 Linux only. A program that ships only as an x86-64 Linux binary can still run through Rosetta for Linux. Apple describes this as Rosetta 2 translating the Linux x86-64 binaries inside your virtual machine.

  1. On Name and Size, open Advanced and turn on Run Intel (x86-64) Linux programs with Rosetta. It is on by default for new Linux VMs when Rosetta is installed.
  2. If Rosetta is missing, the toggle is disabled with "Rosetta for Linux isn't installed on this Mac." Click Install Rosetta….
  3. Ready in a Minute VMs are set up automatically when Rosetta is on.
  4. For ISO installs, select the VM, open the inspector's Linux section and use Set Up in Linux. It shows copyable steps for Debian/Ubuntu, Fedora or other distributions.

The change takes effect at the next start. See Run x86-64 Linux programs with Rosetta.

Take a snapshot before you break something

Press ⇧⌘S, or open the Snapshots tab in the inspector. On an APFS disk a snapshot is instant and takes no extra space until the VM changes. On a non-APFS disk it is a full copy, and Hermitbox asks first.

  • Restore… offers Snapshot the current state first, on by default.
  • Before each start, with Keep N (1 to 20, default 3), takes one automatically. It needs an APFS disk.
  • Run Without Saving Changes (⌥⌘R) starts a throwaway copy and discards everything when it stops.

See Snapshots, clones, templates and throwaway runs.

Share files with your Mac

Add a folder in the inspector under Shared Folders, or from the Sharing popover in the VM window. Ready in a Minute VMs already have the mount set up at /mnt/mac. On an ISO install, run this inside Linux:

bash
sudo mkdir -p /mnt/mac && sudo mount -t virtiofs hermitbox /mnt/mac

This mounts your shared folders under /mnt/mac until the next restart. To undo it, run sudo umount /mnt/mac. The Mount in Linux disclosure also has a command that adds a line to /etc/fstab so it mounts at every start.

If the VM started with no shared folder, a folder you add applies at the next start. There is no drag and drop between Mac and VM windows, so use shared folders for files.

Clipboard sharing needs spice-vdagent in the guest. Most desktop installs include it, and a change takes effect the next time the VM starts. See Share folders and the clipboard.

Which route fits you

You needUse
A Linux shell or dev server, quicklyHermitbox, Ready in a Minute
A Linux desktop to tryHermitbox from an ISO, or a free VM app
Docker and light Linux machinesOrbStack (free for personal use, paid for commercial use, as of November 2026). Hermitbox has no container support
A free VM appUTM or VirtualBuddy, both free as of November 2026
Windows or x86 emulationUTM, or Parallels Desktop (subscription). Hermitbox has neither
USB passthroughUTM (Apple backend needs macOS 27) or Parallels Desktop. Hermitbox has none
Linux directly on the hardwareAsahi Linux

If a free app covers your case, use it. Hermitbox is worth a look if you want snapshots, a CLI, Shortcuts actions and a menu bar item around the same VMs.

Checklist before you create the VM

  • The image or ISO is arm64 (aarch64), not amd64.
  • You have at least the minimum free space (16 GB disk, plus room for the download).
  • The disk that holds your VMs is APFS if you want cheap snapshots.
  • You have an SSH key in ~/.ssh or have set a password if you chose Ready in a Minute.

If it doesn't work

The VM window stays dark. Open the Console (inspector button or Machine ▸ Show Console). If it says "No Serial Console", click Attach Serial Console and restart. Add console=hvc0 to the kernel command line to see the boot log. A VM with a serial console attached can't be suspended.

The installer starts again after setup. The ISO is still attached. Use Eject and Start on the prompt, or choose Eject in the CD/DVD menu.

An ISO link is rejected. From URL… takes https links only ("Enter an https link to an arm64 ISO."). Check the image is arm64.

Download Didn't Match. The file failed the vendor's checksum and was deleted. Try again for a fresh copy.

No IP Address Yet. The VM has no address yet. Wait a few seconds and try again.

Copy and paste doesn't work. The guest needs spice-vdagent, and the setting applies on the next start. See Copy and paste not working in a Mac VM.

The VM stops when you restart it from inside Linux. This is how Apple's Virtualization framework behaves. Start it again from Hermitbox.

Can't suspend. Suspend is unavailable with a serial console, USB drives or a disposable run. On some macOS versions it is also unavailable while Linux clipboard sharing or Rosetta is on; the tooltip names which to turn off. It needs free space of about the VM's RAM plus 2 GB.

Still stuck? Start with Hermitbox troubleshooting, then contact MacSuite support through the support page. Include the exact error text, the distro and version, your macOS version and the steps you tried.

text
Subject: Hermitbox Linux VM problem

Mac: Apple silicon, macOS (your version)
Hermitbox version: (from Hermitbox > About)
Distro and image: (for example Ubuntu Server 26.04 LTS, Ready in a Minute)
What happens: (exact error text or what you see)
What I already tried: (console check, restart, new VM, etc.)

Common questions

Is a VM slower than Asahi?

We have no benchmarks to give you. A VM shares the Mac with macOS and gets no GPU acceleration settings in Hermitbox, while Asahi runs on the hardware directly. For shells, servers and ordinary desktop use, a VM is usually enough.

Can I run Intel-only Linux software?

Yes, if it is an x86-64 Linux program: use Rosetta inside an arm64 Linux VM. Hermitbox has no Intel (x86-64) guests, so a whole Intel operating system won't run.

Can I keep Asahi and use a VM too?

They don't conflict. A VM runs inside macOS, so you can use it on a Mac that also has Asahi installed. The VM is a separate, disposable environment.

Does a VM touch my disk layout?

No. Each VM is a .hermitbox package in a library folder, and moving it to the Trash removes it. Hermitbox asks first and says the disk and settings go to the Trash.

When Asahi is still the right choice

Pick Asahi if you want Linux as the main system on that Mac, need GPU acceleration, or need hardware a VM can't reach. Hermitbox has no 3D or GPU settings, no USB passthrough, no bridged networking and no multiple displays. If your need is "Ubuntu for work, with macOS untouched", a VM covers it, and you can try Hermitbox free for 7 days. For the wider picture, see How to run Linux on a Mac.

Every app.
One purchase.