pve6to7 WARN: unexpected running and installed kernel

Aug 26, 2021
2
0
6
Hi,

I'm running a 3 node cluster here. I'm all caught up to 6.4 and was going to update to 7 but ...

When I run pve6to7 on one of the nodes I get a warning message:
Checking running kernel version..
WARN: unexpected running and installed kernel '5.0.15-1-pve'.

A check shows:
root@proxmox-jr:~# pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.0.15-1-pve)
pve-manager: 6.4-13 (running version: 6.4-13/9f411e79)
pve-kernel-5.4: 6.4-5
pve-kernel-helper: 6.4-5
pve-kernel-5.0: 6.0-11
pve-kernel-5.4.128-1-pve: 5.4.128-2
pve-kernel-5.4.73-1-pve: 5.4.73-1
pve-kernel-5.0.21-5-pve: 5.0.21-10
pve-kernel-5.0.15-1-pve: 5.0.15-1

So there are other kernels there - but it seems stuck on the older one. How do I force it to use the new kernel? I thought just using:
apt update
apt install pve-kernel-5.4.128-1-pve
reboot

would have done it ... but nope. What am I missing here?
 
hi,

are you booting the host with UEFI (systemd-boot is selected if you chose ZFS for the rootfs) or GRUB?

maybe it's not updating the boot partition or the ESP correctly.

can you post the output from proxmox-boot-tool status?
 
Here you go:
root@proxmox-jr:~# proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with legacy bios
82EC-C35C is configured with: grub (versions: 5.0.15-1-pve, 5.0.21-5-pve, 5.4.128-1-pve, 5.4.73-1-pve)
root@proxmox-jr:~#

With that said..

It's an older laptop that is part of the cluster, and it is used for testing/trialing CT/VMs - or trying something more disruptive. I did some more digging into this one over the weekend - as it really shouldn't be that hard. Some of the history of this device kind of worked its way back into my mind:

1. When I originally installed Proxmox onto this one (I believe in the 5.x era) - the computer wouldn't boot after I had the Proxmox installation complete. It complained:
BootDevice Not Found
Please install an operating system on your hard disk.
I tried re-installing many times and always ended up in the same place (no errors during install though).

2. I suppose that somehow I figured out that I could get around this by installing grub onto a USB stick. I don't necessarily remember how/why I came to that conclusion - but it did/does work. I think I vaguely remember seeing somebody else with a similar problem get past it with this solution - but I can't find specifically where I saw that, or what exactly I did. I can still get the no boot device error message if I try to boot the PC without the USB installed.

Based on the above, I suppose this may be an unsupported configuration. If so, while not my preference - I could try installing 6.4 "from scratch" to see if it somehow resolves whatever was causing the issue with not booting (and I could try 7 as well) - if I do that, I suppose I should remove the laptop from the cluster first?

And if I still can't get it to work properly, perhaps it's just time to retire the laptop (and replace it with a newer something old).
 

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!