Install Linux from an ISO in Hermitbox
Create a Linux VM in Hermitbox from the installer gallery, your own arm64 ISO or an https link, plus checksum checks, ejecting the installer and first setup.
Updated 7 min read
On this page
This page shows you how to install Linux from an ISO in Hermitbox. You can pick an installer from the built-in gallery, choose your own arm64 ISO, or paste an https link. It also explains which downloads are checksum-verified, why the VM stops at the end of setup, and what to turn on afterwards.
If you don't need an installer, Linux ready in a minute uses vendor cloud images that start with SSH ready.
Before you start
- A Mac with Apple silicon. Every installer in the gallery is an arm64 build. Intel Linux programs can still run inside the VM through Rosetta (see the end of this page).
- Disk space. A Linux VM needs at least 16 GB of disk, and the installer download is kept in the image cache. The VM's disk is sparse, so it takes space only as Linux fills it.
Distributions in the installer gallery
The Installers gallery has one card per distribution, each with a version menu. As of November 2026 it lists:
| Distribution | Versions |
|---|---|
| Ubuntu Desktop | 26.04.1 LTS, 24.04.5 LTS |
| Ubuntu Server | 26.04.1 LTS, 24.04.5 LTS |
| Fedora Workstation | 45, 44 |
| Debian | 13.7 Network Install |
| Kali Linux | 2026.3 Installer |
| Alpine Linux | 3.24.4 Virtual |
| Rocky Linux | 10.2 Minimal |
| openSUSE Tumbleweed | Rolling |
Install Linux from the gallery
- Open the New VM assistant. Choose File ▸ New VM… (⌘N, Command-N), click + in the toolbar, or click New Linux VM on an empty shelf.
- On What would you like to run?, select Linux and click Continue.
- On Choose a Source, scroll past Ready in a Minute to Installers.
- Pick a distribution card, choose a version from its menu, and click Continue.
- On Name and Size, enter a Name and adjust Cores, Memory and Disk if you want. The starting values are sized for your Mac.
- Optional: open Advanced to set Sound output, Display (Fit to This Mac or a fixed resolution), the MAC address, or Run Intel (x86-64) Linux programs with Rosetta.
- Click Create.


Hermitbox downloads the ISO, checks it against the publisher's checksum, and attaches it to the VM as a USB disc so the VM boots into the installer. If the VM's window isn't showing, double-click its box on the shelf. Then work through the distribution's installer in the VM window.
Clicking inside the VM gives it the keyboard. To get it back, press and release ⌃⌥ (Control-Option) with no other key.
Sizes on the Name and Size step
| Minimum | Recommended | |
|---|---|---|
| Cores | — | 2 |
| Memory | 1 GB | 4 GB |
| Disk | 16 GB | 32 GB |
Hermitbox fits its recommendation to your Mac: at most half its memory, one core fewer than it has, and a disk no larger than your free space minus 10 GB, but never below the minimums. It always leaves 2 GB of memory for macOS. If a value won't work, a short note says why, for example "This Mac has N cores."
Where the download goes
Installers are saved to the image cache at ~/Library/Caches/Hermitbox/Images and reused by later VMs. While a download runs, the sidebar's Downloads view has Pause, Resume and Cancel. If your connection drops, you'll see "Download Interrupted", and the download picks up where it stopped.
Use your own arm64 ISO or an https link
Use these when the distribution or version you want isn't in the gallery. Both buttons are at the bottom of the Installers gallery on Choose a Source.
- Other ISO File… lets you choose an arm64 Linux installer ISO on your Mac.
- From URL… asks for an Installer ISO link. Only https links work. Anything else shows "Enter an https link to an arm64 ISO."
The ISO must be an arm64 (aarch64) build. Installers for Intel PCs (amd64, x86_64) won't start on Apple silicon. After choosing the source, continue to Name and Size as above.
Which downloads are checksum-verified
| Source | Checked against the publisher's checksum? |
|---|---|
| Gallery installers | Yes, against the vendor's checksum list |
| Other ISO File… | No |
| From URL… | No |
A gallery download that fails the check is deleted, and the install stops. Two messages can appear:
- Download Didn't Match: "The file doesn't match the publisher's checksum, so it was deleted. Try again to download a fresh copy." Click to try again. If another VM already uses that file, Hermitbox keeps it and the message says so.
- Can't Verify the Download: "The publisher's checksum list doesn't include this file. Try again later or choose another version." Hermitbox couldn't find the file in the vendor's list, so it can't confirm it. Try later or pick another version.
Hermitbox doesn't check your own ISO, so compare it with the checksum the distribution publishes. In Terminal on your Mac:
shasum -a 256 ~/Downloads/your-installer.isoThis prints the file's SHA-256 hash and changes nothing. Compare it with the value on the distribution's download page. See how to check a SHA-256 checksum on Mac for more.
Why the VM stops at the end of setup ("Finished Installing?")
Linux installers restart the machine when they finish. In Apple's Virtualization framework, a restart started from inside a Linux guest stops the VM instead of rebooting it.
The installer stays attached until you eject it. If it's still attached when the VM stops on its own, Hermitbox asks Finished Installing?: "Eject the installer so “NAME” starts from its own disk."
| Button | Use it when |
|---|---|
| Eject and Start | Setup finished. This removes the installer and boots your installed Linux. |
| Start Installer Again | Setup didn't finish, or you want to run the installer again. |
| Not Now | You want to leave the VM stopped for now. |


This continues after installation. If you restart from inside Linux, the VM stops. Start it again with Machine ▸ Start (⌘R) or by double-clicking its box.
Eject or reinsert the installer disc
The VM window's toolbar lets you eject the installer disc or insert it again. Eject it once Linux is installed, even if you chose Not Now at the prompt.
While the installer is attached:
- The VM can boot back into the installer.
- You can't suspend the VM. The tooltip says "Eject the CD/DVD and remove USB drives to suspend this VM."
Set up Linux after installing
Clipboard
Clipboard sharing is on by default for new Linux VMs, but Linux needs spice-vdagent for it to work ("Most desktop installs already include spice-vdagent."). If copy and paste doesn't work, open the inspector's Linux section and use Set Up in Linux to see the install command for your distribution. The change takes effect the next time the VM starts, so shut it down and start it again.
Shared folders
- In the inspector, open Shared Folders and click Add Folder…, or drop folders from Finder.
- In Linux, mount the share. The Mount in Linux disclosure has copyable commands. To mount now:
sudo mkdir -p /mnt/mac && sudo mount -t virtiofs hermitbox /mnt/macThis creates /mnt/mac and mounts your shared folders there. Each folder appears under /mnt/mac.
The Mount at every start command adds this line to /etc/fstab and mounts the share:
hermitbox /mnt/mac virtiofs rw,nofail 0 0To undo it, delete that line from /etc/fstab. If the VM started with no shared folders, folders you add appear the next time it starts.
Rosetta for Intel programs
If Rosetta for Linux is installed on your Mac, Rosetta for Intel programs is on by default for new Linux VMs. After an ISO install, you set it up once inside Linux:
- Open the inspector's Linux section.
- Open Set Up in Linux and pick your Distribution (Debian/Ubuntu, Fedora or Other).
- Run the copyable steps in Linux: Mount Rosetta, Register it for x86-64 programs, then Mount it at every start.
Turning the switch on or off takes effect at the next start. If the switch is unavailable and says "Rosetta for Linux isn't installed on this Mac.", click Install Rosetta….
SSH and IP address
The inspector's Connect section shows the VM's IP Address once Linux has one ("Waiting for an address…" until then). The Open SSH menu opens a session in Terminal, iTerm (when installed) or VS Code, or copies the SSH command. Install and enable an SSH server in Linux first if the installer didn't.
Troubleshooting
| What you see | Cause and fix |
|---|---|
| "Download Didn't Match" | The gallery download failed its checksum and was deleted. Try again. |
| "Can't Verify the Download" | The publisher's checksum list doesn't include the file. Try later or choose another version. |
| "Installer Not Found": "The installer file was moved or deleted. Choose it again with Reinstall." | The ISO you chose was moved or deleted. Choose it again with Reinstall. |
| "Download Interrupted" | Check your connection. The download resumes where it stopped. |
| "Enter an https link to an arm64 ISO." | The From URL… link isn't https. Use an https link. |
| The VM boots into the installer again | The installer is still attached. Eject it and start the VM. |
| Your own ISO doesn't start | Check that it's an arm64 (aarch64) build, not amd64 or x86_64. |
| Suspend is unavailable | Eject the installer disc. A serial console, or on some macOS versions clipboard sharing or Rosetta, can also block suspend. The tooltip says which. |
| "Disk Full" | Free space on the disk that holds your VMs, or use Remove Unused… in Downloads. |