Skip to main content

๐Ÿ–ฅ๏ธ Create the First VM

MOS supports running full virtual machines (VMs) using KVM/QEMU.
This guide walks you through creating and configuring your first VM.

Prerequisite:

Before you can create a VM, you must first enable the VM Service in the settings. Navigate to Settings โ†’ Virtualization โ†’ VM Service and enable the service. For more details, refer to the VM Service documentation.

Additionally, it is recommended to set a network interface to bridged mode for optimal VM service functionality. For more information, refer to the Network Configuration documentation.

Navigate to:

VMs

VM Overview


โž• Creating a VMโ€‹

Click the three-dot menu (โ‹ฎ) in the bottom right corner and select + Create VM.

VM Action Button


โš™๏ธ Basic Configurationโ€‹

VM Menu VM Menu

๐Ÿท๏ธ Nameโ€‹

The unique name for your VM as it appears in the overview.

Best practices:

  • Use short, descriptive names
  • Avoid spaces and special characters

๐Ÿง  Memory Size (GB)โ€‹

Defines how much RAM is allocated to the VM.

Use the slider to set the desired memory size in GB.

note

Only allocate as much memory as the VM actually needs to avoid starving the host system.


๐Ÿ“Œ Core Pinningโ€‹

Allows pinning vCPUs to specific physical CPU cores.

tip

Useful for performance-critical VMs to reduce CPU scheduling overhead.


๐Ÿ–ฅ๏ธ Machine Typeโ€‹

Defines the emulated machine architecture.

OptionDescription
q35Modern PCIe-based machine (recommended)
pcLegacy i440FX machine

๐Ÿ”ข Versionโ€‹

Defines the version of the selected machine type.

Example: q35 (default)


๐Ÿ”ง BIOS Typeโ€‹

Defines the firmware used to boot the VM.

OptionDescription
ovmfUEFI firmware (recommended for modern OS)
seabiosLegacy BIOS
note

Use ovmf for Windows 11 and modern Linux distributions that require UEFI.

Secure Boot

When an OVMF firmware variant with TPM is selected, newly created VMs boot with Secure Boot enabled. Existing VMs keep their current firmware configuration โ€” to use Secure Boot with an older VM, create a new VM with the same disks and settings.

Secure Boot requires a guest OS with signed bootloaders (for example Windows 11 or a distribution with a signed shim). Linux guests without Secure Boot support will not boot in this mode.


๐Ÿ’พ Disksโ€‹

Click + Add Disk to add a virtual disk to the VM.

VM Disk Menu

Disk Configuration Fieldsโ€‹

FieldDescription
SourcePath to the disk image file (e.g. /mnt/main/vms/Test/vdisk1.qcow2)
SizeSize of the virtual disk
BusController type used for the disk
FormatDisk image format
Boot OrderBoot priority (lower = higher priority)

๐ŸšŒ Disk Bus Optionsโ€‹

VM Disk Bus

BusDescription
virtioBest performance (recommended for Linux)
sataGood compatibility
usbUSB-attached disk
scsiSCSI controller
ideLegacy, slowest option

๐Ÿ—„๏ธ Disk Format Optionsโ€‹

VM Disk Format

FormatDescription
qcow2Supports snapshots, thin provisioning (recommended)
rawMaximum performance, no snapshot support

๐Ÿ’ฟ CD-ROMโ€‹

Click + Add CD-ROM to attach an ISO image as a virtual optical drive.

VM CD ROM

CD-ROM Configuration Fieldsโ€‹

FieldDescription
SourcePath to the ISO file
BusController type for the CD-ROM
Boot OrderBoot priority

CD-ROM Bus Optionsโ€‹

VM CD ROM Format

Available options: virtio, sata (default), usb, scsi, ide

tip

Use sata for best OS installer compatibility.


๐ŸชŸ VirtIO Driversโ€‹

For Windows VMs, VirtIO drivers are required to use virtio disks and network adapters.

Select the VirtIO ISO from the dropdown to attach the driver disk.

note

The VirtIO ISO must be downloaded and placed on the system beforehand. It provides drivers for disk controllers, network adapters, and more inside Windows VMs.

VirtIO Drivers


๐ŸŒ Network Adapterโ€‹

Click + Add Adapter to add a virtual network interface.

Create Network Adapter

Network Configuration Fieldsโ€‹

FieldDescription
TypeNetwork connection type
SourceNetwork bridge or interface to connect to
ModelVirtual NIC model
MAC AddressOptional static MAC address

๐Ÿ”— Network Type Optionsโ€‹

TypeDescription
bridgeConnects VM to a host bridge (most common)
macvtapDirect connection via macvtap interface
networkUses a libvirt virtual network

๐Ÿ“ก Network Source Optionsโ€‹

SourceDescription
br0Physical network bridge (for real network access)
virbr0Virtual NAT bridge (isolated network)

๐Ÿ–ง Network Model Optionsโ€‹

ModelDescription
virtioBest performance (recommended)
e1000Intel Gigabit emulation, good compatibility
rtl8139Legacy, broadest compatibility

๐Ÿ–ผ๏ธ Graphicsโ€‹

Defines how the VM's display is accessed remotely.

Graphics Configuration Fieldsโ€‹

FieldDescription
TypeRemote display protocol
KeymapKeyboard layout used inside the VM
PortPort for remote display connection (leave empty for auto)
ListenIP address to listen on (0.0.0.0 = all interfaces)

๐Ÿ–ฅ๏ธ Graphics Type Optionsโ€‹

TypeDescription
vncBasic remote display (default, widely supported)
spiceAdvanced protocol with better performance and USB redirection
noneNo graphical output

โŒจ๏ธ Keymap Optionsโ€‹

Select the keyboard layout that matches your physical keyboard:

en-us, en-gb, de, de-ch, fr, fr-be, and more.


๐Ÿ”Œ Host Devicesโ€‹

Click + Add Host Device to pass through a physical PCI device directly to the VM.

Create Host Device

warning

PCI passthrough gives the VM exclusive access to the device. The host will no longer be able to use it while the VM is running.

Common use cases:

  • GPU passthrough for gaming VMs
  • Dedicated network card passthrough
  • NVMe/storage controller passthrough

๐Ÿ”Œ USB Devicesโ€‹

Click + Add USB Device to pass through a connected USB device to the VM.

Select the USB device from the dropdown โ€” all currently connected USB devices are listed.

Create USB Device

Examples of passthrough devices:

  • Bluetooth adapters
  • USB flash drives
  • Input devices
note

USB passthrough requires the device to be physically connected to the host at VM start time.


โœ… Finalizing the VMโ€‹

Once all settings are configured, click Create to create the VM.

The new VM will appear in the VMs overview with a stopped state.

VM Overview


๐Ÿ“‹ VM Overview Columnsโ€‹

ColumnDescription
NameVM name and current state
DescriptionOptional description
CPU LoadLive CPU usage while running
DisksAttached disk and ISO paths
StorageActual disk usage of the VM's disks. Click the calculator button to calculate it on demand
PortVNC/SPICE port for remote access
AutostartWhether the VM starts automatically on boot
InfoAdditional VM information

Parts of this documentation were created with the assistance of AI tools. All AI-generated content has undergone review, but it may still contain inaccuracies, omissions, or outdated information.