# Install Linux from an ISO

Ubuntu Server, Fedora Server, CentOS Stream, and openSUSE Leap install from their ISOs without questions, and any other arm64 ISO installs by hand.

## Install a server from its ISO

1. Choose **File > New Machine**.
2. Select a system from the table, then click **Continue**.
3. Enter a name, and a password under **Account** if you want one. Click **Create**. The installer runs without questions, and the machine stops when it's done.

| New Machine | `--image` | Download | Packages from |
|---|---|---|---|
| Ubuntu Server 26.04 LTS (ISO) | `ubuntu-26.04-server-iso` | 3.1 GB | The ISO, with security updates from Ubuntu's mirror when online |
| Fedora Server 44 (ISO) | `fedora-44-server-iso` | 3.7 GB | The ISO, offline |
| CentOS Stream 10 (ISO) | `centos-stream-10-iso` | 1 GB | CentOS's mirrors, online only |
| openSUSE Leap 16.0 (ISO) | `opensuse-leap-16.0-iso` | 4.6 GB | The ISO, offline |

To install Ubuntu Server in Terminal:

```sh
osmates vm create srv --image ubuntu-26.04-server-iso --ssh-key ~/.ssh/id_ed25519.pub
osmates vm start srv --wait agent
```

Each one installs a server without a display on the whole disk. Its account is a [cloud image server's](https://osmates.com/docs/linux#create-a-server), with the [password](https://osmates.com/docs/linux#give-the-account-a-password) you gave. Connect with `osmates ssh srv`.

- OSMates checks each ISO against the checksum its vendor signed. CentOS signs none, so its checksum is read over HTTPS.
- None takes user-data, and Secure Boot stays off.
- Fedora Server has every language, unlike Fedora 44 Cloud.
- openSUSE takes only your first keyboard layout. It uses Btrfs snapshots and no swap.
- The Fedora Server and openSUSE boot menus wait 60 seconds.

## Install any Linux from its ISO

For a system New Machine doesn't list, such as Ubuntu Desktop, Kali, or Pop!_OS:

1. Download the system's ISO for arm64, also called aarch64.
2. Choose **File > New Machine**, select **Linux from an ISO File**, then click **Continue**.
3. Choose the ISO, click **Create**, then start the machine.
4. Install the system in the machine's window. Set the language and your account in its installer.
5. When the installer asks you to remove the medium, choose **I/O > Disc > Eject** in the window.
6. [Install the guest agent by hand](https://osmates.com/docs/linux-iso#install-the-guest-agent-by-hand).

To create and start the machine in Terminal:

```sh
osmates vm create mine --image linux-iso --iso ~/Downloads/distro-arm64.iso
osmates vm start mine
```

The machine runs on the OSMates engine, whose window takes keys at the installer's boot menu. To run it on Apple Virtualization for Rosetta, set **Engine** in the form, or add `--engine virtualization`.

On the OSMates engine, the machine reads the ISO where it is, also on an external drive. Leave it there until you eject it.

On Apple Virtualization, an ISO on another drive than the machine is copied into the machine when you create it. The form says so under the file, and **Needed** counts its size. Ejecting the disc deletes the copy.

An ISO for x86_64 PCs is refused. Until the system is installed, the machine starts only from its ISO, and a start without it fails and says why.

## Install the guest agent by hand

A system from your own ISO, or an image without cloud-init, has no guest agent at first. Without it, you can't run programs, copy files, share folders, or forward ports, and `osmates ssh` can't find the machine.

For an image without cloud-init, create the machine with `--display`, then answer its first-boot questions in the window. Set a root password if asked, or root stays locked.

1. Once the guest agent has been silent for three minutes, select the machine in the library, or run `osmates vm info mine`.
2. Copy the installation command it shows.
3. Run the command as root in the guest.

The command needs systemd or OpenRC. It adds no account and no SSH keys.
