中文 English

Solution to PVE upgrade failure due to insufficient boot space

Published: 2021-01-17
PVE boot pvekclean Proxmox VE kernel

During the default installation, the space allocated by proxmox to /boot is less than 300M. The iteration of proxmox is very fast, and /boot can easily be filled up. If you are not careful, the upgrade will fail. The only way is to manually delete the old kernel.

Delete old kernel

proxmox is based on debian. Every time you use apt update && apt dist-upgrade, debian’s linux-image and pve-kernel will be automatically installed. These two items will occupy the space of /boot, so to make space, delete these two old kernel.

  1. When installing proxmox, manually set the /boot partition to 2G, which will at least keep it clean for a while.

Reference article

uname -mrs
dpkg --list | grep "linux-image"
dpkg --list | grep "pve-kernel"
apt purge linux-image-$old_version