Create VM: System Linux

Virtual Machines~15 minView script

Create a Linux VM on Proxmox VE. ProxMenux ships with a curated catalogue of official Linux ISOs ready to download, plus a local-ISO picker, and routes everything through the shared VM wizard, the unified storage plan and the optional GPU passthrough assistant.

What this script does

The Linux selector offers two ProxMenux-managed sources of installation media: an official ISO from the curated list (auto-downloaded) or a local ISO you uploaded yourself. Whichever you pick, the rest of the flow is the shared wizard: CPU / RAM / BIOS → storage plan → optional GPU passthrough → VM creation.
ProxMenux Linux installation options
Linux installation options

Default vs Advanced configuration

After the ISO is selected, ProxMenux asks whether to use the default VM profile or open the advanced wizard.

Default configuration

ParameterDefault value
Machine typeq35
BIOSOVMF (UEFI)
CPU typeHost
Cores2
RAM4096 MB
Bridgevmbr0
MAC addressAuto-generated
Start on completionNo

Advanced configuration

The advanced wizard exposes every parameter individually:

ParameterOptions
Machine typeq35 or i440fx
BIOSOVMF (UEFI) or SeaBIOS (Legacy)
CPU typeHost or KVM64
CoresNumber of CPU cores
RAMMemory allocated to the VM
BridgeNetwork bridge
MAC addressCustom MAC
VLANVLAN tag (optional)
MTUMTU size

Storage plan

After CPU / RAM, ProxMenux opens the Storage Plan menu, where you can combine virtual disks, imported disks and PCI passthrough devices in the same VM, adding items one at a time and finishing when you are done.

a. Add virtual disk

  • Lists the Proxmox storage volumes available on the host.
  • You pick the target storage and the size in GB.
  • The disk is attached to the VM as SATA (sata0, sata1, … up to 6).

b. Add import disk

  • Detects physical disks that are safe to import (system and protected disks are hidden).
  • You select one or more disks via a checklist.
  • Imported disks are attached as SATA via qm set.

c. Add Controller or NVMe (PCI passthrough)

  • Detects SATA/SAS HBAs and NVMe devices on the host and lets you pass an entire controller into the VM. IOMMU must be enabled; the script offers to enable it and reboots if required.
  • A confirmation step warns about controller-wide risk (the whole card, including every disk on it, leaves the host).
  • The selected PCI devices are attached via qm set hostpciN: ….

Reset and finish

The menu also offers r (reset the current selection and start over) and d (finish and continue). You cannot finish with an empty plan.

Optional GPU passthrough

After the storage plan, if a compatible GPU is detected on the host ProxMenux offers to launch the GPU passthrough assistant. See Add GPU to a VM (Passthrough) for how the assistant works — a host reboot may be required.

Automatic VM features

EFI disk

When OVMF (UEFI) is selected, ProxMenux creates a 4 MB EFI system disk on the storage you pick so the firmware has a place to store its variables.

ISO mounting

The installation ISO is attached to ide2 as a CD-ROM, ready for first boot.

QEMU Guest Agent

The guest agent channel is enabled in the VM config. You still need to install the agent inside the guest — see the tips below.

Linux installation options

Official ISO (traditional install)

ProxMenux ships with a curated list of official Linux ISOs. Pick one and the script downloads it straight from the upstream mirror into /var/lib/vz/template/iso, then attaches it to the VM.

Ubuntu
  • 25.10 Desktop
  • 24.04 Desktop
  • 22.04 Desktop
  • 20.04 Desktop
  • 25.10 Server
  • 24.04 Server
  • 22.04 Server
  • 20.04 Server
Debian
  • 13 Desktop
  • 12 Desktop
  • 11 Desktop
  • 13 Netinst
  • 12 Netinst
  • 11 Netinst
Fedora
  • Workstation 42
Arch Linux
  • latest
Rocky Linux
  • 9
Linux Mint
  • 22.1 Cinnamon
openSUSE
  • Leap 15.6
Alpine Linux
  • 3.21
Kali Linux
  • 2026.1
Manjaro
  • 25.0 GNOME
Linux distribution selection
Linux distribution selection

Local ISO

Uses any Linux ISO already present in /var/lib/vz/template/iso. The script lists every *.iso it finds and lets you pick one.

Local ISO selection menu
Local ISO selection menu

What the script does end-to-end

  1. Obtains the Linux ISO (official download or local file).
  2. Applies the default or advanced CPU / RAM / BIOS / machine-type configuration.
  3. Opens the storage plan and attaches the selected virtual disks, imported disks and PCI devices.
  4. Creates the EFI disk when UEFI is selected.
  5. Mounts the Linux ISO on ide2.
  6. Sets the boot order (disk first, then ISO).
  7. Enables the QEMU Guest Agent channel.
  8. Optionally runs the GPU passthrough assistant.
  9. Generates a styled HTML description attached to the VM.
  10. Starts the VM if you chose to.

Post-install tips

Install the QEMU Guest Agent inside the VM

ProxMenux enables the guest agent channel in the VM config, but the agent itself has to be installed inside the guest. It enables graceful shutdown, filesystem freeze for consistent snapshots and accurate memory reporting in the Proxmox UI.

Debian / Ubuntu

sudo apt update && sudo apt install qemu-guest-agent -y
sudo systemctl enable --now qemu-guest-agent

Fedora / Rocky / RHEL

sudo dnf install qemu-guest-agent -y
sudo systemctl enable --now qemu-guest-agent

Arch Linux

sudo pacman -S qemu-guest-agent
sudo systemctl enable --now qemu-guest-agent

openSUSE

sudo zypper install qemu-guest-agent
sudo systemctl enable --now qemu-guest-agent

VirtIO support in Linux

Modern Linux kernels (2.6.25+) include VirtIO disk and network drivers out of the box, so you can switch the disk interface to virtio or virtio-scsi in the Advanced wizard and the network adapter to virtio without any extra driver step.

Very old distributions

If you are installing something predating the 2.6.25 kernel, VirtIO modules may not be available at install time. In that case keep SATA / SCSI or provide a driver disk.

Enable TRIM / discard on SSD-backed storage

When the VM sits on SSD-backed Proxmox storage and the disk was attached with the discard flag, you can forward trim commands from inside the guest. Two options:

  • Run fstrim -av periodically (or enable the fstrim.timer unit on systemd distributions).
  • Or mount filesystems with the discard option in /etc/fstab.

Memory ballooning

The virtio_balloon driver ships with modern Linux kernels. Proxmox uses it to reclaim unused memory from the VM and show accurate utilisation in the UI — no guest-side configuration required.

Related