# 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, then 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, with the same account as a [cloud image server](https://osmates.com/docs/linux#create-a-server). 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
```

OSMates doesn't copy the ISO, so leave it where it is until you eject it. An ISO for x86_64 PCs is refused.

## 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.
