What is the recommended way of doing this?
An older Kernel can be selected at boot time if
The boot order can be edited as follows (there is no boot menu option to change the boot order)
Another option thanks to @tristank
The non-functional kernel could just be removed
But when I try I get:
For reference
An older Kernel can be selected at boot time if
- A screen and keyboard is connected,
- and and someone is there when the hypervisor boots
The boot order can be edited as follows (there is no boot menu option to change the boot order)
- Finding the EFI partition using
fdisk -l
- Mounting the EFI partition
- Editing
/loader/loader.conf
and/loader/entries/proxmox-x.x.xx-x-pve.conf
- Then using
pve-efiboot-tool refresh
Another option thanks to @tristank
The non-functional kernel could just be removed
Does this still apply? I'm trying to revert back to the prior kernel 5.11.22-7-pveFor permanently switching back: Remove the installedpve-kernel-5.11-....
kernel package withapt remove PKG
, that should remove the meta package too and thus only the in PVE 6.4 still default 5.4 kernel should be available, then reboot.
Bash:
root@pve:~# proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with uefi
920C-3858 is configured with: uefi (versions: 5.11.22-7-pve, 5.13.19-1-pve)
root@pve:~#
But when I try I get:
Bash:
root@pve:~# apt remove pve-kernel-5.13
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
proxmox-ve pve-kernel-5.13
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 38.9 kB disk space will be freed.
Do you want to continue? [Y/n] y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook) touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook) - your APT repository settings
W: (pve-apt-hook) - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
root@pve:~#
For reference
Bash:
root@pve:~# apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://ftp.au.debian.org/debian bullseye InRelease
Hit:3 http://ftp.au.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@pve:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@pve:~#
Last edited: