Source code Releases Documentation Issues Licensing Primary license: GPL-3.0-or-later Miscellaneous Funding: Buy us a coffee Maintainer: foundata Status: Stable
Primary license: GPL-3.0-or-later
Funding: Buy us a coffee
Install a standalone Proxmox VE node on a Hetzner dedicated server directly from its Linux rescue system, using the original upstream ISOs.
Run pve-install-hetzner over SSH without using Hetzner’s installimage or requesting a remote console from support. Follow the guided installation, or use plan to review a TOML answer file before installing. Storage defaults to a ZFS mirror.
⭐ Found this useful? Support open-source and star this project:
Install directly on the physical disks. The tool starts a temporary virtual machine (VM) in the rescue system itself and boots the official Proxmox VE installer with the selected disks attached to the VM. After the server reboots, the rescue system and the temporary VM are gone, and Proxmox VE runs on the physical server.
Configure the public uplink, private guest network, package sources and management access before networking starts on the first physical boot.
Support for many disk layouts .
Choose BIOS or UEFI for the disks independently of how rescue booted. With ZFS, each disk’s boot entries select the new pool by GUID, so another drive can hold a pool with the same name.
The CLI runs as root in Hetzner’s rescue system (Debian 13 (Trixie) or newer). Before rebooting, check that the server meets these requirements.
Host and network. Use an x86-64 server with KVM enabled, a physical public uplink and a primary IPv4 address. Additional physical NICs can be pinned by MAC address. Keep Secure Boot disabled so Robot rescue remains available.
Target disks. Choose writable whole disks of at least 16 GiB that meet the layout requirements . Native 4K-sector disks require a UEFI target. Mounted partitions, active swap or other block devices using a disk prevent exclusive access in rescue.
Workspace and memory. For a download, the filesystem containing /root needs three times the ISO size plus 1 GiB free. With an existing local ISO, it needs twice the ISO size plus 1 GiB. Rescue needs 8 GiB of available RAM for installation.
Activate Linux 64-bit rescue in Hetzner Robot, reboot the server and connect with ssh -t root@SERVER_IP . Install the CLI in rescue using Debian’s pipx.
If rescue already has uv, use UV_TOOL_BIN_DIR=/usr/local/bin uv tool install 'pve-install-hetzner' . The CLI requires Python 3.12 or later. The Debian 13 rescue image we tested included Python 3.13 and offered pipx through APT. For an unpublished build, see testing a local wheel .
From rescue to first login
After installing the CLI in rescue , start the guide in a terminal. If the connection is unreliable, run it inside tmux .
Enter the node’s fully qualified hostname and notification email. For root SSH access to the installed host, paste one public key from your workstation (for example, the line printed by cat ~/.ssh/id_ed25519.pub ) or choose its public key file in rescue. Check the displayed SHA-256 fingerprint.
Enter the node’s fully qualified hostname and notification email. For root SSH access to the installed host, paste one public key from your workstation (for example, the line printed by cat ~/.ssh/id_ed25519.pub ) or choose its public key file in rescue. Check the displayed SHA-256 fingerprint.
Review the grouped settings. Use ↑/↓ to highlight a setting such as Guest IPv4 subnet , then Enter to edit it. For Timezone , Enter keeps the current zone (initially UTC ). Type Europe/Berlin directly, for Berlin , or enter ? to browse the list. Choose Continue with these settings when ready. At the disk list, use Space to select disks in the intended order. Space again removes a disk. Check their models, serials and capacities, then press Enter to review. On a basic terminal, enter numbers and specify disk order with spaces or commas, for example 2 1 .
Review the grouped settings. Use ↑/↓ to highlight a setting such as Guest IPv4 subnet , then Enter to edit it. For Timezone , Enter keeps the current zone (initially UTC ). Type Europe/Berlin directly, for Berlin , or enter ? to browse the list. Choose Continue with these settings when ready. At the disk list, use Space to select disks in the intended order. Space again removes a disk. Check their models, serials and capacities, then press Enter to review. On a basic terminal, enter numbers and specify disk order with spaces or commas, for example 2 1 .
Check disk health, mirror pairs for RAID10, the disk boot mode, management addresses and guest routing. Choose Show /etc/network/interfaces for the full configuration. Use Edit settings or Change disks to revise the plan. Compare drive warnings with the individual drive logs. Some controllers cannot report health for their member drives. A blocked plan exits before installation. For a Secure Boot warning, check the firmware and restart rescue after adjusting it.
Check disk health, mirror pairs for RAID10, the disk boot mode, management addresses and guest routing. Choose Show /etc/network/interfaces for the full configuration. Use Edit settings or Change disks to revise the plan. Compare drive warnings with the individual drive logs. Some controllers cannot report health for their member drives. A blocked plan exits before installation. For a Secure Boot warning, check the firmware and restart rescue after adjusting it.
Choose Continue installation when ready. Enter on Cancel exits. Set the root password for the Proxmox VE web UI. The installer prepares any missing native tools, verifies the ISO and asks you to type the displayed ERASE phrase with the selected disk paths. Confirming authorizes overwriting the selected disks. Follow the installation in the serial log under /root/pve-console-*.log .
Choose Continue installation when ready. Enter on Cancel exits. Set the root password for the Proxmox VE web UI. The installer prepares any missing native tools, verifies the ISO and asks you to type the displayed ERASE phrase with the selected disk paths. Confirming authorizes overwriting the selected disks. Follow the installation in the serial log under /root/pve-console-*.log .
When the installer reports success, reboot with systemctl reboot .
When the installer reports success, reboot with systemctl reboot .
Open the web interface from your workstation and sign in as root@pam with the root password you set during installation. Use the address printed by the installer for the Web interface access mode you selected. Direct HTTPS (default). Open . If you filter incoming traffic, allow TCP 8006 from your administration network. Allowlist. Open the same HTTPS address from one of your configured source addresses or networks. You can also connect through the SSH tunnel. SSH tunnel only. On your workstation, replace ~/.ssh/your-private-key with the path to the private key matching the public key you supplied during installation. Leave the tunnel open and browse to . ssh -i ~/.ssh/your-private-key -N -L 127.0.0.1:8006:127.0.0.1:8006 root@SERVER_IP Replace SERVER_IP with the server’s address. Root SSH requires your key in every mode. Rescue and the installed host have different SSH host keys. If SSH reports a change, verify the new fingerprint from the Hetzner KVM console with ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub .
Open the web interface from your workstation and sign in as root@pam with the root password you set during installation. Use the address printed by the installer for the Web interface access mode you selected.
Direct HTTPS (default). Open . If you filter incoming traffic, allow TCP 8006 from your administration network.
Direct HTTPS (default). Open . If you filter incoming traffic, allow TCP 8006 from your administration network.
Allowlist. Open the same HTTPS address from one of your configured source addresses or networks. You can also connect through the SSH tunnel.
Allowlist. Open the same HTTPS address from one of your configured source addresses or networks. You can also connect through the SSH tunnel.
SSH tunnel only. On your workstation, replace ~/.ssh/your-private-key with the path to the private key matching the public key you supplied during installation. Leave the tunnel open and browse to . ssh -i ~/.ssh/your-private-key -N -L 127.0.0.1:8006:127.0.0.1:8006 root@SERVER_IP
SSH tunnel only. On your workstation, replace ~/.ssh/your-private-key with the path to the private key matching the public key you supplied during installation. Leave the tunnel open and browse to .
Replace SERVER_IP with the server’s address. Root SSH requires your key in every mode. Rescue and the installed host have different SSH host keys. If SSH reports a change, verify the new fingerprint from the Hetzner KVM console with ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub .
Scripted installation
Use a pve-install-hetzner answer file to settings across servers. Save this partial example as fleet.toml in rescue and put your workstation’s public SSH key in keys/admin.pub beside it. Relative file paths resolve from the directory containing the TOML file.
Replace the example administration addresses with the public source addresses that the installed server will see from your network or VPN.
Use pve-install-hetzner plan --answer-file fleet.toml for a preview. To keep the reviewed settings for one server, choose a separate output file. On a terminal, enter the missing hostname and choose the disks in order. The guide prompts for missing required values individually, groups optional settings and lets you edit supplied values during review.
Check disk serial numbers, firmware, MAC addresses and routes. plan installs any missing preview tools in the live rescue system and only inspects the server’s disks. Save the answer file in rescue, for example under /root . It contains the reviewed settings and any credential references. Only install reads the root credential. Install from the reviewed file when ready.
The TOML tables group these settings. Omit schema-version or set it to the integer 1 at the top of the file.
Host ( [host] ) holds fqdn , email and timezone .
Access ( [access] ) takes either ssh-public-key or ssh-public-key-file . Use root-password-hash-file or root-password-file for the root credential. Set web and, for the allowlist mode, web-allow-from for web access .
Storage ( [storage] ) takes a layout and an ordered disks array of whole-disk paths. Prefer the stable names under /dev/disk/by-id/ .
Installation ( [installation] ) holds target-firmware , repository and an optional local iso path.
Network ( [network] ) holds uplink-name , guest-subnet and optional guest-ipv6 . In [network.nic-pins] , map each additional port’s quoted MAC address to its installed name. The installer discovers the public addresses, gateways and uplink MAC in rescue.
For an unattended installation, set root-password-hash-file in the existing [access] table to the path of a file containing one Linux crypt hash, such as a SHA-512 crypt or yescrypt hash. Alternatively, set root-password-file to the path of a one-line plaintext password. Keep the credential file readable only by root. Either credential reference accepts "-" for standard input. Passwords and hashes belong in the credential source.
Passing --unattended explicitly authorizes erasure without a terminal prompt for this invocation. Supply a complete node file with the ordered disks and one credential reference.
An unattended installation leaves the machine in rescue until you reboot it.
Both commands install missing Debian packages for SSH key validation and hardware discovery. After review, install adds the tools needed for the selected installation and boot checks. It uses OpenSSL for a plaintext root password. If package setup is interrupted or reaches its 30-minute limit, the active package operation finishes before the installer exits.
In [storage] , set layout and list whole-disk paths in the disks array in the intended order.
All selected disks must have the same logical sector size. For mirrors and RAIDZ, each disk’s capacity must be within 10% of the first disk’s capacity. For RAID10 this tolerance applies within each mirrored pair. The native LVM layouts name their volume group pve . First boot with a second attached volume group named pve has no test coverage. See how to test a storage layout .
Disk firmware and Secure Boot
installation.target-firmware selects the bootloader installed on the target disks. The default is auto . Both plan and install show how rescue started and which boot mode the installed disks require.
For example, if rescue used legacy PXE and you intend to boot the disks with UEFI, set target-firmware = "uefi" in [installation] . Before installing, confirm the server is configured to boot its disks in the selected mode. A BIOS target requires legacy boot support (CSM on UEFI hardware). Some Hetzner models support UEFI only. Hetzner UEFI guide
Keep Secure Boot disabled for a UEFI target. Hetzner documents that enabling it prevents Robot rescue from starting. Use the standard Proxmox boot chain with Secure Boot off. The UEFI installation uses temporary EFI variables and checks the fallback loader at EFI/BOOT/BOOTX64.EFI on each disk. Physical firmware decides whether to list these disks automatically. A Secure Boot deployment would require a verified signed boot chain on each member. Hetzner Secure Boot guidance
If UEFI rescue reports Secure Boot enabled , both commands report a blocked installation and exit unsuccessfully. If EFI variables are unreadable, the plan reports unknown . Legacy BIOS rescue cannot observe the UEFI setting. In either case, check the setting in firmware before booting a UEFI target.
For a BIOS target, the installer checks the MBR bootstrap, the GPT BIOS boot partition and the GRUB configuration on each disk. In both modes it reads the ZFS boot entries back and checks that they select the installed pool’s GUID. For LVM targets it reads the installed filesystem, GRUB configuration, kernel and initramfs directly from the selected disk.
Network and repository settings
In allowlist mode, put at least one numeric IPv4 or IPv6 address or CIDR network in access.web-allow-from . Use the network address for each CIDR. Omit this field in the other modes. The installer sets native pveproxy POLICY=deny and ALLOW_FROM to those sources plus IPv4 and IPv6 loopback. Other connections to the web UI and API are rejected before TLS. SSH stays reachable according to your existing host and Hetzner firewall rules. An SSH tunnel from a host with SSH access can still reach the loopback endpoint.
Use vmbr1 for ordinary guests. Attaching guests to vmbr0 puts their MACs on the provider network and requires the corresponding Hetzner IP/MAC configuration. For host or guest filtering, use the Proxmox firewall. On a remotely managed node, allow your administration source to reach SSH before enabling a default drop policy. Hetzner networking · Proxmox firewall
To use local amd64 installation media, set iso to its path in [installation] . Both commands verify the local file by SHA-256 before preparing the installation media or writing to disks. You can rename the ISO.
The earlier standalone installer was tested with Proxmox VE 8.2-1 in Debian 12 rescue VMs.
The installer translates the reviewed settings into the native Proxmox answer file for the ISO’s serial installer and pre-network first-boot service. The repository also pins the rescue APT signing key. Proxmox automated installation · Official ISO and checksums
Verification and recovery
Run these commands on the installed node in an SSH session ( ssh root@SERVER_IP from your workstation) or in the Proxmox web shell.
On a healthy installation, expect these results.
The firmware check prints BIOS or UEFI to match the selected disk boot mode.
For a ZFS root, zpool status -P rpool shows the selected layout with all intended members ONLINE . Use proxmox-boot-tool status to list the boot partitions and lsblk -o NAME,MODEL,SERIAL,UUID to match them to disks.
For an LVM root, findmnt shows the chosen filesystem on /dev/mapper/pve-root . Run lvs -o vg_name,lv_name,devices to check its backing disk.
ss -lnt shows a wildcard listener on port 8006 for public or allowlisted HTTPS, or 127.0.0.1:8006 for SSH tunnel access. For an allowlist, check that HTTPS works from an allowed source and that another source is rejected.
The installer stopped. Check the error in the rescue terminal. If install printed a serial log path ( /root/pve-console-*.log ), inspect that file before rebooting. A fresh installation overwrites the selected disks. Check the selection again before retrying.
Proxmox booted, but SSH is unreachable. From the Hetzner KVM console, run journalctl -b -u proxmox-first-boot-network-pre -u networking . Compare the MAC address of the pinned uplink ( nic0 by default) and the routes on vmbr0 with the plan.
First boot reports a ZFS root-pool error. The hook writes the network and access settings before it pins the pool GUID for future kernel updates. Inspect journalctl -b -u proxmox-first-boot-network-pre . Once you have corrected the reported cause, run systemctl restart proxmox-first-boot-network-pre.service .
Another OS booted. Use the firmware’s one-time boot to select an installation disk in the planned firmware mode .
The mirror is missing from the boot . Check the firmware mode on the KVM console. For UEFI, confirm Secure Boot is disabled and follow the UEFI boot entry instructions .
To return to rescue, activate it again in Robot and reset the server. Save any rescue logs you need before rebooting. Files in rescue are temporary.
On a server with two pools named rpool , an initramfs error saying more than one matching pool can come from an older disk’s bootloader. At the prompt, uname -r and cat /proc/cmdline show which kernel and root argument actually started. Compare them with the new install’s kernel and numeric pool GUID. In the one-time boot , select each target disk by model and port. Once both boot, put the two target disks first in the firmware’s local disk order and keep Hetzner network boot first overall. On the Fujitsu D3401-H2 the local order is under Boot → Hard Disk Drive BBS Priorities .
If a UEFI-only boot lists network boot but neither installed disk, boot Linux rescue itself in UEFI mode . On the tested D3401-H2, native UEFI network boot used Advanced → Network Stack Configuration → IPv4 PXE Support with the network stack enabled and Launch CSM disabled. Keep Secure Boot disabled. Check /sys/firmware/efi exists in rescue and identify each mirror disk by its serial number. On this installer’s GPT layout, partition 2 on each disk is the EFI System Partition. Inspect existing firmware entries with efibootmgr -v and register each missing disk, using its actual whole-disk path in place of the examples.
Match each entry’s GPT partition UUID against lsblk -o NAME,SERIAL,PARTUUID . Use efibootmgr --bootorder with this server’s entry numbers, ordered with IPv4 PXE first, then both mirror entries. Preserve any other entries you still want available. Use efibootmgr --bootnext with one entry number to test a particular disk for one boot. After reboot, check efibootmgr -v again. On the tested Fujitsu, the firmware grouped the network entries together. bootctl status identifies the EFI partition that loaded systemd-boot. Debian efibootmgr manual
See the contribution guide to report issues or submit changes. To report a vulnerability privately, follow the security policy .
Copyright (c) 2024-2026, foundata GmbH
This project is licensed under the GNU General Public License v3.0 or later (SPDX-License-Identifier: GPL-3.0-or-later ), see LICENSES/GPL-3.0-or-later.txt for the full text.
The REUSE.toml file provides detailed licensing and copyright information in a human- and machine-readable format. This includes parts that may be subject to different licensing or usage terms, such as third-party components. The repository conforms to the REUSE specification . You can use reuse spdx to create an SPDX software bill of materials (SBOM) .
Third-party trademarks used in this repository:
Debian® is a trademark of Software in the Public Interest, Inc., registered in Germany and the United States.
Hetzner® is a trademark of Hetzner Online GmbH, registered in the European Union.
Linux® is a trademark of Linus Torvalds, registered in Germany, the European Union and the United States.
Proxmox® is a trademark of Proxmox Server Solutions GmbH, registered in Germany and the United States.
Their use here is purely descriptive and does not imply any affiliation with or endorsement by the trademark holders.
Own and licensed trademarks used in this repository:
foundata® is a trademark of IPAM GmbH , registered in Germany and the European Union, licensed to foundata GmbH .
This project was created and is maintained by foundata .
proxmox-pve-installer-hetzner is not associated with Proxmox Server Solutions GmbH nor the official Proxmox Virtual Environment (PVE) project.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
