Hello guys, today I apt upgraded a server I was not touching since quite a while without realizing that during the process /boot got full and the kernel update could not finish properly.
I don't have physical access to the server, it's rented from a provider which doesn't provide serial console to it.
The only thing I can do is to boot it in rescue mode and the chroot on the proxmox installation.
Apparently I'm not doing it properly, because I am not able to free up the space in /boot and to switch to one of the many old kernels in it.
Until now I was just able to mount the proxmox root partition and the boot partition before chrooting, but, other than accessing the files, I am not able to update the system properly.
Do you guys have any hint on how to restore an older kernel?
Thank you!
I attach the /var/log/apt/term.log that shows what happened during the update:
I don't have physical access to the server, it's rented from a provider which doesn't provide serial console to it.
The only thing I can do is to boot it in rescue mode and the chroot on the proxmox installation.
Apparently I'm not doing it properly, because I am not able to free up the space in /boot and to switch to one of the many old kernels in it.
Until now I was just able to mount the proxmox root partition and the boot partition before chrooting, but, other than accessing the files, I am not able to update the system properly.
Do you guys have any hint on how to restore an older kernel?
Thank you!
I attach the /var/log/apt/term.log that shows what happened during the update:
Code:
Backing up lvm.conf before setting pve-manager specific settings..
'/etc/lvm/lvm.conf' -> '/etc/lvm/lvm.conf.bak' (backup: '/etc/lvm/lvm.conf.bak~')
Setting 'global_filter' in /etc/lvm/lvm.conf to prevent zvols and rbds from being scanned:
global_filter="r|/dev/zd.*|" => global_filter=["r|/dev/zd.*|","r|/dev/rbd.*|"]
LVM configuration valid.
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for ntpsec (1.2.2+dfsg1-1+deb12u1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.2.16-12-pve
zstd: error 70 : Write error : cannot write block : No space left on device
E: mkinitramfs failure zstd -q -9 -T0 70
update-initramfs: failed for /boot/initrd.img-6.2.16-12-pve with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Processing triggers for rsyslog (8.2302.0-1) ...
Processing triggers for pve-ha-manager (4.0.3) ...
Errors were encountered while processing:
proxmox-kernel-6.2.16-20-pve
proxmox-kernel-6.2
proxmox-kernel-6.5.13-1-pve-signed
proxmox-kernel-6.5
proxmox-default-kernel
proxmox-ve
initramfs-tools
Log ended: 2024-03-11 12:19:19