PVE Processor Microcode
Download and install an Intel or AMD CPU microcode package from the Debian archive on a Proxmox VE host.
microcode.sh detects the CPU vendor, lists the microcode packages in Debian's non-free-firmware pool and installs the one you pick.
Website entry: microcode. Source: tools/pve/microcode.sh.
Run
In the Proxmox VE host shell, as root:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/microcode.sh)"The script exits if pveversion is missing ("No PVE Detected!") or on ARM64.
Prompts
| Dialog | Choices | Effect |
|---|---|---|
| "This will check for CPU microcode packages with the option to install. 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. |
The current revision in the title comes from the kernel log (microcode: Current revision:); if no such line exists it reads "Not found."
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. The new microcode is loaded at the next boot, so reboot the host.
Check after the reboot:
journalctl -k | grep -E "microcode" | head -n 1Undo
The script offers none. Run it again and choose an older package from the list, 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. - Run it on the physical host. For Proxmox Backup Server use PBS Processor Microcode.