Upgrade from 8 to 9 - Proxmox VE
更新当前系统到PVE8.4.1X(也就是8的最新版)
apt update
apt dist-upgrade
更新到8.4最新版的pve会有一个 pve8to9
脚本工具,执行该脚本得到是否满足升级必要条件
pve8to9
执行结果不能有红色的fail哦,如果有请根据说明操作,操作完成后再次执行脚本,直到没有fail再进行下一步。
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list.d/pve-enterprise.list
将目录/etc/apt/sources.list.d
下其他配置文件里面的bookworm
修改为 trixie
cat > /etc/apt/sources.list.d/proxmox.sources << EOF
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
cat > /etc/apt/sources.list.d/ceph.sources << EOF
Types: deb
URIs: http://download.proxmox.com/debian/ceph-squid
Suites: trixie
Components: no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
apt update
apt dist-upgrade
更新完成后需要重启才能用9的新内核
升级后遗症
PVE9升级后遗症 - IGPU/sriov/SR-IOV无法使用-XQLEE'Blog
https://blog.xqlee.com/article/pve8to9.html