Hi There,
I currently have a 2-node PVE 6 cluster (and 3rd node QDevice), with the 2 nodes operating headless with PVE installed as ZFS on EFI (systemd-boot). If I want to test the new PVE Linux 5.3 kernel on one of the nodes, I understand that I just need to do:
However, if I need to rollback the kernel version, or ideally have the need to manually select the kernel version to be booted at the next reboot, I believe I need to edit the
to change the default boot kernel and then run
to enable, and reboot to the new selected kernel.
On checking,
does not exist on the PVE host, I suspect because of the following line in https://pve.proxmox.com/wiki/Host_Bootloader#sysboot_systemd_boot
"The ESPs are not kept mounted during regular operation, in contrast to grub, which keeps an ESP mounted on /boot/efi. This helps to prevent filesystem corruption to the vfat formatted ESPs in case of a system crash, and removes the need to manually adapt /etc/fstab in case the primary boot device fails."
Therefore, what is the best way to be able to get change the default kernel that is default booted on a headless systemd-boot PVE node?
Thanks!
I currently have a 2-node PVE 6 cluster (and 3rd node QDevice), with the 2 nodes operating headless with PVE installed as ZFS on EFI (systemd-boot). If I want to test the new PVE Linux 5.3 kernel on one of the nodes, I understand that I just need to do:
Code:
apt update && apt install pve-kernel-5.3
pve-efiboot-tool refresh
However, if I need to rollback the kernel version, or ideally have the need to manually select the kernel version to be booted at the next reboot, I believe I need to edit the
Code:
/boot/efi/loader/loader.conf
Code:
pve-efiboot-tool refresh
On checking,
Code:
/boot/efi/loader/loader.conf
"The ESPs are not kept mounted during regular operation, in contrast to grub, which keeps an ESP mounted on /boot/efi. This helps to prevent filesystem corruption to the vfat formatted ESPs in case of a system crash, and removes the need to manually adapt /etc/fstab in case the primary boot device fails."
Therefore, what is the best way to be able to get change the default kernel that is default booted on a headless systemd-boot PVE node?
Thanks!