Tools & Add-onsPVE Tools
PBS Processor Microcode
Download and install an Intel or AMD CPU microcode package from the Debian archive on a bare-metal Proxmox Backup Server.
pbs-microcode.sh is the Proxmox Backup Server variant of PVE Processor Microcode. It detects the CPU vendor, lists the microcode packages in Debian's non-free-firmware pool and installs the one you pick.
Website entry: pbs-microcode. Source: tools/pve/pbs-microcode.sh.
Run
In the shell of a bare-metal Proxmox Backup Server, as root:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/pbs-microcode.sh)"Checks
| Check | Result if not met |
|---|---|
systemd-detect-virt returns none | "This script must be run on bare metal", exit 232. A PBS in a VM or container cannot load microcode. |
/etc/proxmox-backup/user.cfg exists | "Proxmox Backup Server not detected!", exit |
Architecture is not arm64 | Exit |
Prompts
| Dialog | Choices | Effect |
|---|---|---|
| "This script searches for CPU microcode packages and offers the option to install them. Proceed?" | Yes / No | The answer is not evaluated; the script continues in both cases. Leave at the next dialog instead. |
| "Select a microcode package to install:" (radio list; the title shows the current revision) | One .deb file | Downloads and installs it. Selecting nothing or Cancel shows "No Microcode Selected" and exits without changes. |
What it does
CPU vendor (lscpu) | Package list from | Extra step |
|---|---|---|
GenuineIntel | https://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/ | Installs iucode-tool with apt-get if missing. |
AuthenticAMD | https://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/ | None. |
| other | "is not supported", exit. |
The chosen amd64.deb is downloaded into the current directory, installed with dpkg -i and deleted. Reboot to load the new microcode, then check:
journalctl -k | grep -E "microcode" | head -n 1Undo
The script offers none. Run it again and choose an older package, or remove the package (intel-microcode or amd64-microcode) with apt and reboot.
Environment variables
| Variable | Default | Purpose |
|---|---|---|
COMMUNITY_SCRIPTS_CORE_URL | https://raw.githubusercontent.com/community-scripts/core/main | Base URL the script loads api/api.func from. |
Limits
- The list shows every package version in the Debian pool, including ones built for other Debian releases than the host's.
- The package is installed with
dpkg -idirectly; APT sources are not changed.