proxmox after trying upgrade 6 to 7 (cannot remove old kernels and cannot boot from new kernel)

general07

New Member
Sep 30, 2022
4
0
1
Dear Folks
i need your lights here
i tried to upgrade dell server from 6.3 to 7 ,just apt-get update && apt-get dist-upgrade -y
after reboot i reliazed that i have a kernel panic (automatically tried to boot to new kernel 5.11.25)
then rebooted and select the previous kernel 5.4.78 and booted correctly.
then try to apt-get autoremove (to clear the old kernels) without luck
i can not even dist-upgrade ,i got the same error by trying to autoremove (see attached)
tried also apt-get install -f ..but no luck ,same error

then try at least to set default working kernel via /etc/default/grub by after update-grub i got
/usr/sbin/grub-probe: error: failed to get canonical path of `rpool/ROOT/pve-1'.
i have been searching through foroum but i am on a dead end
 

Attachments

  • error1.PNG
    error1.PNG
    417 KB · Views: 21
The missing `/usr/share/pve-kernel-helper/scripts/functions` indicates that proxmox-kernel-helper is not installed (correctly) - try installing that one manually and see if the situation improves

additionally kernel 5.11.25 is not current anymore - proxmox 7.2 defaults to kernel 5.15 - so make sure you have your repositories setup correctly

I hope this helps!
 
Experiencing the same error on PMG 7.1-7 in regards to the missing proxmox-kernel-helper script.

For anyone looking in the future:
I was able to solve that error by downloading the packages (proxmox-kernel-helper and it's dependencies) and installing manually with dpkg. The system was then able to process kernel removal.
 
thanks for mentioning this , unfortunately after struggling a few days ,i found it easier to reinstall the proxmox from scratch and restore vzdump backups late night.