Proxmox VE 8 升級到 9 的 pve8to9 檢查排除個人筆記 --- > 8.4.1 起才有 pve8to9 工具,用來升級檢查 > 我本來已經是符合了還是更新到最新,測試的時候是8.4.12 官方升級手冊就是要請你跑pve8to9,把檢查項目出警告的排除掉, 本文章分享自己環境遇到的與我的排除方式,不包含完整的升級流程。 執行檢查指令的時候,總有機會有錯誤,個人分享我的環境遇到的錯誤排除 pve8to9 --full 檢查完成的話應該是沒什麼黃色或紅色字樣,最後結果是如下: = SUMMARY = TOTAL: 43 PASSED: 34 SKIPPED: 6 WARNINGS: 0 FAILURES: 0 ### 以下是我遇到的部分與排除解法 ##### 訊息 INFO: Checking if the legacy sysctl file '/etc/sysctl.conf' needs to be migrated to new '/etc/sysctl.d/' path. WARN: Deprecated config '/etc/sysctl.conf' contains settings - move them to a dedicated file in '/etc/sysctl.d/'. 解法: 因為我這環境過去有設置過 swappiness 所以我拿掉就好了。 ##### 訊息 INFO: Checking bootloader configuration... FAIL: systemd-boot meta-package installed. This will cause problems on upgrades of other boot-related packages. Remove 'systemd-boot' See https://pve.proxmox.com/wiki/Upgrade_from_8_to_9#sd-boot-warning for more information. 解法: 我的也算滿都滿預設的,我想這問題比較多人會遇到,就移除掉 system-boot apt remove systemd-boot ##### 訊息 INFO: Checking if matching CPU microcode package is installed. WARN: The matching CPU microcode package 'intel-microcode' could not be found! Consider installing it to receive the latest security and bug fixes for your CPU. Ensure you enable the 'non-free-firmware' component in the apt sources and run: apt install intel-microcode 解法: 基本上按照指令安裝是會失敗的,需要加上兩個更新庫 nano /etc/apt/sources.list deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware 然後再執行安裝 apt update apt install intel-microcode 安裝完再拿掉剛剛加進去的 nano /etc/apt/sources.list