"use client" import Image from "next/image" import CopyableCode from "@/components/CopyableCode" import { Monitor, Settings, Zap, Sliders, HardDrive, ExternalLink, FileCode, Server, Terminal, Cloud } from "lucide-react" interface ImageWithCaptionProps { src: string alt: string caption: string } function ImageWithCaption({ src, alt, caption }: ImageWithCaptionProps) { return (
ProxMenux provides automated scripts that create and configure Linux virtual machines on Proxmox VE. These scripts simplify the process by handling the necessary configurations and optimizations for various Linux distributions, including Ubuntu, Debian, Fedora, and many others.
The Linux VM creation script automates the process of setting up virtual machines optimized for running Linux operating systems. The script handles all aspects of VM configuration, including hardware allocation, disk setup, and boot options.
The script simplifies the VM creation process by offering the following options:
The script offers two configuration modes:
If you select default configuration, the script will automatically apply the following values:
Parameter | Default Value |
---|---|
Machine Type | q35 |
BIOS Type | OVMF (UEFI) |
CPU Type | Host |
Core Count | 2 |
RAM Size | 4096 MB |
Bridge | vmbr0 |
MAC Address | Automatically generated |
Start VM on Completion | No |
If you want to customize the configuration, select the Advanced Settings option in the menu.
If you select advanced configuration, the script will allow you to customize each parameter:
Parameter | Options |
---|---|
Machine Type | q35 or i440fx |
BIOS Type | OVMF (UEFI) or SeaBIOS (Legacy) |
CPU Type | Host or KVM64 |
Core Count | Number of CPU cores |
RAM Size | Amount of memory allocated to the VM |
Bridge | Network bridge for connection |
MAC Address | Custom MAC address |
VLAN | VLAN tag (if used) |
MTU | Maximum Transmission Unit size |
The script allows you to choose the disk interface type for both virtual and physical disks:
Interface Type | Description | Best For |
---|---|---|
SCSI | Modern interface with good performance and features | Recommended for most Linux distributions (includes discard/trim support) |
SATA | Standard interface with high compatibility | Good general-purpose choice (includes discard/trim support) |
VirtIO | Paravirtualized interface with highest performance | Best performance for Linux (includes discard/trim support) |
IDE | Legacy interface with maximum compatibility | Legacy systems only (no discard/trim support) |
Once the machine is configured, the script allows you to choose between two types of disks:
When UEFI BIOS (OVMF) is selected, the script automatically configures an EFI system disk:
The script also handles ISO mounting automatically:
ide2
)
The script automatically configures QEMU Guest Agent support:
ProxMenux offers three methods for installing Linux on your virtual machine:
This option allows you to install Linux using official distribution ISOs. ProxMenux provides a curated list of popular Linux distributions that can be automatically downloaded and used for installation.
This option uses Cloud-Init to automate the installation process. It's faster than traditional installation and provides a pre-configured system ready to use.
Cloud-Init installations use external helper scripts from the community. For more information, visit:
community-scripts.github.io/ProxmoxVEThis option allows you to use your own Linux ISO file that's already uploaded to your Proxmox server's local storage. Ideal if you have custom or specific Linux installation media.
After configuring the VM settings and selecting your installation method, the script will:
For better integration with Proxmox, it's recommended to install the QEMU Guest Agent inside your Linux VM. This enables features like proper shutdown, file system freeze for snapshots, and more accurate memory reporting.
Debian / Ubuntu:
Fedora / CentOS / Rocky Linux:
Arch Linux:
openSUSE:
Most modern Linux distributions include VirtIO drivers by default, which means you can use VirtIO disk and network interfaces without additional configuration. This provides the best performance for your Linux VM.
Note:
If you're using an older Linux distribution (pre-2.6.25 kernel) and VirtIO disk interfaces, you might need to load the VirtIO modules during installation. In such cases, you may need to provide a driver disk or use SATA/SCSI interfaces instead.
discard
mount option in{" "}
/etc/fstab
for your partitions.
ProxMenux provides access to external community scripts that allow the creation of specialized Linux virtual machines for specific use cases:
Create a virtual machine that runs Home Assistant OS using a helper script from the community. Ideal for smart home automation.
Deploy a lightweight Debian-based virtual machine with Docker and SSH pre-installed using an external script.
These installations are handled by community-maintained scripts. For more information or to contribute, visit:
community-scripts.github.io/ProxmoxVE