I want to upgrade my kernel to pve-kernel-6.1.0-1-pve, but I would really like to understand a couple of things before I attempt this.
Understanding Commands
I would like to confirm whether these two commands do the same thing. So far I have only used the first one after following procedures to passthrough my dedicated GPU. Which included enabling iommu, blacklisting drivers, and configuring vfio.
What do I need to do to just install a new kernel without configuring the system to use it.
In the Opt in threads the instructions are:
What commands should I be running.
Testing new Kernel, Permanently Changing to New Kernel
From reading it seems I should be using proxmox-boot-tool kernel after installing the new kernel.
I am not able to determine how the automatically selected kernels make it to the list when running proxmox-boot-tool kernel list. Will my above installed kernel be on the automatic list or will I have to add it manually?
Do I then PIN the new kernel and pass teh --next-boot argument so it's only for the next boot?
How do I make the change permanent?
Do I need to update the /etc/kernel/cmdline file for every kernel, or does it apply to which ever kernel is selected in the bootloader?
Reverting to Previous Kernel
How can I revert to my previous kernel 5.15.85-1-pve if I need to?
What I have tried reading so far
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysboot
https://pve.proxmox.com/wiki/Host_Bootloader#sysboot_determine_bootloader_used
I would like to understand managing the host system kernel rather than throw commands at the command prompt. Hope someone can explain.
Thank you.
- Difference between certain commands
- Installing new kernel
- Testing new Kernel, Permanently Changing to New Kernel
- Reverting to previous version kernel
Understanding Commands
I would like to confirm whether these two commands do the same thing. So far I have only used the first one after following procedures to passthrough my dedicated GPU. Which included enabling iommu, blacklisting drivers, and configuring vfio.
- update-initramfs -u -k all
- proxmox-boot-tool refresh
What do I need to do to just install a new kernel without configuring the system to use it.
In the Opt in threads the instructions are:
- apt update
- apt install pve-kernel-6.1
- reboot
What commands should I be running.
- apt update
- apt install pve-kernel-6.1.0-1-pve
- apt install-pve-headers-6.1.0-1-pve
Testing new Kernel, Permanently Changing to New Kernel
From reading it seems I should be using proxmox-boot-tool kernel after installing the new kernel.
I am not able to determine how the automatically selected kernels make it to the list when running proxmox-boot-tool kernel list. Will my above installed kernel be on the automatic list or will I have to add it manually?
Do I then PIN the new kernel and pass teh --next-boot argument so it's only for the next boot?
How do I make the change permanent?
Do I need to update the /etc/kernel/cmdline file for every kernel, or does it apply to which ever kernel is selected in the bootloader?
Reverting to Previous Kernel
How can I revert to my previous kernel 5.15.85-1-pve if I need to?
What I have tried reading so far
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysboot
https://pve.proxmox.com/wiki/Host_Bootloader#sysboot_determine_bootloader_used
I would like to understand managing the host system kernel rather than throw commands at the command prompt. Hope someone can explain.
Thank you.