依照官方的 wiki 說明升級程序, 似乎不太困難, 因此將實際的升級程序操作紀錄在底下
apt install tmux # 啟動並命名會話 tmux new -s upgrade # 列出所有會話 tmux ls # 重新連接到會話 tmux attach -t upgrade # 分離會話(保持背景執行) 按 Ctrl+b 然後按 d
apt update apt dist-upgrade pveversion
pve8to9 --full
FAIL: System explicitly configured for legacy hybrid cgroup hierarchy.
NOTE: support for the hybrid cgroup hierarchy is removed in Proxmox VE 9!
要去移除之前的設定可參考 安裝 PVE 7 與移轉 PVE 6 VM/CT 執行紀錄
echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections -v -u然後重新安裝 GRUB 與移除 system-boot
apt install --reinstall grub-efi-amd64 apt remove systemd-boot
sed -i 's/bookworm/trixie/g' /etc/apt/sources.listcat > /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
apt update apt policy
systemctl disable --now systemd-journald-audit.socketapt update apt dist-upgrade
過程會出現以下幾個詢問
apt autoremoveroot@nuc:~# zpool upgrade local-zfs This system supports ZFS pool feature flags. Enabled the following features on 'local-zfs': redaction_list_spill raidz_expansion fast_dedup longname large_microzap