After PVE 7.4 upgrade, booting could not find vmlinuz-5.15.131-2-pve

MikeC

Renowned Member
Jan 11, 2016
72
0
71
Bay Area, California
I performed a standard update on my 7.4 proxmox server to get the latest deb11 patches.
I did not see any errors during the upgrade, but after rebooting the box for the new kernel, I got this error:

Booting `Proxmox VE GNU/Linux`
Loading Linux 5.15.131-2-pve...
error: file `vmlinuz-5.15.131-2-pve' not found
Loading initial ramdisk...
error: you need to load the kernel first

From the boot screen I was able to select and boot using the previous kernel (5.15.131-1-pve), even though the new kernel showed up in the list along with the older kernels.
Not sure why it couldn't "find" it.

* apt update does not show anything needing to be installed.
* pveversion shows: pve-manager/7.4-17/513c62be (running kernel: 5.15.126-1-pve)
* All containers started up fine.

How would I fix this problem?
 
Hi,

I performed a standard update on my 7.4 proxmox server to get the latest deb11 patches.
First of, how did you exactly perform the upgrade, e.g. what commands did you use, steps taken etc.?
Second, Proxmox 7.4 (as well as Debian Bullseye) will go EOL this year, so you should consider upgrading to 8.1 soon - just FYI.

How would I fix this problem?
Can you please post the output of pveversion -v and ls -la /boot?
This should help narrowing it down.
 
Hi. Thanks. I did the upgrade through Proxmox's Upgrade link as opposed to apt update.

root@proxmox:/var/log/apt# pveversion -v
proxmox-ve: 7.4-1 (running kernel: 5.15.126-1-pve)
pve-manager: 7.4-17 (running version: 7.4-17/513c62be)
pve-kernel-5.15: 7.4-9
pve-kernel-5.4: 6.4-20
pve-kernel-5.3: 6.1-6
pve-kernel-5.15.131-2-pve: 5.15.131-3
pve-kernel-5.15.126-1-pve: 5.15.126-1
pve-kernel-5.15.83-1-pve: 5.15.83-1
pve-kernel-5.15.64-1-pve: 5.15.64-1
pve-kernel-5.4.203-1-pve: 5.4.203-1
pve-kernel-5.4.178-1-pve: 5.4.178-1
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-4.4.134-1-pve: 4.4.134-112
pve-kernel-4.4.128-1-pve: 4.4.128-111
pve-kernel-4.4.114-1-pve: 4.4.114-108
pve-kernel-4.4.98-6-pve: 4.4.98-107
pve-kernel-4.4.98-5-pve: 4.4.98-105
pve-kernel-4.4.40-1-pve: 4.4.40-82
pve-kernel-4.2.2-1-pve: 4.2.2-16
ceph-fuse: 14.2.21-1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: 0.8.36+pve2
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.4
libproxmox-backup-qemu0: 1.3.1-1
libproxmox-rs-perl: 0.2.1
libpve-access-control: 7.4.1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.4-2
libpve-guest-common-perl: 4.2-4
libpve-http-server-perl: 4.2-3
libpve-rs-perl: 0.7.7
libpve-storage-perl: 7.4-3
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.2-2
lxcfs: 5.0.3-pve1
novnc-pve: 1.4.0-1
proxmox-backup-client: 2.4.4-1
proxmox-backup-file-restore: 2.4.4-1
proxmox-kernel-helper: 7.4-1
proxmox-mail-forward: 0.1.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-offline-mirror-helper: 0.5.2
proxmox-widget-toolkit: 3.7.3
pve-cluster: 7.3-3
pve-container: 4.4-6
pve-docs: 7.4-2
pve-edk2-firmware: 3.20230228-4~bpo11+1
pve-firewall: 4.3-5
pve-firmware: 3.6-6
pve-ha-manager: 3.6.1
pve-i18n: 2.12-1
pve-qemu-kvm: 7.2.0-8
pve-xtermjs: 4.16.0-2
qemu-server: 7.4-4
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+3
vncterm: 1.7-1
zfsutils-linux: 2.1.14-pve1

root@proxmox:/var/log/apt# ls -la /boot
total 690464
drwxr-xr-x 5 root root 63 Jan 22 22:39 .
drwxr-xr-x 25 root root 26 Oct 7 11:50 ..
-rw-r--r-- 1 root root 184504 Oct 5 2015 config-4.2.2-1-pve
-rw-r--r-- 1 root root 190247 Mar 14 2018 config-4.4.114-1-pve
-rw-r--r-- 1 root root 190351 May 23 2018 config-4.4.128-1-pve
-rw-r--r-- 1 root root 190209 Jul 5 2018 config-4.4.134-1-pve
-rw-r--r-- 1 root root 189693 Feb 23 2017 config-4.4.40-1-pve
-rw-r--r-- 1 root root 190176 Jan 18 2018 config-4.4.98-5-pve
-rw-r--r-- 1 root root 190232 Feb 16 2018 config-4.4.98-6-pve
-rw-r--r-- 1 root root 261099 Oct 3 10:24 config-5.15.126-1-pve
-rw-r--r-- 1 root root 261217 Dec 1 05:42 config-5.15.131-2-pve
-rw-r--r-- 1 root root 261134 Oct 13 2022 config-5.15.64-1-pve
-rw-r--r-- 1 root root 261203 Dec 14 2022 config-5.15.83-1-pve
-rw-r--r-- 1 root root 235488 Mar 17 2020 config-5.3.18-3-pve
-rw-r--r-- 1 root root 237284 Mar 30 2022 config-5.4.178-1-pve
-rw-r--r-- 1 root root 237255 Aug 26 2022 config-5.4.203-1-pve
drwxr-xr-x 2 root root 2 Jan 11 2016 efi
drwxr-xr-x 5 root root 8 Jan 22 22:38 grub
-rw-r--r-- 1 root root 25015628 Feb 17 2017 initrd.img-4.2.2-1-pve
-rw-r--r-- 1 root root 27093947 Mar 29 2018 initrd.img-4.4.114-1-pve
-rw-r--r-- 1 root root 27321336 Jun 10 2018 initrd.img-4.4.128-1-pve
-rw-r--r-- 1 root root 27586966 Jul 29 2018 initrd.img-4.4.134-1-pve
-rw-r--r-- 1 root root 26940823 Dec 26 2017 initrd.img-4.4.40-1-pve
-rw-r--r-- 1 root root 26952190 Feb 14 2018 initrd.img-4.4.98-5-pve
-rw-r--r-- 1 root root 27080301 Feb 23 2018 initrd.img-4.4.98-6-pve
-rw-r--r-- 1 root root 56238410 Oct 22 13:28 initrd.img-5.15.126-1-pve
-rw-r--r-- 1 root root 56251999 Jan 22 22:39 initrd.img-5.15.131-2-pve
-rw-r--r-- 1 root root 56174770 Nov 10 2022 initrd.img-5.15.64-1-pve
-rw-r--r-- 1 root root 56194230 Feb 3 2023 initrd.img-5.15.83-1-pve
-rw-r--r-- 1 root root 40868681 May 8 2020 initrd.img-5.3.18-3-pve
-rw-r--r-- 1 root root 47855711 May 28 2022 initrd.img-5.4.178-1-pve
-rw-r--r-- 1 root root 47866224 Nov 10 2022 initrd.img-5.4.203-1-pve
-rw-r--r-- 1 root root 182704 Aug 15 2019 memtest86+.bin
-rw-r--r-- 1 root root 184884 Aug 15 2019 memtest86+_multiboot.bin
drwxr-xr-x 2 root root 12 Jan 22 22:38 pve
-rw-r--r-- 1 root root 3762970 Oct 5 2015 System.map-4.2.2-1-pve
-rw-r--r-- 1 root root 3927779 Mar 14 2018 System.map-4.4.114-1-pve
-rw-r--r-- 1 root root 3933845 May 23 2018 System.map-4.4.128-1-pve
-rw-r--r-- 1 root root 3932780 Jul 5 2018 System.map-4.4.134-1-pve
-rw-r--r-- 1 root root 3906557 Feb 23 2017 System.map-4.4.40-1-pve
-rw-r--r-- 1 root root 3921626 Jan 18 2018 System.map-4.4.98-5-pve
-rw-r--r-- 1 root root 3925659 Feb 16 2018 System.map-4.4.98-6-pve
-rw-r--r-- 1 root root 6107747 Oct 3 10:24 System.map-5.15.126-1-pve
-rw-r--r-- 1 root root 6104964 Dec 1 05:42 System.map-5.15.131-2-pve
-rw-r--r-- 1 root root 6081238 Oct 13 2022 System.map-5.15.64-1-pve
-rw-r--r-- 1 root root 6085308 Dec 14 2022 System.map-5.15.83-1-pve
-rw-r--r-- 1 root root 4755370 Mar 17 2020 System.map-5.3.18-3-pve
-rw-r--r-- 1 root root 4729997 Mar 30 2022 System.map-5.4.178-1-pve
-rw-r--r-- 1 root root 4716551 Aug 26 2022 System.map-5.4.203-1-pve
-rw-r--r-- 1 root root 6778976 Oct 5 2015 vmlinuz-4.2.2-1-pve
-rw-r--r-- 1 root root 7240224 Mar 14 2018 vmlinuz-4.4.114-1-pve
-rw-r--r-- 1 root root 7244496 May 23 2018 vmlinuz-4.4.128-1-pve
-rw-r--r-- 1 root root 7252880 Jul 5 2018 vmlinuz-4.4.134-1-pve
-rw-r--r-- 1 root root 7166224 Feb 23 2017 vmlinuz-4.4.40-1-pve
-rw-r--r-- 1 root root 7203792 Jan 18 2018 vmlinuz-4.4.98-5-pve
-rw-r--r-- 1 root root 7233440 Feb 16 2018 vmlinuz-4.4.98-6-pve
-rw-r--r-- 1 root root 11375968 Oct 3 10:24 vmlinuz-5.15.126-1-pve
-rw-r--r-- 1 root root 11371840 Dec 1 05:42 vmlinuz-5.15.131-2-pve
-rw-r--r-- 1 root root 11306432 Oct 13 2022 vmlinuz-5.15.64-1-pve
-rw-r--r-- 1 root root 11314272 Dec 14 2022 vmlinuz-5.15.83-1-pve
-rw-r--r-- 1 root root 11630976 Mar 17 2020 vmlinuz-5.3.18-3-pve
-rw-r--r-- 1 root root 13494656 Mar 30 2022 vmlinuz-5.4.178-1-pve
-rw-r--r-- 1 root root 13470080 Aug 26 2022 vmlinuz-5.4.203-1-pve
root@proxmox:/var/log/apt#
root@proxmox:/etc/apt/apt.conf.d# cat 01autoremove-kernels
// DO NOT EDIT! File autogenerated by /etc/kernel/postinst.d/apt-auto-removal
APT::LastInstalledKernel "5.15.131-2-pve";
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!